Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.3.0 #418

Merged
merged 22 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
d5fa077
Add region_aware stuff
peterrrock2 Jan 9, 2024
aa02ee4
Add doc strings and type hints to tree.py. Also optimize prime factor fn
peterrrock2 Jan 9, 2024
dff63b5
Update docs for main module and rm random.py
peterrrock2 Jan 11, 2024
1788e43
Edit doc strings and __repr__ methods for constraints module
peterrrock2 Jan 12, 2024
8a15cb9
Edit docs for graph and meta modules
peterrrock2 Jan 12, 2024
6ee772b
Edit docs for metrics, partition, and proposals modules
peterrrock2 Jan 13, 2024
3966328
Update doc strings for updaters
peterrrock2 Jan 16, 2024
1f25413
Fix Chis's comments (round 1), and the misformatted ":return:" across…
peterrrock2 Jan 16, 2024
5c58d0d
Add full ref to docs and fix CI/CD tests (hopefully)
peterrrock2 Jan 16, 2024
811021b
Fix linting problems because I forgot before last push
peterrrock2 Jan 16, 2024
5ad73d0
More fixes from Chris's comments
peterrrock2 Jan 18, 2024
1f184f4
Add tests for changed code and region aware
peterrrock2 Jan 18, 2024
75b065b
Fix issue #319
peterrrock2 Jan 19, 2024
05fb392
Major documentation update
peterrrock2 Jan 30, 2024
68fa84c
Make formatting consistent and fix Chris comments and weight_dict bug
peterrrock2 Jan 31, 2024
2e07923
Even more docs stuff for main readthedocs
peterrrock2 Feb 1, 2024
0728a81
Fix the links
peterrrock2 Feb 1, 2024
9904e28
Added region_split updater and changed max bipartition attempts to 100k
peterrrock2 Feb 1, 2024
24f63fa
Added a section to the docs on contributing to gerrychain
peterrrock2 Feb 1, 2024
06350dd
Update python dependencies for release of v0.3.0
peterrrock2 Feb 1, 2024
000fbfb
Give the long tests enough time to complete in circleci
peterrrock2 Feb 1, 2024
ea56d4e
Fix docs typos and style
peterrrock2 Feb 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
version: 2
version: 2.1

jobs:
test:
parameters:
python-version:
type: string
docker:
- image: python:3.8
- image: cimg/python:<< parameters.python-version >>
working_directory: ~/repo
steps:
- checkout
Expand Down Expand Up @@ -39,6 +42,8 @@ jobs:
echo "backend: Agg" > "matplotlibrc"
pytest -v --runslow --cov=gerrychain --junitxml=test-reports/junit.xml tests
codecov

no_output_timeout: 40m
environment:
PYTHONHASHSEED: "0"
- store_test_results:
Expand All @@ -48,7 +53,7 @@ jobs:

deploy:
docker:
- image: python:3.8
- image: python:3.9
working_directory: ~/repo
steps:
- checkout
Expand All @@ -74,10 +79,13 @@ jobs:
twine upload dist/*

workflows:
version: 2
version: 2.1
test_and_deploy:
jobs:
- test
- test:
matrix:
parameters:
python-version: ["3.9", "3.10", "3.11"]
- deploy:
requires:
- test
Expand Down
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ target/

# pyenv python configuration file
.python-version

.venv
junit.xml

# crapple
Expand All @@ -74,4 +74,7 @@ junit.xml

# Pytest cache
.pytest_cache/
Dockerfile
Dockerfile

# Extra Documentation Stuff
release_notes.md
Binary file renamed docs/user/PA_VTDs.json → docs/_static/MN.zip
Binary file not shown.
Loading