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

run tests with python 3.12 #1317

Merged
merged 5 commits into from
Jan 29, 2024
Merged

run tests with python 3.12 #1317

merged 5 commits into from
Jan 29, 2024

Conversation

geier
Copy link
Member

@geier geier commented Nov 3, 2023

No description provided.

@geier
Copy link
Member Author

geier commented Nov 3, 2023

blocked by aio-libs/aiohttp#7639

@geier geier force-pushed the chore/run_python_3.12 branch 3 times, most recently from d5c7d04 to c56675c Compare November 24, 2023 09:51
Comment on lines 20 to 13
pytz20187: pytz==2018.7
pytz_latest: pytz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should remain in deps =:

Suggested change
pytz20187: pytz==2018.7
pytz_latest: pytz
deps =
pytz20187: pytz==2018.7
pytz_latest: pytz

@@ -15,15 +15,10 @@ passenv =
TRAVIS_JOB_NUMBER
TRAVIS_PULL_REQUEST
TRAVIS_REPO_SLUG
deps =
pytest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pytest is missing from project.optional-dependencies.test. This is why CI is failing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. It looks like we still need to define all dependencies in tox.ini or make it run pip install independently. Not sure, which way is worse. For now I optioned for using commands_pre to run pip install .[test].

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you're overriding dependencies, so they need to be in the deps = array (e.g.: these two are not extras).

Fixing this tests work.

freezegun
!py36: vdirsyncer
py36: vdirsyncer==0.16.8
python-dateutil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is also missing, but is not required because it is a non-test dependency already.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(nothing to do on this item, just FYI)

@geier geier enabled auto-merge January 29, 2024 14:40
@geier geier merged commit 9de3d98 into master Jan 29, 2024
7 checks passed
@geier geier deleted the chore/run_python_3.12 branch January 29, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants