Skip to content

Commit f1747ce

Browse files
authored
fix: Fix some poetry blockers which were removed in recent versions (#216)
1 parent 92f6b30 commit f1747ce

File tree

4 files changed

+40
-36
lines changed

4 files changed

+40
-36
lines changed

.github/workflows/basic_test_coverage.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ jobs:
2929

3030
- name: Install dependencies
3131
run: |
32-
python -m pip install coverage black mypy pytest types-pytz types-requests
33-
if [ -f pyproject.toml ]; then poetry config installer.modern-installation false; poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
32+
python -m pip install coverage black mypy pytest types-pytz types-requests
33+
if [ -f pyproject.toml ]; then
34+
poetry install --no-root
35+
fi
3436
- name: Lint with black and static type check with mypy
3537
run: |
3638
# stop the build if there are Python syntax errors or undefined names

.github/workflows/tag_publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install coverage black mypy pytest types-pytz types-requests
31-
if [ -f pyproject.toml ]; then poetry config installer.modern-installation false; poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
31+
if [ -f pyproject.toml ]; then
32+
poetry install --no-root
33+
fi
3234
- name: Lint with black and static type check with mypy
3335
run: |
3436
# stop the build if there are Python syntax errors or undefined names

poetry.lock

+32-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ transformers = "4.38.0"
3939
word2number = "^1.1"
4040
pyyaml-include = "1.4.1"
4141

42-
[tool.poetry.dev-dependencies]
42+
[tool.poetry.group.dev.dependencies]
4343
pytest = "^7.3.1"
4444
pytest-asyncio = "^0.21.0"
4545
pytest-cov = "^2.10.1"

0 commit comments

Comments
 (0)