Skip to content

Commit 871d63d

Browse files
committed
fix: pin Python to 3.12
As of Ubuntu 24.04 LTS, the default version of Python is 3.12. Whereas, Ubuntu 22.04 LTS used Python 3.10, which is reaching End-of-Life next week. Apparently, I already had created a .python-version file locally, but it was gitignored without my knowledge. This should helps us control upgrades to Python version while some dependencies, namely `pygit2`, need extra time to add support for the new Python versions. It also helps avoid disruption for users that are not aware of our use of a Python venv.
1 parent b6b607e commit 871d63d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ target/
9191
profile_default/
9292
ipython_config.py
9393

94-
# pyenv
95-
.python-version
96-
9794
# pipenv
9895
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
9996
# However, in case of collaboration, if having platform-specific dependencies or dependencies

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

0 commit comments

Comments
 (0)