Skip to content

Commit

Permalink
define which version of python and packages to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmancom committed Jun 28, 2023
1 parent 3939adb commit 5b7a6d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ defaults: &defaults
virtualenv ci
. ci/bin/activate
python setup.py develop
pip install --upgrade pip
pip install --upgrade pip==21.0.1 setuptools==58.0.4
pip install pytest-server-fixtures[mongodb]
echo y | pip uninstall tzlocal # because circleci will install >5.0b
pip install tzlocal==4.2 # works for python 3.6 and 3.8
pip uninstall -y tzlocal # because circleci will install >5.0b
pip install $TEST_PACKAGES
pip freeze
python --version
# Save dependency cache
Expand Down Expand Up @@ -95,6 +95,7 @@ jobs:
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results/3_6
VERSION: $VERSION
IMAGE_NAME: mangroup/arctic
TEST_PACKAGES: "tzlocal==4.2 numpy==1.14.6 pandas==0.25.3"
working_directory: ~/arctic_3_6
docker:
- image: cimg/python:3.6-node
Expand All @@ -107,6 +108,7 @@ jobs:
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results/3_7
VERSION: $VERSION
IMAGE_NAME: mangroup/arctic
TEST_PACKAGES: "tzlocal==4.2 numpy==1.18.5 pandas==1.0.5"
working_directory: ~/arctic_3_7
docker:
- image: cimg/python:3.7-node
Expand All @@ -119,6 +121,7 @@ jobs:
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results/3_8
VERSION: $VERSION
IMAGE_NAME: mangroup/arctic
TEST_PACKAGES: "tzlocal==4.2 numpy==1.21.6 pandas==1.3.5"
working_directory: ~/arctic_3_8
docker:
- image: cimg/python:3.8-node
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### HEAD
* Compatibility: allow pandas version newer than 1.0, less than 2.0
* Compatibility: allow numpy version newer than 1.18
* Build: specify which version of python/numpy/pandas to test
* Bugfix: resolve import error on pandas.Panel, Panel was removed in pandas 1.0
* Bugfix: fix np.float/np.int/np.book depreciations
* Bugfix: fix numpy tostring() is deprecated. Use tobytes() instead.
Expand Down

0 comments on commit 5b7a6d3

Please sign in to comment.