Skip to content

Commit 58538fb

Browse files
committed
upgrade to python 3.9
It's no longer slow to install the package with the latest python version (3.12) after upgrading the package to python 3.9. This upgrade also enables the use of quartodoc to generate the API doc.
1 parent e212a9b commit 58538fb

File tree

5 files changed

+12
-21
lines changed

5 files changed

+12
-21
lines changed

docs/manual/install.qmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ distribution. `python` and `pip` is used below, but they may also be called
1111

1212
## System dependencies
1313

14-
- Python >= 3.8 (see @sec-python)
14+
- Python >= 3.9 (see @sec-python)
1515
- SQLite 3 (see @sec-sqlite)
1616

1717
## Package
@@ -40,12 +40,12 @@ section.
4040
cd odm-sharing
4141
```
4242

43-
2. if python != 3.8, then install pyenv and setup repo to run python 3.8
43+
2. if python != 3.9, then install pyenv and setup repo to run python 3.9
4444

4545
```bash
4646
sudo apt-get install pyenv
47-
pyenv install 3.8
48-
pyenv local 3.8
47+
pyenv install 3.9
48+
pyenv local 3.9
4949
```
5050

5151
3. create a virtual env for the repo, using the selected python version
@@ -71,7 +71,7 @@ section.
7171
source .env/bin/activate
7272
```
7373

74-
6. verify that python now has the correct version (3.8)
74+
6. verify that python now has the correct version (3.9)
7575

7676
```bash
7777
python --version

docs/manual/python.qmd

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
# Python {#sec-python}
22

3-
The recommended version for most users is 3.11.9. A higher version will work
4-
fine, but cause a very long installation time for packages (like this one)
5-
which is based on Python 3.8.
6-
73
## Install
84

95
### Windows & macOS
106

11-
The main download page can be found [here](https://www.python.org/downloads/).
12-
13-
Direct download links for version 3.11.9:
14-
15-
- [Windows](https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe)
16-
- [macOS](https://www.python.org/ftp/python/3.11.9/python-3.11.9-macos11.pkg)
7+
Python can be downloaded from [here](https://www.python.org/downloads/).
178

189
### Linux
1910

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [
77
description = "PHES-ODM Sharing Library"
88
readme = "README.md"
99
license = { file="LICENSE" }
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
classifiers = [
1212
"Programming Language :: Python :: 3",
1313
"Operating System :: OS Independent",

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pandas-stubs==2.0.3.230814
1+
pandas-stubs==2.2.2.240603
22
sqlalchemy-stubs==0.4
33
types-tabulate==0.9.0.20240106

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
SQLAlchemy==2.0.29
2-
numpy==1.24.4
3-
openpyxl==3.1.2
4-
pandas==2.0.3
1+
SQLAlchemy==2.0.31
2+
numpy==2.0.0
3+
openpyxl==3.1.4
4+
pandas==2.2.2
55
pyfunctional==1.5.0
66
tabulate==0.9.0
77
typer==0.12.3

0 commit comments

Comments
 (0)