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

Fix test failures in CI #98

Merged
merged 4 commits into from
Jul 23, 2024
Merged

Fix test failures in CI #98

merged 4 commits into from
Jul 23, 2024

Conversation

WhyNotHugo
Copy link
Collaborator

@WhyNotHugo WhyNotHugo commented Jul 22, 2024

See individual commit descriptions.

@WhyNotHugo WhyNotHugo changed the title ci: force tox to use current python Fix test failures in CI Jul 22, 2024
Previously, tox would attempt to run all pre-defined versions of Python
and ignore the system-wide python. Given that each CI job has a single,
explicitly specified, Python version installed use that version.
The implementation for `get_username` only tried some environment
variables which are undefined in our CI environment.
Fixes authentication tests for Python >= 3.12.

See: #95
Both of 3.6 and 3.7 are deprecated, and the former is no longer
available in GH Actions.
@WhyNotHugo
Copy link
Collaborator Author

This brings CI to a green state (without including any new Python versions).

@cocagne: unless you have any comments on this, I'll go ahead and merge it before starting work on newer versions of Python.

@cocagne
Copy link
Owner

cocagne commented Jul 23, 2024 via email

@WhyNotHugo WhyNotHugo merged commit 32c8ada into master Jul 23, 2024
2 checks passed
@WhyNotHugo WhyNotHugo deleted the ci branch July 23, 2024 08:59
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