Skip to content

Conversation

tdenewiler
Copy link

No description provided.

@tdenewiler
Copy link
Author

This is required for Python 3.14. The untokenize package used by docformatter has not received any new commits in 6 years.

Tested with

docker run -it python:3.14 bash
cd /tmp/
git clone https://github.com/tdenewiler/docformatter.git
cd docformatter
git checkout untokenize-std-lib
pip install tox
tox -e py314

All tests are passing. If you stay on master branch and do not checkout the new branch then those same tests fail.

@tdenewiler
Copy link
Author

I ran the tox tests on Python 3.10, 3.11, 3.12, 3.13, and 3.14.

@adamtheturtle
Copy link

The key insight here is that untokenize isn't even used. It is an unnecessary dependency.

FWIW I recommend using deptry to find unused dependencies.

@jonathan343
Copy link

+1 for removing this unused dependency

@adamtheturtle
Copy link

@weibullguy Hopefully this is a very clear "merge", and a release to fix 3.14 would be welcome

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.

3 participants