Skip to content

Commit

Permalink
pin pandas>=2; stop supporting python 3.7; fix failing doctest (#292)
Browse files Browse the repository at this point in the history
* pin pandas>=2; stop supporting python 3.7; fix failing doctest
  • Loading branch information
stevebachmeier committed May 17, 2023
1 parent 7db2116 commit 4adf099
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Vivarium
Vivarium is a simulation framework written using standard scientific Python
tools.

**Vivarium requires Python 3.7-3.10 to run**
**Vivarium requires Python 3.8-3.10 to run**

You can install ``vivarium`` from PyPI with pip:

Expand Down
15 changes: 10 additions & 5 deletions docs/source/tutorials/exploration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,9 @@ the population as a whole.
75% 3.744090
max 4.999967
Name: age, dtype: float64
alive
alive 100000
Name: alive, dtype: int64
Name: count, dtype: int64
count 100000.000000
mean 0.500602
std 0.288434
Expand All @@ -308,15 +309,19 @@ the population as a whole.
75% 0.749816
max 0.999978
Name: child_wasting_propensity, dtype: float64
lower_respiratory_infections
susceptible_to_lower_respiratory_infections 100000
Name: lower_respiratory_infections, dtype: int64
Name: count, dtype: int64
entrance_time
2021-12-31 12:00:00 100000
Name: entrance_time, dtype: int64
Name: count, dtype: int64
sex
Male 50162
Female 49838
Name: sex, dtype: int64
Name: count, dtype: int64
tracked
True 100000
Name: tracked, dtype: int64
Name: count, dtype: int64



Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys

min_version, max_version = ((3, 6), "3.6"), ((3, 10), "3.10")
min_version, max_version = ((3, 8), "3.8"), ((3, 10), "3.10")

if not (min_version[0] <= sys.version_info[:2] <= max_version[0]):
# Python 3.5 does not support f-strings
Expand Down Expand Up @@ -32,7 +32,7 @@

install_requirements = [
"numpy",
"pandas<2.0.0",
"pandas>=2.0",
"pyyaml>=5.1",
"scipy",
"click",
Expand Down

0 comments on commit 4adf099

Please sign in to comment.