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 multiple Python versions #315

Merged
merged 4 commits into from
Dec 28, 2023

Conversation

frej
Copy link
Owner

@frej frej commented Dec 26, 2023

Run the CI tests with both the earliest supported Python version and the latest stable release.

The intent is to quickly notice when new features require adjusting the oldest supported Python version and also detect when the latest stable version breaks old code (as when 3.12 removed imp and we switched to importlib in #311).

@frej frej force-pushed the frej/run-tests-with-different-python-versions branch 3 times, most recently from e353d41 to ec9453e Compare December 26, 2023 15:25
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@frej frej force-pushed the frej/run-tests-with-different-python-versions branch 24 times, most recently from ee4d7ec to e869039 Compare December 27, 2023 12:21
Add `--debug` command line flag which dumps the detected versions of
Mercurial and Python. This will probably help future debugging when
unexpected versions are used.
Due to problems with handling of Unicode input in Python < 3.7, bump
the required version of Python to 3.7.
Check that hg-fast-export is running on a supported version of Python
on startup. This is an attempt to avoid problems like #314 in the
future.
Run the CI tests with both the earliest supported Python version and
the latest stable release.

The intent is to quickly notice when new features require adjusting
the oldest supported Python version and also detect when the latest
stable version breaks old code (as when 3.12 removed `imp` and we
witched to `importlib` in #311).
@frej frej force-pushed the frej/run-tests-with-different-python-versions branch from e869039 to 2476d08 Compare December 28, 2023 12:43
@frej frej merged commit 878ba44 into master Dec 28, 2023
4 checks passed
@frej frej deleted the frej/run-tests-with-different-python-versions branch December 28, 2023 12:48
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.

None yet

1 participant