File tree Expand file tree Collapse file tree 5 files changed +20
-28
lines changed Expand file tree Collapse file tree 5 files changed +20
-28
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ jobs:
1212 with :
1313 python-version : ' 3.12'
1414
15+ # Install all dependencies from pyproject.toml
1516 - name : Install dependencies
1617 run : |
1718 python -m pip install --upgrade pip
18- pip install requests
19+ pip install -e .
1920
2021 - name : Set preview version
2122 run : |
Original file line number Diff line number Diff line change 1313 with :
1414 python-version : ' 3.12'
1515
16+ # Install all dependencies from pyproject.toml
17+ - name : Install dependencies
18+ run : |
19+ python -m pip install --upgrade pip
20+ pip install -e .
21+
1622 - name : Get Version
1723 id : version
1824 run : |
Original file line number Diff line number Diff line change 8585 owner: owner,
8686 repo: repo,
8787 comment_id: versionComment.id,
88- body: `❌ **Version Check Failed**\n\nPlease increment... `
88+ body: `❌ **Version Check Failed**\n\nPlease increment the version. Current version in main: ${process.env.MAIN_VERSION}, PR version: ${process.env.PR_VERSION} `
8989 });
9090 }
9191 } else if (!success) {
9494 owner: owner,
9595 repo: repo,
9696 issue_number: prNumber,
97- body: `❌ **Version Check Failed**\n\nPlease increment... `
97+ body: `❌ **Version Check Failed**\n\nPlease increment the version. Current version in main: ${process.env.MAIN_VERSION}, PR version: ${process.env.PR_VERSION} `
9898 });
9999 }
Original file line number Diff line number Diff line change 11[build-system ]
22requires = [
3- " setuptools >= 61.0" ,
4- " requests"
3+ " setuptools >= 61.0"
54]
65build-backend = " setuptools.build_meta"
76
@@ -38,34 +37,20 @@ classifiers = [
3837[project .optional-dependencies ]
3938dev = [
4039 " ruff>=0.3.0" ,
41- " twine" ,
42- " wheel" ,
43- " build" ,
40+ " twine>=4.0.0" ,
41+ " wheel>=0.40.0" ,
42+ " build>=1.0.0"
43+ ]
44+ test = [
45+ " pytest>=7.0.0" ,
46+ " pytest-cov>=4.0.0"
4447]
4548
4649[project .urls ]
4750Homepage = " https://github.com/socketdev/socket-sdk-python"
4851
4952[tool .setuptools .packages .find ]
50- include = [
51- " socketdev" ,
52- " socketdev.core" ,
53- " socketdev.dependencies" ,
54- " socketdev.export" ,
55- " socketdev.fullscans" ,
56- " socketdev.npm" ,
57- " socketdev.openapi" ,
58- " socketdev.org" ,
59- " socketdev.purl" ,
60- " socketdev.quota" ,
61- " socketdev.report" ,
62- " socketdev.repos" ,
63- " socketdev.repositories" ,
64- " socketdev.sbom" ,
65- " socketdev.settings" ,
66- " socketdev.tools" ,
67- " socketdev.utils" ,
68- ]
53+ include = [" socketdev" , " socketdev.*" ]
6954
7055[tool .setuptools .dynamic ]
7156version = {attr = " socketdev.version.__version__" }
Original file line number Diff line number Diff line change 1- __version__ = "2.0.0 "
1+ __version__ = "2.0.1 "
You can’t perform that action at this time.
0 commit comments