Skip to content

Commit

Permalink
fix: Fix some poetry blockers which were removed in recent versions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
raina-rudra authored Jan 9, 2025
1 parent 92f6b30 commit f1747ce
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 36 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/basic_test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:

- name: Install dependencies
run: |
python -m pip install coverage black mypy pytest types-pytz types-requests
if [ -f pyproject.toml ]; then poetry config installer.modern-installation false; poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
python -m pip install coverage black mypy pytest types-pytz types-requests
if [ -f pyproject.toml ]; then
poetry install --no-root
fi
- name: Lint with black and static type check with mypy
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tag_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install coverage black mypy pytest types-pytz types-requests
if [ -f pyproject.toml ]; then poetry config installer.modern-installation false; poetry run pip install 'setuptools==57.5.0'; poetry install --no-root; fi
if [ -f pyproject.toml ]; then
poetry install --no-root
fi
- name: Lint with black and static type check with mypy
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
64 changes: 32 additions & 32 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ transformers = "4.38.0"
word2number = "^1.1"
pyyaml-include = "1.4.1"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
pytest-asyncio = "^0.21.0"
pytest-cov = "^2.10.1"
Expand Down

0 comments on commit f1747ce

Please sign in to comment.