Skip to content

Commit

Permalink
[python-package (both)] get rid of legacy resolver for py3.12 since a…
Browse files Browse the repository at this point in the history
…ll deps support numpy 2.0 now
  • Loading branch information
gph82 committed Jan 3, 2025
1 parent 620e07c commit cede8bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/python-package.macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov pytest-xdist
- name: Install package Python lt 3.12
if: matrix.python-version != '3.12'
- name: Install package
run: |
pip install --upgrade pip
pip install --upgrade setuptools
pip install -e .
pip freeze
- name: Install package Python eq 3.12
if: matrix.python-version == '3.12'
run: |
pip install --upgrade pip
pip install --upgrade setuptools
pip install bezier
pip install mdtraj --use-deprecated=legacy-resolver
pip install -e . --use-deprecated=legacy-resolver
pip freeze
- name: Test with pytest and coverage macos
continue-on-error: true
run: |
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,11 @@ jobs:
python -m pip install --upgrade pip
pip install pytest pytest-cov pytest-xdist
- name: Install package Python
#if: matrix.python-version != '3.12'
run: |
pip install --upgrade pip
pip install --upgrade setuptools
pip install -e .
pip freeze
#- name: Install package Python eq 3.12
# if: matrix.python-version == '3.12'
# run: |
# pip install --upgrade pip
# pip install --upgrade setuptools
# pip install bezier
# pip install mdtraj --use-deprecated=legacy-resolver
# pip install -e . --use-deprecated=legacy-resolver
# pip freeze
- name: Test with pytest and coverage Linux 8 threads
run: |
echo -e '[run]\nomit = *dihedrals.py,*contact_matrix.py' > .coveragerc
Expand Down

0 comments on commit cede8bd

Please sign in to comment.