Repository navigation
build: Upgrade to Python 3.13 - #60
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSfuGekTweNApU3c8FMBaR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSfuGf81zPF23KcUdGhEaF
Since Python 3.11, fromisoformat() accepts fractions of any length and truncates them to microseconds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSfuGf81zPF23KcUdGhEaF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
kingfisher-main now runs collect-generic in a Python 3.13 virtualenv (open-contracting/deploy#683).
.python-versionand the pip-compile hooks'--python-version: 3.10 → 3.13target-version: py310 → py313, and apply its fixes (datetime.UTC)poland.py: remove the Python 3.10 workaround for fractional seconds. Since 3.11,fromisoformat()accepts fractions of any length and truncates them to microseconds. The old and newparse_datetime()return the same values for 17 inputs, including date-only TED dates,Z, and 1- to 9-digit fractions.requirements_dev.txtinstalls on 3.13, andscrapy listloads all 5 spiders. (WithPYTHONWARNINGS=error,scrapy listsegfaults, on 3.10 too.) The requirements files have nopython_versionmarkers, so they don't change.Part of open-contracting/software-development-handbook#153.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QSfuGf81zPF23KcUdGhEaF