Skip to content

Add support for Python 3.16 - #100

Draft
hugovk wants to merge 1 commit into
python:mainfrom
hugovk:add-3.16
Draft

hugovk wants to merge 1 commit into
python:mainfrom
hugovk:add-3.16

Conversation

@hugovk

@hugovk hugovk commented Nov 4, 2026

Copy link
Copy Markdown
Member

Now available via GitHub Actions.

@hugovk

hugovk commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

3.16 alpha 1 fails:

____________________________ test_sortable_datetime ____________________________

    @time_machine.travel('2025-01-07 16:28:41')
    def test_sortable_datetime():
>       assert sortable_datetime() == '2025-01-07-16-28-41'
E       AssertionError: assert '2026-11-04-21-02-41' == '2025-01-07-16-28-41'
E         
E         - 2025-01-07-16-28-41
E         + 2026-11-04-21-02-41

tests/test_blurb_file.py:200: AssertionError
______________________________ test_current_date _______________________________

    @time_machine.travel('2025-01-07')
    def test_current_date():
>       assert current_date() == '2025-01-07'
E       AssertionError: assert '2026-11-04' == '2025-01-07'
E         
E         - 2025-01-07
E         + 2026-11-04

tests/test_release.py:8: AssertionError

@adamchainz Possibly caused by python/cpython#155513 that moved time.gmtime and time.localtime around via Argument Clinic, which messes with time-machine?

Let me know if you'd like a proper bug report :)

This branch has not been deployed

No deployments
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.

1 participant