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 Python 3.7 on Ubuntu 22.04, and add Ubuntu 3.13 #58

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

EliahKagan
Copy link
Contributor

This is analogous to the gitdb test workflow and setup.py updates in gitpython-developers/gitdb#114.

  1. Testing 3.7 on 22.04 rather than 24.04 should fix the problem where it fails because Python 3.7 is not available.
  2. Adding Ubuntu 3.13 to CI may help reveal if there are 3.13-specific problems with smmap.
  3. smmap seems to be working on Python 3.13 (which is a stable Python release) and there are no specific expected problems with it, so this adds it to the list of supported releases.

In particular, this change, due to (1), fixes the current CI failure for smmap observed in f31bfa3.


It looks like changes along the lines of (1), in addition to some other changes, will need to be made in GitPython in order to fix some recent breakages in its CI.

This relates to the CI breakages noted in the comment posted on gitpython-developers/GitPython@e51bf80.

This is analogous to the gitdb test workflow and `setup.py` updates
in gitpython-developers/gitdb#114.

1. Testing 3.7 on 22.04 rather than 24.04 should fix the problem
   where it fails because Python 3.7 is not available.

2. Adding Ubuntu 3.13 to CI may help reveal if there are
   3.13-specific problems with smmap.

3. smmap seems to be working on Python 3.13 (which is a stable
   Python release) and there are no specific expected problems with
   it, so this adds it to the list of supported releases.

In particular, this change, due to (1), fixes the current CI
failure for smmap observed in f31bfa3.
EliahKagan added a commit to EliahKagan/GitPython that referenced this pull request Jan 2, 2025
This is analogous to the 3.7-related CI change in gitdb that was
part of gitpython-developers/gitdb#114, as
to part of gitpython-developers/smmap#58.

Since some tests are not yet passing on 3.13, this does not add
3.13 to CI, nor to the documentation of supported versions in
`setup.py`. Note that the list there is not enforced; GitPython can
already be installed on Python 3.13 and probably *mostly* works.

(See gitpython-developers#1955
for details on other changes that should be made to fully support
running GitPython on Python 3.13.)
Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your help with this!

I will see to applying similar changes to GitPython as well.

@Byron Byron merged commit 8d0e0bd into gitpython-developers:master Jan 2, 2025
7 checks passed
@EliahKagan
Copy link
Contributor Author

I will see to applying similar changes to GitPython as well.

I'll open a PR in GitPython shortly.

@EliahKagan EliahKagan deleted the versions branch January 2, 2025 11:41
@Byron
Copy link
Member

Byron commented Jan 2, 2025

Ah, great, much appreciated. I just took a quick look and it's different enough to make it far less trivial than I had hoped 😅.

@EliahKagan
Copy link
Contributor Author

EliahKagan commented Jan 2, 2025

No problem! I've just opened gitpython-developers/GitPython#1987 for this.

Edit: Fixed link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants