Skip to content

Commit

Permalink
Merge pull request #649 from ATM-Jahid/bump-py
Browse files Browse the repository at this point in the history
Update python and cibuildwheel versions
  • Loading branch information
jameskermode authored Jul 2, 2024
2 parents 694dc9c + 69c4f49 commit 8e99b0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
python-version: '3.x'
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.9.0
run: python -m pip install cibuildwheel==2.19.1

- name: Build wheels
run: |
Expand Down
2 changes: 1 addition & 1 deletion quippy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ F2PY_LINK_ARGS = $(shell ${PYTHON} -c 'import sys; print(" ".join([arg for arg i
all: build

f90wrap:
${PIP} install ${QUIPPY_INSTALL_OPTS} "f90wrap>=0.2.6"
${PIP} install ${QUIPPY_INSTALL_OPTS} "f90wrap>=0.2.6,<0.2.14"

clean:
rm -f _quippy${EXT_SUFFIX} ${F90WRAP_FILES} ${WRAP_FPP_FILES}
Expand Down
2 changes: 1 addition & 1 deletion quippy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def build_extension(self, ext):
'Programming Language :: Python :: 3.9',
],
url='https://github.com/libAtoms/QUIP',
install_requires=['numpy>=1.13', 'f90wrap>=0.2.6', 'ase>=3.17.0'],
install_requires=['numpy>=1.13,<2', 'f90wrap>=0.2.6', 'ase>=3.17.0'],
python_requires=">=3.6",
packages=['quippy'],
package_data={'quippy': package_data_files},
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gappot.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def setUp(self):

self.f = np.zeros((3, len(self.at)), order='F')

self.energy_ref = self.at_orig.info['energy']
self.energy_ref = self.at_orig.get_potential_energy()
self.forces_ref = self.at_orig.arrays['force']

self.at.calc = self.pot_calculator
Expand Down

0 comments on commit 8e99b0a

Please sign in to comment.