Skip to content

Commit

Permalink
Merge pull request #1056 from Libensemble/testing/pin_deps
Browse files Browse the repository at this point in the history
Testing/pin deps
  • Loading branch information
jmlarson1 committed Aug 17, 2023
2 parents 95b7b11 + 0e36ff2 commit 5bf80ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,6 @@ jobs:
python-version: "3.10"
mpi-version: "mpich"
comms-type: t
# - os: ubuntu-latest
# mpi-version: "openmpi"
# python-version: "3.10"
# comms-type: l
# - os: windows-latest
# python-version: "3.10"
# comms-type: l
# mpi-version: "msmpi"
# - os: windows-latest
# python-version: "3.10"
# comms-type: m
# mpi-version: "msmpi"

env:
HYDRA_LAUNCHER: "fork"
Expand Down Expand Up @@ -222,11 +210,6 @@ jobs:
pip install -e .
flake8 libensemble
- name: Activate API unit test if using mpich
if: matrix.mpi-version == 'mpich'
run: |
mv libensemble/tests/unit_tests/mpich-only_test_ensemble.py libensemble/tests/unit_tests/test_ensemble.py
- name: Remove ytopt-heffte test on Python 3.11 (easy way)
if: matrix.python-version == '3.11'
run: |
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def run_tests(self):
"libensemble.tests.unit_tests",
"libensemble.tests.regression_tests",
],
install_requires=["numpy", "psutil", "pydantic<2", "tomli", "pyyaml"],
install_requires=["numpy>=1.21", "psutil>=5.9.4", "pydantic<2", "tomli>=1.2.1", "pyyaml>=6.0"],
# numpy - oldest working version. psutil - oldest working version.
# pydantic - avoid major release/rework for now. tomli - max 2-years old version.
# pyyaml - oldest working version.
# If run tests through setup.py - downloads these but does not install
tests_require=[
"pytest>=3.1",
Expand Down

0 comments on commit 5bf80ab

Please sign in to comment.