Skip to content

Commit 11ad550

Browse files
committed
[EN-8798] [PythonAPI] Lock the Сython version
1 parent 8eca5c5 commit 11ad550

File tree

5 files changed

+9
-19
lines changed

5 files changed

+9
-19
lines changed

.github/workflows/publishpackage.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,18 @@ jobs:
3131
- name: Set poetry env
3232
run: |
3333
pip install --upgrade pip
34-
pip install taskipy cython toml
3534
poetry install
3635
shell: bash
3736

3837
- name: Create tarball
3938
if: matrix.python-version == 3.7
4039
run: |
41-
poetry run build -f sdist
40+
poetry build -f sdist
4241
shell: bash
4342

4443
- name: Create wheel
4544
run: |
46-
poetry run build -f wheel
45+
poetry build -f wheel
4746
shell: bash
4847

4948
- name: Upload artifacts

.github/workflows/test_on_pr.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ jobs:
2929
- name: Set poetry env
3030
run: |
3131
pip install --upgrade pip
32-
pip install taskipy cython toml
33-
poetry install --only main
34-
task build -f sdist
35-
pip uninstall --yes taskipy cython
32+
poetry install
33+
poetry build -f sdist
3634
shell: bash
3735

3836
- name: Install package artifact
@@ -65,7 +63,6 @@ jobs:
6563
- name: Set poetry env
6664
run: |
6765
pip install --upgrade pip
68-
pip install taskipy cython toml
6966
poetry install
7067
shell: bash
7168

.github/workflows/testdevelop.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ jobs:
3232
- name: Set poetry env
3333
run: |
3434
pip install --upgrade pip
35-
pip install taskipy cython toml
36-
poetry install --only main
37-
task build -f sdist
38-
pip uninstall --yes taskipy cython
35+
poetry install
36+
poetry build -f sdist
3937
shell: bash
4038

4139
- name: Install package artifact
@@ -68,7 +66,6 @@ jobs:
6866
- name: Set poetry env
6967
run: |
7068
pip install --upgrade pip
71-
pip install taskipy cython toml
7269
poetry install
7370
shell: bash
7471

.github/workflows/testpackage.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ jobs:
3333
- name: Set poetry env
3434
run: |
3535
pip install --upgrade pip
36-
pip install taskipy cython toml
37-
poetry install --only main
38-
task build -f sdist
39-
pip uninstall --yes taskipy cython
36+
poetry install
37+
poetry build -f sdist
4038
shell: bash
4139

4240
- name: Install package artifact
@@ -69,7 +67,6 @@ jobs:
6967
- name: Set poetry env
7068
run: |
7169
pip install --upgrade pip
72-
pip install taskipy cython toml
7370
poetry install
7471
shell: bash
7572

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ post_build = 'task clear'
6161
post_test = 'task clear'
6262

6363
[build-system]
64-
requires = ['poetry_core>=1.0.0', 'setuptools>=57.4.0', 'cython', 'toml>=0.10.2']
64+
requires = ['poetry_core>=1.0.0', 'setuptools>=57.4.0', 'cython==0.29.37', 'toml>=0.10.2']
6565
build-backend = 'poetry.core.masonry.api'
6666

6767
[build.native-dependencies]

0 commit comments

Comments
 (0)