« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 1056 ms

Test Python 3.13 regularly on Ubuntu and macOS on CI by EliahKagan · Pull Request #1990 · gitpython-developers/GitPython

Source: https://github.com/gitpython-developers/GitPython/pull/1990

Repository navigation

Test Python 3.13 regularly on Ubuntu and macOS on CI - #1990


Merged
Byron merged 1 commit into gitpython-developers:main from EliahKagan:py313-unix Jan 5, 2025
Merged

Test Python 3.13 regularly on Ubuntu and macOS on CI #1990 Byron merged 1 commit into gitpython-developers:main from EliahKagan:py313-unix

Conversation

EliahKagan commented Jan 5, 2025



Copy link Copy Markdown
Member

This enables testing Python 3.13 in the main CI test workflow for Ubuntu and macOS, as discussed in comments in #1989 , but not Windows yet (pending #1955 ).

I think it makes sense to test these on CI, because:

  • They're working now, and if they stop working, we would want to know.
  • While Python 3.13 shouldn't be added as a classifier in setup.py yet since it's not fully working on Windows, testing other platforms on CI makes it easier for users to know they are meant (and believed) to work.
  • The Ubuntu and macOS job are fast, so this probably isn't adding too much load, delay, energy usage, etc.
Test Python 3.13 on Ubuntu and macOS on CI 85d72ef
But not Windows yet (gitpython-developers#1955).
EliahKagan mentioned this pull request Jan 5, 2025 Do some CI cleanup to make reports clearer and future changes easier #1989 Merged Byron enabled auto-merge January 5, 2025 07:53

Byron commented Jan 5, 2025



Copy link Copy Markdown
Member

Thanks a lot!

EliahKagan commented Jan 5, 2025



Copy link Copy Markdown
Member

Author

No problem! It looks like this may have been meant to be merged. If so, auto-merge is still waiting on a review. (After it is merged, I'll rebase #1955 again.)

Byron approved these changes Jan 5, 2025
View reviewed changes
Byron merged commit 405b029 into gitpython-developers : main Jan 5, 2025

Byron commented Jan 5, 2025



Copy link Copy Markdown
Member

Thanks for the reminder! Apparently merges only happen after approval. However, I noticed that once approved, they can be merged even while CI is running. Probably because main isn't protected.

EliahKagan deleted the py313-unix branch January 7, 2025 04:09

EliahKagan commented Jan 7, 2025



Copy link Copy Markdown
Member

Author

It sounds like protecting main may be the way to go, so that approvals can be made either before or after CI finishes, without risk of inadvertently merging something that fails the tests. Is there any reason not to do that? Are there any changes to the workflows themselves that should be made to go along with or support it?

Byron commented Jan 7, 2025



Copy link Copy Markdown
Member

I took at look and it seems like main is already protected, and as requirement for merging, an approval is set. What's also enabled is the need for checks to pass, but thanks to the worst UX, the checkbox does nothing. Instead, one has to pick each and every job individually, without a way to pick all at once.

This is where it stopped, again, and it's kind of where the famous auto-merge tends to stop for me 😅.

EliahKagan commented Jan 11, 2025



Copy link Copy Markdown
Member

Author

If I understand correctly, this is more manageable in gitoxide due to GitoxideLabs/gitoxide@ 943350a (GitoxideLabs/gitoxide#1551 ), plus the refinement in GitoxideLabs/gitoxide@ 4e672ef (GitoxideLabs/gitoxide#1668 ). Sometime soon, I can look into making a PR here with something like that.

EliahKagan mentioned this pull request Feb 20, 2025 Should test with free-threaded interpreter on CI #2005 Closed EliahKagan added a commit to EliahKagan/GitPython that referenced this pull request Mar 9, 2026 Test Python 3.14 on Ubuntu and macOS on CI f3ee417
The status of 3.14 is now effectively the same as the status of
3.13 when we started testing it in gitpython-developers#1990.

This doesn't enable it on Windows yet, for the same reason that we
still have not yet enabled regular CI tests of 3.13 on Windows. It
is hoped that 3.13 and 3.14 can be gotten fully working on Windows
(rather than just mostly working, we think) soon; these exclusions
are meant to be temporary.

Both the usual GIL interpreter and the free-threaded (nogil)
intepreters are tested. See the immediately preceding commit on the
tradeoffs involved in doing so.
EliahKagan added a commit to EliahKagan/GitPython that referenced this pull request Mar 9, 2026 Test Python 3.14 on Ubuntu and macOS on CI cf07aaa
The status of 3.14 is now effectively the same as the status of
3.13 when we started testing it in gitpython-developers#1990.

This doesn't enable it on Windows yet, for the same reason that we
still have not yet enabled regular CI tests of 3.13 on Windows. It
is hoped that 3.13 and 3.14 can be gotten fully working on Windows
(rather than just mostly working, we think) soon; these exclusions
are meant to be temporary.

Both the usual GIL interpreter and the free-threaded (nogil)
intepreters are tested. See the immediately preceding commit on the
tradeoffs involved in doing so.
EliahKagan added a commit to EliahKagan/GitPython that referenced this pull request Mar 9, 2026 Test Python 3.14 on Ubuntu and macOS on CI 53c0a88
The status of 3.14 is now effectively the same as the status of
3.13 when we started testing it in gitpython-developers#1990.

This doesn't enable it on Windows yet, for the same reason that we
still have not yet enabled regular CI tests of 3.13 on Windows. It
is hoped that 3.13 and 3.14 can be gotten fully working on Windows
(rather than just mostly working, we think) soon; these exclusions
are meant to be temporary.

Both the usual GIL interpreter and the free-threaded (nogil)
intepreters are tested. See the immediately preceding commit on the
tradeoffs involved in doing so.
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants