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

Add support for Python 3.13 #114

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

edgarrmondragon
Copy link
Contributor

@edgarrmondragon edgarrmondragon commented Oct 9, 2024

Python 3.13 is out, so it'd be nice if the next release of gitdb to PyPI included it in its metadata.

Though you might wanna wait for gitpython-developers/GitPython#1955?

https://pyreadiness.org/3.13/

@edgarrmondragon edgarrmondragon marked this pull request as ready for review October 9, 2024 07:02
@edgarrmondragon edgarrmondragon force-pushed the cp313 branch 2 times, most recently from b5ca26c to d5327e9 Compare October 9, 2024 07:07
@Byron
Copy link
Member

Byron commented Oct 9, 2024

Thanks for contributing, and for the hint.
I think it's fine to merge this PR now as GitDB isn't the cause of the incompatibilities in gitpython-developers/GitPython#1955 . And even if it is, a release isn't planned to happen anytime soon.

@Byron Byron merged commit a8c894f into gitpython-developers:master Oct 9, 2024
7 checks passed
@edgarrmondragon edgarrmondragon deleted the cp313 branch October 9, 2024 07:27
EliahKagan added a commit to EliahKagan/smmap that referenced this pull request Jan 2, 2025
This is analogous to the gitdb test workflow and `setup.py` were
updated inhttps://github.com/gitpython-developers/gitdb/pull/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/smmap that referenced this pull request Jan 2, 2025
This is analogous to the gitdb test workflow and `setup.py` were
updated 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/smmap that referenced this pull request Jan 2, 2025
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.)
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