Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test astroid 3.13 support #116

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13-dev"]
outputs:
python-key: ${{ steps.generate-python-key.outputs.key }}
steps:
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13-dev"]
steps:
- name: Set temp directory
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ dependencies = [
"dill>=0.3.7;python_version>='3.12'",
"platformdirs>=2.2.0",
# Also upgrade requirements_test_min.txt.
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
# see https://github.com/pylint-dev/astroid/issues/1341
"astroid>=3.2.2,<=3.3.0-dev0",
# Test 3.13 upgrade
"astroid @ git+https://github.com/pylint-dev/astroid.git@bdb75681adf0ee7e129f976baa4e4ed89aa61041",
"isort>=4.2.5,<6,!=5.13.0",
"mccabe>=0.6,<0.8",
"tomli>=1.1.0;python_version<'3.11'",
Expand Down
1 change: 0 additions & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ coverage~=7.5
tbump~=6.11.0
contributors-txt>=1.0.0
pytest-cov~=5.0
pytest-profiling~=1.7
pytest-xdist~=3.6
six
# Type packages for mypy
Expand Down
3 changes: 2 additions & 1 deletion requirements_test_min.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.[testutils,spelling]
# astroid dependency is also defined in pyproject.toml
astroid==3.2.2 # Pinned to a specific version for tests
# test 3.13 upgrade
astroid @ git+https://github.com/pylint-dev/astroid.git@bdb75681adf0ee7e129f976baa4e4ed89aa61041
typing-extensions~=4.12
py~=1.11.0
pytest~=8.2
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ commands =

[testenv:profile_against_external]
setenv =
PYTEST_PROFILE_EXTERNAL = 1
PYTEST_PROFILE_EXTERNAL = 0
deps =
-r {toxinidir}/requirements_test.txt
gprof2dot
Expand Down