Skip to content

Commit

Permalink
Add pandas 1.5 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Oct 2, 2022
1 parent 43a1a8a commit d85a647
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
- check-django41
- check-django40
- check-django32
- check-pandas15
- check-pandas14
- check-pandas13
- check-pandas12
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/docs/numpy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Supported versions
There is quite a lot of variation between pandas versions. We only
commit to supporting the latest version of pandas, but older minor versions are
supported on a "best effort" basis. Hypothesis is currently tested against
and confirmed working with every Pandas minor version from 1.0 through to 1.4.
and confirmed working with every Pandas minor version from 1.0 through to 1.5.

Releases that are not the latest patch release of their minor version are not
tested or officially supported, but will probably also work unless you hit a
Expand Down
9 changes: 8 additions & 1 deletion hypothesis-python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ commands=

# Note: when adding or removing tested Pandas versions, make sure to update the
# docs in numpy.rst too. To see current download rates of each minor version:
# https://pepy.tech/project/pandas?versions=0.25.*&versions=1.0.*&versions=1.1.*&versions=1.2.*&versions=1.3.*&versions=1.4.*
# https://pepy.tech/project/pandas?versions=1.0.*&versions=1.1.*&versions=1.2.*&versions=1.3.*&versions=1.4.*&versions=1.5.*
[testenv:pandas10]
deps =
-r../requirements/test.txt
Expand Down Expand Up @@ -78,6 +78,13 @@ deps =
pandas~=1.4.3
commands =
python -bb -X dev -m pytest tests/pandas -n auto

[testenv:pandas15]
deps =
-r../requirements/test.txt
pandas~=1.5.0
commands =
python -bb -X dev -m pytest tests/pandas -n auto
# Adding a new pandas? See comment above!

[testenv:django32]
Expand Down
2 changes: 1 addition & 1 deletion tooling/src/hypothesistooling/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def standard_tox_task(name):

for n in [32, 40, 41]:
standard_tox_task(f"django{n}")
for n in [10, 11, 12, 13, 14]:
for n in [10, 11, 12, 13, 14, 15]:
standard_tox_task(f"pandas{n}")

standard_tox_task("coverage")
Expand Down

0 comments on commit d85a647

Please sign in to comment.