update script using uv and removing python 2 dependencies#27
Open
randoneering wants to merge 5 commits intoHuman-Centric-Machine-Learning:masterfrom
Open
update script using uv and removing python 2 dependencies#27randoneering wants to merge 5 commits intoHuman-Centric-Machine-Learning:masterfrom
randoneering wants to merge 5 commits intoHuman-Centric-Machine-Learning:masterfrom
Conversation
update script using uv and removing python 2 dependencies
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-LIBARCHIVEC-6138507 - https://snyk.io/vuln/SNYK-PYTHON-LXML-2940874
…06a2502fd9fe [Snyk] Fix for 2 vulnerabilities
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.
Update to 2025 Data Dump, Removal of Python 2 Compatibility, and Introducing UV
This PR updates the project to work with the September 2025 StackExchange data dump and removes
legacy Python 2 compatibility code. Additionally, we introduce the use of
uvto better handle Python dependencies and managing the project.Changes
Archive URL Update:
https://archive.org/download/stackexchange_20250930/stackexchange_20250930
Database Auto-Creation:
Documentation Updates:
Python 2 Compatibility Removal:
load_into_pg.py
Testing
All Python files pass validation:
Compatibility
Requires Python 3.8+, which matches the existing requires-python = ">=3.8" in pyproject.toml.
Python 2 reached end-of-life in January 2020.
This project has not had a contribution is some time, but I am hoping someone out there still wants to maintain this repo. I was able to take the repo and help me easily import various StackExchange topics into my test server for pgFirstAid. Having some test data will help me validate health checks added to pgFirstAid as it grows. Thanks to all that contributed to this project before me!