Update development environment configuration and metadata#351
Merged
cary-rowen merged 2 commits intoJan 3, 2026
Conversation
- Replace deprecated `distutils.LooseVersion` with `packaging.Version` - Add `packaging` to requirements - Remove obsolete `pkg_resources.py2_warn` from PyInstaller spec
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.
Link to issue number:
None
Summary of the issue:
The current development environment configuration has several outdated or restrictive settings that cause setup failures for new contributors, particularly on Windows:
invokeversion conflict: The strict pinning ofinvoke==2.2.0causes anOSError: [WinError 5] Access is deniedon Windows when runninginvoke dev. This happens becausepipattempts to uninstall the runninginvoke.exeprocess if a newer version is present in the environment.pywhatlang) and CI workflows require Python 3.11.setup.pylists support for Windows 7 and 8, which are no longer supported by Python 3.11, and misses Windows 11.Description of how this pull request fixes the issue:
This PR updates the build configuration and metadata to reflect the current requirements:
requirements-dev.txt: Relaxed the constraint toinvoke>=2.2.0. This allowspipto skip re-installation if a newer version is detected, preventing the file locking error on Windows.README.md: Updated the required Python version to 3.11 series to match CI and package requirements.setup.py:Programming Languageclassifier to Python 3.11.Windows 7andWindows 8classifiers (incompatible with Python 3.11).Windows 11classifier to reflect current support.Testing performed:
invoke dev.invoke run).Known issues with pull request:
None