Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
9854509
recode mazs in maz-to-maz table
jpn-- Feb 7, 2023
b4ac903
basic implementation of parquet pipeline
jpn-- Feb 7, 2023
d9f0157
fix overrun caused by dtype optimization
jpn-- Feb 7, 2023
05c951d
pipeline is a real class
jpn-- Feb 7, 2023
ea3fdee
Merge branch 'pipeline-parquet' into generic-whale
jpn-- Feb 7, 2023
f7ffa26
whales
jpn-- Feb 9, 2023
22d592f
refactoring
jpn-- Feb 10, 2023
55c805c
refactoring [ci-skip]
jpn-- Feb 10, 2023
a794002
refactoring [skip ci]
jpn-- Feb 10, 2023
2d87674
refactoring
jpn-- Feb 12, 2023
735df4e
refactoring
jpn-- Feb 13, 2023
dab2d93
refactor
jpn-- Feb 13, 2023
f599888
refactoring
jpn-- Feb 13, 2023
0e31934
refactoring
jpn-- Feb 13, 2023
4014484
refactoring
jpn-- Feb 13, 2023
12296a5
refactoring
jpn-- Feb 13, 2023
90b41ee
refactoring
jpn-- Feb 14, 2023
524feb6
refactoring
jpn-- Feb 14, 2023
e5b5c7e
refactor
jpn-- Feb 14, 2023
a6cc322
refactoring
jpn-- Feb 14, 2023
f3554e0
single process mtc ok
jpn-- Feb 14, 2023
f3286dc
clean logging
jpn-- Feb 15, 2023
dff8148
refactor MP
jpn-- Feb 15, 2023
fc8dda5
refactor-mp
jpn-- Feb 15, 2023
bf1930a
core.tests
jpn-- Feb 17, 2023
3f74356
fix mtc
jpn-- Feb 17, 2023
7b1ddad
style
jpn-- Feb 17, 2023
0369608
test cli
jpn-- Feb 17, 2023
1280c57
bump python to 3.10
jpn-- Feb 17, 2023
a4e0e66
3.10 as str
jpn-- Feb 18, 2023
acfec56
test summarize
jpn-- Feb 18, 2023
648e2d9
clean up checkpointing
jpn-- Feb 19, 2023
10c661f
clean checkpoints
jpn-- Feb 19, 2023
1ffb8bf
various tests
jpn-- Feb 19, 2023
619706f
fix vts
jpn-- Feb 19, 2023
74d4564
optimize imports
jpn-- Feb 19, 2023
e109344
optimize imports
jpn-- Feb 19, 2023
8e026b0
fix is_open and is_readonly
jpn-- Feb 19, 2023
b6d52bd
refactoring
jpn-- Feb 20, 2023
3e7e498
estimation only when settings exist
jpn-- Feb 20, 2023
aafaa76
fix circular import
jpn-- Feb 20, 2023
b47f7d9
test_mtc_progressive
jpn-- Feb 20, 2023
5a5ed43
mtc progressive test
jpn-- Feb 20, 2023
54f65be
persist sharrow cache
jpn-- Feb 20, 2023
4f3d08a
asim create always makes a subdir
jpn-- Feb 20, 2023
bd2636c
cleaning out inject
jpn-- Feb 20, 2023
e496055
testing xborder
jpn-- Feb 21, 2023
1750436
run_if_exists
jpn-- Feb 21, 2023
96d1060
cleanup
jpn-- Feb 21, 2023
66892b5
refactor
jpn-- Feb 21, 2023
8abe915
refactoring
jpn-- Feb 21, 2023
c1fd380
fix persons_merged
jpn-- Feb 21, 2023
f590a79
refactor
jpn-- Feb 22, 2023
aeb1cf1
refactor
jpn-- Feb 22, 2023
c0a0aa7
refactor
jpn-- Feb 22, 2023
cc2a46c
refactor
jpn-- Feb 22, 2023
275848e
external examples
jpn-- Feb 22, 2023
4b50cf9
refactor
jpn-- Feb 22, 2023
f166dfe
refactor
jpn-- Feb 22, 2023
f49afd8
eval_str on annotations
jpn-- Feb 22, 2023
243fdda
GA external regional models
jpn-- Feb 22, 2023
332743d
actions/cache@v3
jpn-- Feb 22, 2023
9b7a6fd
clean
jpn-- Feb 22, 2023
b92b043
state prep
jpn-- Feb 22, 2023
85fed1f
whale to state
jpn-- Feb 22, 2023
a8d1d38
fixes
jpn-- Feb 23, 2023
b99b4f0
fixes
jpn-- Feb 23, 2023
a563a8c
fix annotations as str
jpn-- Feb 23, 2023
f5c087c
zarr fix
jpn-- Feb 24, 2023
f09a3e3
xborder fix
jpn-- Feb 24, 2023
8c9eaf5
bugfix
jpn-- Feb 24, 2023
920980f
fixes
jpn-- Feb 24, 2023
14463d6
extending
jpn-- Feb 24, 2023
0a10f38
docstring
jpn-- Feb 24, 2023
5f1160d
refactor
jpn-- Feb 27, 2023
5076d92
refactor
jpn-- Feb 27, 2023
b4d6f18
optional altair
jpn-- Feb 27, 2023
7f478be
viz clean
jpn-- Feb 27, 2023
46a8ad4
hist bounds
jpn-- Feb 27, 2023
7d95b19
dataset accessor
jpn-- Feb 28, 2023
ab5530c
steps use default args
jpn-- Feb 28, 2023
59983e2
duplicate_step_execution
jpn-- Feb 28, 2023
099f0bc
trace validation
jpn-- Mar 4, 2023
2a1cf1e
bugfixing
jpn-- Mar 4, 2023
6993a9a
bugfixing
jpn-- Mar 4, 2023
db92d94
bugfixing
jpn-- Mar 4, 2023
f9ca94c
more error logging when external example fails
jpn-- Mar 4, 2023
1a2b127
require appdirs
jpn-- Mar 5, 2023
dd7a219
missing state
jpn-- Mar 5, 2023
2be376a
fix tests
jpn-- Mar 5, 2023
30621a7
cleanup
jpn-- Mar 5, 2023
e68fc78
fix multizone
jpn-- Mar 5, 2023
d8b26d3
allow tar.gz trace validation
jpn-- Mar 6, 2023
3124792
fix marin
jpn-- Mar 7, 2023
ff3f03d
test fixing
jpn-- Mar 7, 2023
6e88179
fix random seed
jpn-- Mar 7, 2023
174c9f3
mtc_extended
jpn-- Mar 7, 2023
30e15a5
mtc_ext
jpn-- Mar 7, 2023
8af2659
mtc_ext
jpn-- Mar 7, 2023
e3be59c
mtc_ext
jpn-- Mar 7, 2023
9d39c8e
mtc_ext
jpn-- Mar 7, 2023
de24c4b
don't require pytest for run
jpn-- Mar 7, 2023
6ceaef4
stray bracket
jpn-- Mar 7, 2023
f133bd5
testing
jpn-- Mar 7, 2023
6738f70
fix xborder
jpn-- Mar 8, 2023
ae6fcc6
ext pipeline
jpn-- Mar 8, 2023
d07268e
testing
jpn-- Mar 8, 2023
9fc079e
better test
jpn-- Mar 8, 2023
0dde0bf
test parquet store
jpn-- Mar 8, 2023
1681b70
fix loading pickled tables in mp
jpn-- Mar 8, 2023
3a63d1f
doc
jpn-- Mar 8, 2023
7cffefc
exercise pickling in store test
jpn-- Mar 8, 2023
e2cac03
est updates
jpn-- Mar 8, 2023
1b5e07f
test est fix
jpn-- Mar 8, 2023
b309a8a
cdap for est
jpn-- Mar 8, 2023
e3c4994
fix t0 on error
jpn-- Mar 8, 2023
41c69db
allow aborted steps
jpn-- Mar 8, 2023
02c39c8
repair sandag test
jpn-- Mar 9, 2023
f830926
repaid sandag
jpn-- Mar 9, 2023
5a9dfdb
reformat tables as requested
jpn-- Mar 19, 2023
1dc92a0
change in cdap est targets due to change in randomness
jpn-- Mar 19, 2023
4491827
fix env
jpn-- Mar 19, 2023
635af70
datastore
jpn-- Mar 20, 2023
a755461
clean up
jpn-- Mar 20, 2023
bfd2880
fix test
jpn-- Mar 20, 2023
7b54212
list checkpoint names
jpn-- Mar 21, 2023
99476c5
more
jpn-- Mar 21, 2023
c023f58
dependency changes
jpn-- Mar 21, 2023
28772ab
Merge commit '99476c5a2862810c5d8343a5deaec4b177906007' into roundhouse
jpn-- Mar 21, 2023
801f447
repair merge errors and inconsistencies
jpn-- Mar 22, 2023
87cbcff
blacken
jpn-- Mar 22, 2023
154575c
ignores
jpn-- Mar 22, 2023
4795532
change index dtype to signed int for consistency
jpn-- Mar 22, 2023
419efb3
partial fix of external tests
jpn-- Mar 22, 2023
a6e59f8
ruff
jpn-- Mar 22, 2023
dc42bd4
rm datastore
jpn-- Mar 22, 2023
cc3560e
state.run.all now handles mp
jpn-- Mar 22, 2023
15ce0ac
fix psrc example
jpn-- Mar 22, 2023
c0d1be0
trip scheduling logic_version
jpn-- Mar 23, 2023
c323c76
trip scheduling logic from #660
jpn-- Mar 23, 2023
d783097
make skim_dataset known before getting it
jpn-- Mar 23, 2023
8fc9c4b
allow missing skims
jpn-- Mar 23, 2023
8e0df5d
prevent inf recursion when checkpoint is None
jpn-- Mar 23, 2023
923b401
update external link
jpn-- Mar 23, 2023
93fc06b
fix outside auto own test
jpn-- Mar 23, 2023
b71c438
fix joint freq comp
jpn-- Mar 24, 2023
ad20a89
upgrade testing
jpn-- Mar 24, 2023
ce142dd
repair zone coding in test
jpn-- Mar 28, 2023
2635a2a
ignore parquet
jpn-- Mar 28, 2023
e938926
Merge commit 'fbec0a59f9ee9a0886d12b7845d3bed0f9a7f6e0' into generic-…
jpn-- Mar 28, 2023
ce4700e
validate assign on settings
jpn-- Mar 30, 2023
28d2fa3
allow parquet inputs
jpn-- Mar 31, 2023
19d4ec2
allow disable sharrow in WFH
jpn-- Apr 1, 2023
0c988c4
zarr write time
jpn-- Apr 1, 2023
51a5eb7
nan on missing
jpn-- Apr 1, 2023
b0bf083
start docs
jpn-- Apr 2, 2023
c6be569
memory optimizations
jpn-- Apr 3, 2023
8287f8e
check_for_variability cannot be None
jpn-- Apr 3, 2023
c3510a4
accessibility improvements
jpn-- Apr 4, 2023
0ccd566
pinderella
jpn-- Apr 7, 2023
d416f26
pandas in setup.cfg deps
jpn-- Apr 7, 2023
359e0c1
Merge commit 'd416f26af7d10e811933f357b8f8ebf5fbbcde05' into generic-…
jpn-- Apr 7, 2023
09a8af8
doc nullstore
jpn-- Apr 7, 2023
a41e3f7
external:prototype_psrc_in_development
jpn-- Apr 7, 2023
48f493a
some docs
jpn-- Apr 7, 2023
19452a2
doc updates [makedocs]
jpn-- Apr 10, 2023
97bd788
branch docs on 3.10
jpn-- Apr 10, 2023
e7e521e
manual doc build [makedocs]
jpn-- Apr 10, 2023
eaf717c
document download_external_example
jpn-- Apr 11, 2023
3b3152c
repair cdap for joint
jpn-- Apr 11, 2023
59b7d01
external examples doc [makedocs]
jpn-- Apr 11, 2023
d53e5cd
so much doc [makedocs]
jpn-- Apr 12, 2023
2b33ff5
checkpoints
jpn-- Apr 13, 2023
8992d9d
checkpoint docs
jpn-- Apr 13, 2023
197559b
estimation example
jpn-- Apr 15, 2023
5eabb29
Merge branch 'develop' into generic-whale
jpn-- Apr 15, 2023
8aa252f
ext test
jpn-- Apr 15, 2023
8571c34
require sharrow 2.6
jpn-- Apr 15, 2023
1731deb
add zstandard to envs
jpn-- Apr 15, 2023
e938939
fix error in unpacking
jpn-- Apr 15, 2023
8a523cb
update psrc ext link
jpn-- Apr 16, 2023
4dfbbeb
allow maz_ceiling to be any kind of int
jpn-- Apr 17, 2023
f6bfdf0
initialize_filesystem doc
jpn-- Apr 17, 2023
b965ac8
doc updates [makedocs]
jpn-- Apr 18, 2023
4632fea
more docs
jpn-- Apr 18, 2023
309cba6
documentation [makedocs]
jpn-- Apr 18, 2023
0b14a60
docs on decorators [makedocs]
jpn-- Apr 24, 2023
b1ef7c0
cache env [makedocs]
jpn-- Apr 24, 2023
6e3df6c
various bug fixes
jpn-- Apr 24, 2023
52fc4e5
chunk_method is literal
jpn-- Apr 25, 2023
598c06f
interactive run docs [makedocs]
jpn-- Apr 25, 2023
63c8b6c
fix link
jpn-- Apr 25, 2023
2c73f15
doc steps
jpn-- Apr 25, 2023
c873eab
class no init template
jpn-- Apr 25, 2023
d4741e6
api on correct pages [makedocs]
jpn-- Apr 25, 2023
4230709
fix bug in log file names
jpn-- Apr 25, 2023
d7ff7c1
fix error in MP resume_after
jpn-- Apr 26, 2023
b4909df
doc duplicate_step_execution
jpn-- Apr 26, 2023
4870ff1
fix link
jpn-- May 1, 2023
aab2488
docs
jpn-- May 1, 2023
bc1a8be
cdap est coefficients
jpn-- May 2, 2023
3a3088d
test logging
jpn-- May 25, 2023
f1e894d
annotate rng
jpn-- May 25, 2023
b483556
Merge branch 'upstream-develop' into generic-whale
jpn-- May 25, 2023
325eb3d
update semcog model
jpn-- May 25, 2023
939f323
docs for logging
jpn-- May 25, 2023
5d4c4db
fix semcog example test
jpn-- May 25, 2023
6b9d8b8
only one add_size_tables func
jpn-- May 25, 2023
d5fdfe1
better error msg
jpn-- May 25, 2023
c84925d
remove extra lines
jpn-- May 25, 2023
a2bb99d
multiple output dirs for tests
jpn-- May 25, 2023
6160f4b
fix for chunking
jpn-- Jun 19, 2023
f626778
blacken
jpn-- Jun 19, 2023
d2992f0
remove vestigial log_df
jpn-- Jun 19, 2023
038a408
undo junk
jpn-- Jun 19, 2023
4963260
docstring
jpn-- Jun 19, 2023
a3e430d
write log to output dir
jpn-- Jun 20, 2023
11d2902
more docs on logging
jpn-- Jun 20, 2023
59e8dd7
bigger chunksize, too small times out
jpn-- Jun 20, 2023
ad9e23b
clean up when missing TAZ input table
jpn-- Jun 20, 2023
c592f94
historian
jpn-- Jun 20, 2023
ee7bc37
allow state to be None
jpn-- Jun 20, 2023
8435976
change recode_pipeline_columns default to false
jpn-- Jun 21, 2023
2f4bec5
update prototype_psrc_in_development
jpn-- Jun 21, 2023
5868bb3
fix cdap for sharrow
jpn-- Jun 21, 2023
4c4838c
import skim_dataset
jpn-- Jun 21, 2023
22eee5b
recode pipeline for mtc
jpn-- Jun 21, 2023
0f01901
Multiprocessing Performance
jpn-- Jun 22, 2023
a45304b
Arithmetic on Logical Values
jpn-- Jun 23, 2023
c8c492b
clarify
jpn-- Jun 23, 2023
a6bd49b
repair problems with tracing
jpn-- Jul 14, 2023
b604f50
suppress excessive performance warnings
jpn-- Jul 14, 2023
4fee748
cleanup
jpn-- Jul 14, 2023
ca760ce
drop core.contrast from this PR
jpn-- Jul 14, 2023
69f47ce
fix link
jpn-- Jul 14, 2023
c27fae6
drop "warn" option for duplicate_step_execution
jpn-- Jul 14, 2023
c5ea52c
add check that land_use_taz matches skims
jpn-- Jul 14, 2023
8cc0a42
move land_use_taz check
jpn-- Jul 24, 2023
907444a
land_use_taz check fix
jpn-- Jul 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 24 additions & 9 deletions .github/workflows/branch-docs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: ActivitySim Branch Docs
# This workflow is provided as a service for forks to build branch-specific documentation.

on: push
on:
- push
- workflow_dispatch

jobs:
docbuild:
if: "contains(github.event.head_commit.message, '[makedocs]') && (github.repository_owner != 'ActivitySim') && (github.ref_name != 'develop')"
# develop branch docs are built at the end of the core test workflow, regardless of repository owner or commit message flags
name: ubuntu-latest py3.9
name: ubuntu-latest py3.10
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -16,36 +18,49 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # get all tags, lets setuptools_scm do its thing
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies

- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
environment-file: conda-environments/docbuild.yml
python-version: 3.9
python-version: "3.10"
activate-environment: docbuild
auto-activate-base: false
auto-update-conda: false

- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV

- uses: actions/cache@v3
with:
path: /usr/share/miniconda3/envs/docbuild
key: linux-64-conda-${{ hashFiles('conda-environments/docbuild.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
id: cache

- name: Update environment
run: mamba env update -n docbuild -f conda-environments/docbuild.yml
if: steps.cache.outputs.cache-hit != 'true'

- name: Install activitysim
run: |
python -m pip install .

- name: Conda checkup
run: |
conda info -a
conda list
echo REPOSITORY ${{ github.repository }}
echo REF ${{ github.ref }}
echo REF_NAME ${{ github.ref_name }}

- name: Build the docs
run: |
cd docs
make clean
make html

- name: Push to GitHub Pages
uses: peaceiris/[email protected]
with:
Expand Down
100 changes: 82 additions & 18 deletions .github/workflows/core_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ on:
- '*'

env:
CACHE_NUMBER: 1 # increase to reset cache manually
CACHE_NUMBER: 0 # increase to reset cache manually

jobs:
foundation:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.10"]
defaults:
run:
shell: bash -l {0}
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /usr/share/miniconda3/envs/asim-test
key: linux-64-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
Expand Down Expand Up @@ -81,6 +81,10 @@ jobs:
run: |
python -m pytest --pyargs activitysim.cli

- name: Test activitysim.examples.test
run: |
python -m pytest --pyargs activitysim.examples.test


cross-platform:
# also test foundation cross platforms, but do not require a successful
Expand All @@ -92,12 +96,12 @@ jobs:
- os: macos-latest
label: macOS
prefix: /Users/runner/miniconda3/envs/asim-test
python-version: 3.9
python-version: "3.10"

- os: windows-latest
label: win-64
prefix: C:\Miniconda3\envs\asim-test
python-version: 3.9
python-version: "3.10"

defaults:
run:
Expand All @@ -120,7 +124,7 @@ jobs:
- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ matrix.prefix }}
key: ${{ matrix.label }}-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
Expand Down Expand Up @@ -164,11 +168,11 @@ jobs:
python -m pytest --pyargs activitysim.cli


regional_models:
builtin_regional_models:
needs: foundation
env:
mamba-env-prefix: /usr/share/miniconda3/envs/asim-test
python-version: 3.9
python-version: "3.10"
label: linux-64
strategy:
matrix:
Expand Down Expand Up @@ -204,7 +208,7 @@ jobs:
- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.mamba-env-prefix }}
key: ${{ env.label }}-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
Expand Down Expand Up @@ -235,7 +239,7 @@ jobs:
# - name: Get a random number
# run: echo "RANDOM_SUFFIX=${RANDOM}${RANDOM}" >> $GITHUB_ENV
#
# - uses: actions/cache@v2
# - uses: actions/cache@v3
# # store the regional model's cache directory in github actions cache
# # this will (almost) never hit on primary key due to the random number
# # but will pull the most recent cache from restore-keys... and then
Expand All @@ -253,11 +257,71 @@ jobs:
run: |
python -m pytest activitysim/examples/${{ matrix.region }}/test --durations=0

external_regional_models:
needs: foundation
env:
mamba-env-prefix: /usr/share/miniconda3/envs/asim-test
python-version: "3.10"
label: linux-64
strategy:
matrix:
region:
- prototype_mtc
- prototype_psrc_in_development
fail-fast: false
defaults:
run:
shell: bash -l {0}
name: ${{ matrix.region }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: asim-test
use-mamba: true
python-version: ${{ env.python-version }}

- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV

- uses: actions/cache@v3
with:
path: |
${{ env.mamba-env-prefix }}
~/.cache/ActivitySim
key: ${{ env.label }}-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
id: cache

- name: Update environment
run: mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
if: steps.cache.outputs.cache-hit != 'true'

- name: Install activitysim
# installing without dependencies is faster, we trust that all needed dependencies
# are in the conda environment defined above. Also, this avoids pip getting
# confused and reinstalling tables (pytables).
run: |
python -m pip install -e . --no-deps

- name: Conda checkup
run: |
mamba info -a
mamba list

- name: Test ${{ matrix.region }}
run: |
python -m activitysim test ${{ matrix.region }}

random_seed_generation:
needs: foundation
env:
mamba-env-prefix: /usr/share/miniconda3/envs/asim-test
python-version: 3.9
python-version: "3.10"
label: linux-64
defaults:
run:
Expand All @@ -280,7 +344,7 @@ jobs:
- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.mamba-env-prefix }}
key: ${{ env.label }}-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
Expand Down Expand Up @@ -310,7 +374,7 @@ jobs:
needs: foundation
env:
mamba-env-prefix: /usr/share/miniconda3/envs/asim-test
python-version: 3.9
python-version: "3.10"
label: linux-64
defaults:
run:
Expand All @@ -332,7 +396,7 @@ jobs:
- name: Set cache date for year and month
run: echo "DATE=$(date +'%Y%m')" >> $GITHUB_ENV

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.mamba-env-prefix }}
key: ${{ env.label }}-conda-${{ hashFiles('conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
Expand All @@ -343,7 +407,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'

- name: Install Larch
run: mamba install "larch>=5.5.3"
run: mamba install "larch>=5.7.1"

- name: Install activitysim
# installing without dependencies is faster, we trust that all needed dependencies
Expand Down Expand Up @@ -373,18 +437,18 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # get all tags, lets setuptools_scm do its thing
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
environment-file: conda-environments/docbuild.yml
python-version: 3.9
python-version: "3.10"
activate-environment: docbuild
auto-activate-base: false
auto-update-conda: false
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ _test_est
**/output/
**/_generated_version.py
docs/**/_generated
activitysim/examples/prototype_mtc_extended/test/*.ipynb
activitysim/examples/prototype_mtc/*.ipynb
Untitled.ipynb
docs/dev-guide/_generated2
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: end-of-file-fixer
exclude: .*\.ipynb
- id: trailing-whitespace

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
Expand All @@ -18,7 +18,7 @@ repos:
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
#- repo: https://github.com/PyCQA/flake8
# rev: 5.0.4
# hooks:
# - id: flake8
3 changes: 3 additions & 0 deletions AAA-BreakingChanges.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@


- The 'run_list' key in settings.yaml is no longer supported.
3 changes: 2 additions & 1 deletion activitysim/abm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ActivitySim
# See full license in LICENSE.txt.
from . import misc, models, tables
from activitysim.abm import misc, models, tables
from activitysim.core.steps import output # also contains workflow.step # noqa: F401
Loading