Skip to content

Commit 0f22e28

Browse files
committed
increase req-python to 3.10
1 parent 2debadb commit 0f22e28

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/deployment.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-python@v4
2020
name: Install Python
2121
with:
22-
python-version: 3.9
22+
python-version: "3.10"
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/setup-python@v4
5252
name: Install Python
5353
with:
54-
python-version: 3.9
54+
python-version: "3.10"
5555
- uses: actions/download-artifact@v3
5656
with:
5757
name: releases
@@ -89,18 +89,18 @@ jobs:
8989
with:
9090
name: releases
9191
path: dist
92-
- name: Set up Python 3.9
92+
- name: Set up Python 3.10
9393
uses: actions/setup-python@v2
9494
with:
95-
python-version: 3.9
95+
python-version: "3.10"
9696
- name: Install dependencies
9797
uses: conda-incubator/setup-miniconda@v2
9898
with:
9999
miniforge-variant: Mambaforge
100100
miniforge-version: latest
101101
use-mamba: true
102102
environment-file: conda-environments/docbuild.yml
103-
python-version: 3.9
103+
python-version: "3.10"
104104
activate-environment: docbuild
105105
auto-activate-base: false
106106
auto-update-conda: false

.github/workflows/test-deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-python@v4
1919
name: Install Python
2020
with:
21-
python-version: "3.9"
21+
python-version: "3.10"
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/setup-python@v4
5656
name: Install Python
5757
with:
58-
python-version: "3.9"
58+
python-version: "3.10"
5959
- uses: actions/download-artifact@v3
6060
with:
6161
name: releases

HOW_TO_RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
by starting where ActivitySim is not yet cloned (e.g. in an empty
1111
directory) and running:
1212
```sh
13-
conda create -n TEMP-ASIM-DEV python=3.9 git gh -c conda-forge --override-channels
13+
conda create -n TEMP-ASIM-DEV python=3.10 git gh -c conda-forge --override-channels
1414
conda activate TEMP-ASIM-DEV
1515
gh auth login # <--- (only needed if gh is not logged in)
1616
gh repo clone ActivitySim/activitysim

activitysim/examples/prototype_mtc/notebooks/getting_started.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"outputs": [],
4949
"source": [
50-
"!conda create -n asim python=3.9 activitysim -c conda-forge --override-channels"
50+
"!conda create -n asim python=3.10 activitysim -c conda-forge --override-channels"
5151
]
5252
},
5353
{

docs/gettingstarted.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,21 @@ home installation folder, such as:
7070
3. Create a conda environment (basically a Python install just for this project)
7171
using conda Prompt (on Windows) or the terminal (macOS or Linux)::
7272

73-
mamba create -n asim python=3.9 activitysim -c conda-forge --override-channels
73+
mamba create -n asim python=3.10 activitysim -c conda-forge --override-channels
7474

7575
This command will create the environment and install all the dependencies
7676
required for running ActivitySim. It is only necessary to create the environment
7777
once per machine, you do not need to (re)create the environment for each session.
7878
If you would also like to install other tools or optional dependencies, it is
7979
possible to do so by adding additional libraries to this command. For example::
8080

81-
mamba create -n asim python=3.9 activitysim jupyterlab larch -c conda-forge --override-channels
81+
mamba create -n asim python=3.10 activitysim jupyterlab larch -c conda-forge --override-channels
8282

83-
This example installs a specific version of Python, version 3.9. A similar
83+
This example installs a specific version of Python, version 3.10. A similar
8484
approach can be used to install specific versions of other libraries as well,
8585
including ActivitySim, itself. For example::
8686

87-
mamba create -n asim python=3.9 activitysim=1.0.2 -c conda-forge --override-channels
87+
mamba create -n asim python=3.10 activitysim=1.0.2 -c conda-forge --override-channels
8888

8989
Additional libraries can also be installed later. You may want to consider these
9090
tools for certain development tasks::

other_resources/installer/construct.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ channels:
1616
- conda-forge
1717

1818
specs:
19-
- python 3.9.*
19+
- python 3.10.*
2020
- conda
2121
- activitysim {{ version }}
2222
- pip

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies = [
3030
"xarray >= 0.21"
3131
]
3232
readme = "README.md"
33-
requires-python = ">=3.9"
33+
requires-python = ">=3.10"
3434

3535
[project.scripts]
3636
activitysim = "activitysim.cli.main:main"

0 commit comments

Comments
 (0)