Skip to content

Add support for Python 3.13 and 3.14#27

Open
hugovk wants to merge 9 commits into
albertas:mainfrom
hugovk:add-3.13
Open

Add support for Python 3.13 and 3.14#27
hugovk wants to merge 9 commits into
albertas:mainfrom
hugovk:add-3.13

Conversation

@hugovk

@hugovk hugovk commented Nov 25, 2024

Copy link
Copy Markdown

Fixes #37.

Also test all the supported versions on the CI, and bump requirements-dev.txt to fix the cryptography audit failure, and only install tomli for Python 3.10.

Also upgrade Python syntax with https://github.com/asottile/pyupgrade --py310-plus.

@hugovk hugovk changed the title Add support for Python 3.13 Add support for Python 3.13 and 3.14 Nov 5, 2025
@hugovk

hugovk commented Nov 5, 2025

Copy link
Copy Markdown
Author

@albertas I've updated this to add support for Python 3.14, which requires replacing use of ast.Str that was removed in 3.14.

@Bouni

Bouni commented Jan 23, 2026

Copy link
Copy Markdown

@albertas please merge this PR

@andrewfowlie

Copy link
Copy Markdown

This would great. It's a nice tool but I've just ran into this issue.

@hugovk

hugovk commented Apr 27, 2026

Copy link
Copy Markdown
Author

It's unfortunate that deadcode is itself now deadcode 🙃

I recommend https://github.com/jendrikseipp/vulture instead, which has similar functionality.

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.

Python 3.14: AttributeError: module 'ast' has no attribute 'Str'

3 participants