Skip to content

Commit

Permalink
CI: manually upgrade typing-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
samuller committed Feb 8, 2025
1 parent a7cece1 commit 112cbd9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.5.1 python -
- name: Install dependencies
run: poetry install
# Our depdencies don't currently support Python 3.13+ unless this is done - see comments in pyproject.toml
- name: Python 3.13+ workaround
run: pip install typing-extensions --upgrade
- name: Check for linting issues
run: ./run.sh lint
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

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

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ psycopg2-binary = "*"
# 2.6 only supports Python 3.7+ and 2.5.1 uses older "decorator" lib
networkx = "2.5"
SQLAlchemy = "2.0.30"
# typing-extensions is imported by SQLAlchemy (and most dev dependencies):
# - Breaks on Python 3.13 if we don't use v4.12.0+
# See: https://github.com/python/typing_extensions/issues/405
# - But v4.7.1 was the last version to support Python 3.7 (the rest are Python 3.8+)
# typing-extensions = "4.12.*"
# 4.1.0 and above only supports Python 3.8+
platformdirs = "4.0.0"
PyYAML = "6.0.1"
Expand Down

0 comments on commit 112cbd9

Please sign in to comment.