Modernize Parliament#258
Open
blarghmatey wants to merge 5 commits intoduo-labs:mainfrom
Open
Conversation
…pport - Replace deprecated pkg_resources with importlib.resources.files() - Update Python version support to 3.10-3.14 (drop 3.6-3.9) - Update .travis.yml test matrix to Python 3.10-3.14 - Add python_requires constraint: >=3.10,<3.15 - Use proper context managers for resource file handling This migration ensures compatibility with Python 3.13+ where pkg_resources is no longer available. The importlib.resources API is the modern, maintained replacement introduced in Python 3.9 and stable in 3.10+.
Contributor
|
I'd like to be wrong, but I think this project has been abandoned. See the lack of attention in #247 It's great that you've put in the work to update the project for modern Python, but it might need a fork. I haven't used Parliament for a long time but I remain subscribed to its PRs. The next time I need it, I'd like to know that it still works! |
Author
|
I agree that this project seems to have been abandoned, in which case I will continue to maintain my fork as I use this fairly heavily in https://github.com/mitodl/ol-infrastructure/. This is my good faith attempt to contribute back to the project, but in the meantime I am using my fork installed from git. |
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.
This udpates the Parliament repository to support Python 3.10 through 3.14, as well as moving to use uv and hatch for build/publish, and replacing use of nose with pytest. This also updates the IAM policy JSON with the latest as of 2025-10-11