Skip to content

Python 3.13 upgrade attempt#199

Draft
jessemortenson wants to merge 2 commits into
mainfrom
python313-upgrade
Draft

Python 3.13 upgrade attempt#199
jessemortenson wants to merge 2 commits into
mainfrom
python313-upgrade

Conversation

@jessemortenson

@jessemortenson jessemortenson commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Python 3.9 is past end-of-life, so I finally got around to trying to upgrade. Targeted 3.13 since it's been out for over a year. Corresponding PR will be up in openstates-scrapers momentarily. Will move to other repos that depend on os-core after success with that.

@showerst any special process you'd like around merging these in? And of course, happy for any additional testing you want to provide.

So far I've tested a handful of os-core CLI commands, as well as a handful of scrapes (via openstates-scrapers with this version of os-core installed via --editable)

I am still getting a warning out of requests that I haven't solved yet:

/home/jesse/.cache/pypoetry/virtualenvs/openstates-JXIw9pZG-py3.13/lib/python3.13/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.7.0) or chardet (7.4.3)/charset_normalizer (3.4.1) doesn't match a supported version!

also looks like some lint workflow bugs to iron out

@jessemortenson jessemortenson marked this pull request as draft June 25, 2026 05:04
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