GeezerVison is showing github.com — chore: add potery build constraints · InjectiveLabs/sdk-python@35ab170
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/pre-commit.yml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,13 +15,13 @@ jobs: |
15 | 15 | with: |
16 | 16 | python-version: '>=3.9 <3.12' |
17 | 17 | - name: Install poetry |
18 | | - run: python -m pip install poetry |
| 18 | + run: python -m pip install "poetry>=2.4,<3" |
19 | 19 | - name: Cache the virtualenv |
20 | 20 | id: cache-venv |
21 | 21 | uses: actions/cache@v4 |
22 | 22 | with: |
23 | 23 | path: ./.venv |
24 | | - key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }} |
| 24 | + key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock', '**/pyproject.toml', '**/poetry.toml') }} |
25 | 25 |
|
26 | 26 | - name: Install dependencies |
27 | 27 | if: steps.cache-venv.outputs.cache-hit != 'true' |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/release.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
14 | 14 | - name: Install Python |
15 | 15 | uses: actions/setup-python@v5 |
16 | 16 | - name: Install poetry |
17 | | - run: python -m pip install poetry |
| 17 | + run: python -m pip install "poetry>=2.4,<3" |
18 | 18 | - name: Publish package |
19 | 19 | env: |
20 | 20 | PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/run-tests.yml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -27,14 +27,14 @@ jobs: |
27 | 27 | run: echo "ARCHFLAGS=-arch arm64" >> $GITHUB_ENV |
28 | 28 |
|
29 | 29 | - name: Install poetry |
30 | | - run: python -m pip install poetry |
| 30 | + run: python -m pip install "poetry>=2.4,<3" |
31 | 31 |
|
32 | 32 | - name: Cache the virtualenv |
33 | 33 | id: cache-venv |
34 | 34 | uses: actions/cache@v4 |
35 | 35 | with: |
36 | 36 | path: ./.venv |
37 | | - key: ${{ runner.os }}-${{ matrix.python }}-venv-${{ hashFiles('**/poetry.lock') }} |
| 37 | + key: ${{ runner.os }}-${{ matrix.python }}-venv-${{ hashFiles('**/poetry.lock', '**/pyproject.toml', '**/poetry.toml') }} |
38 | 38 |
|
39 | 39 | - name: Install dependencies |
40 | 40 | if: steps.cache-venv.outputs.cache-hit != 'true' |
|
Collapse file
Copy file name to clipboardExpand all lines: pyproject.toml +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -20,6 +20,9 @@ include = [ |
20 | 20 | { path = "*.ini" }, |
21 | 21 | ] |
22 | 22 |
|
| 23 | +[tool.poetry.build-constraints] |
| 24 | +coincurve = { scikit-build-core = ">=0.9,<0.10" } |
| 25 | + |
23 | 26 | [tool.poetry.dependencies] |
24 | 27 | python = ">=3.10,<3.15" |
25 | 28 | aiohttp = "^3.9.4" # Version dependency due to https://github.com/InjectiveLabs/sdk-python/security/dependabot/18 |
|