Repository navigation
Update project environment and dependencies to Python 3.12 - #314
Open
Priyankm23 wants to merge 1 commit into
Open
Priyankm23 wants to merge 1 commit into
Priyankm23 wants to merge 1 commit into
Conversation
Priyankm23
requested review from
TimidRobot and
possumbilities
and removed request for
a team
October 17, 2026 14:32
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.
Fixes
Description
This PR addresses #214 by updating the project Python environment and dependencies to Python 3.12.
Python 3.12 is targeted instead of 3.13 because all project dependencies (
pandas,matplotlib,lxml,protobuf,google-api-python-client) have stable pre-built wheels, it matches Ubuntu 24.04 LTS defaults, and it adds the PEP 695 typing syntax needed for static typing in #212.Technical details
Pipfileto require Python 3.12.Pipfile.lockto lock SHA-256 package hashes and markers for Python 3.12 wheels..pre-commit-config.yamldefault language version topython3.12.static_analysis.yml,test_scripts_help.yml,1-fetch.yml,2-process.yml.disabled,3-report.yml.disabled) to use Python 3.12.Tests
Tested locally on Ubuntu 24.04 (WSL) with Python 3.12.3 and Pipenv 2026.9.1:
./dev/test_scripts_help.sh— all 14 scripts passed (exit code 0).flake8,isort --check-only .,black --check ., andgit diff --check(0 errors).scripts/3-report/zzz-notes.py --quarter 2026Q3andscripts/2-process/wikipedia_process.py --quarter 2026Q3(both completed cleanly).Click to view test logs
Checklist
Update index.md).mainormaster).Developer Certificate of Origin
For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."
Developer Certificate of Origin