Skip to content

Commit 56afe35

Browse files
SK-2872: clean up and pin SDK production dependencies
- Remove 5 unused/misclassified deps: python_dateutil, setuptools, urllib3, DateTime, coverage - Fix broken PyJWT constraint (>=2.12 never existed; downgrade to >=2.8) - Pin previously unpinned deps: cryptography >=44.0.2, httpx >=0.28.1 - Bump minimums to current stable: pydantic >=2.13.4, typing-extensions >=4.13.2, requests ~=2.32.4, python-dotenv >=1.1.0,<2 - Pin dev deps: codespell >=2.4.1, ruff >=0.9.0 - Fix main.yml: add secrets: inherit so VALID_SKYFLOW_CREDS_TEST is available when shared-tests.yml runs on post-merge pushes - Mirror all install_requires changes in requirements.txt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 60849f9 commit 56afe35

3 files changed

Lines changed: 17 additions & 26 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ jobs:
1010
uses: ./.github/workflows/shared-tests.yml
1111
with:
1212
python-version: '3.9'
13+
secrets: inherit

requirements.txt

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
python_dateutil >= 2.5.3
2-
setuptools >= 75.3.3
3-
urllib3 >= 1.25.3, < 3
4-
pydantic >= 2
5-
typing-extensions >= 4.7.1
6-
DateTime~=5.5
7-
PyJWT>=2.12,<3
8-
requests~=2.32.3
9-
coverage
10-
cryptography
11-
python-dotenv>=1.0,<2
12-
httpx
1+
pydantic >= 2.13.4
2+
typing-extensions >= 4.13.2
3+
PyJWT >= 2.8, < 3
4+
requests ~= 2.32.4
5+
cryptography >= 44.0.2
6+
httpx >= 0.28.1
7+
python-dotenv >= 1.1.0, < 2

setup.py

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,18 @@
2929
long_description=long_description,
3030
long_description_content_type='text/markdown',
3131
install_requires=[
32-
'python_dateutil >= 2.5.3',
33-
'setuptools >= 75.3.3',
34-
'urllib3 >= 1.25.3, < 3',
35-
'pydantic >= 2',
36-
'typing-extensions >= 4.7.1',
37-
'DateTime~=5.5',
38-
'PyJWT >= 2.12, < 3',
39-
'requests~=2.32.3',
40-
'coverage',
41-
'cryptography',
42-
'python-dotenv >= 1.0, < 2',
43-
'httpx'
32+
'pydantic >= 2.13.4',
33+
'typing-extensions >= 4.13.2',
34+
'PyJWT >= 2.8, < 3',
35+
'requests ~= 2.32.4',
36+
'cryptography >= 44.0.2',
37+
'httpx >= 0.28.1',
38+
'python-dotenv >= 1.1.0, < 2',
4439
],
4540
extras_require={
4641
'dev': [
47-
'codespell',
48-
'ruff'
42+
'codespell >= 2.4.1',
43+
'ruff >= 0.9.0',
4944
]
5045
},
5146
python_requires=">=3.9",

0 commit comments

Comments
 (0)