Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch repo to openmm org in download wheel script + other fixes #2

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
3 changes: 2 additions & 1 deletion .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,11 @@ jobs:
if: matrix.os == 'windows'

- name: Upload artifacts to Github
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: build_artifacts/pypi_wheels
name: ${{ matrix.CONFIG }}
overwrite: true

- name: Upload artifacts to Github release
uses: svenstaro/upload-release-action@v2
Expand Down
2 changes: 1 addition & 1 deletion download_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

mkdir -p dist
cd dist
list_asset_url="https://api.github.com/repos/isuruf/openmm-wheels/releases/tags/${1}"
list_asset_url="https://api.github.com/repos/openmm/openmm-wheels/releases/tags/${1}"
curl -s $list_asset_url | grep "\"browser_download_url\"" | xargs -i echo {} | cut -b 23- | xargs -i curl -LO {}
3 changes: 2 additions & 1 deletion extra.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@


- name: Upload artifacts to Github
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v2 is getting deprecated in june so I figured might as well update now

with:
path: build_artifacts/pypi_wheels
name: ${{ matrix.CONFIG }}
overwrite: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see issue #4


- name: Upload artifacts to Github release
uses: svenstaro/upload-release-action@v2
Expand Down
13 changes: 13 additions & 0 deletions recipe/gh4537.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py
index f5de33531..da3ffd36a 100644
--- a/wrappers/python/setup.py
+++ b/wrappers/python/setup.py
@@ -166,6 +166,7 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM,
(especially on recent GPUs) that make it truly unique among simulation codes.
"""
setupKeywords["extras_require"] = {"cuda12": f"openmm-cuda=={setupKeywords['version']}.12", "cuda11.2": f"openmm-cuda=={setupKeywords['version']}.11.2", "cuda11.8": f"openmm-cuda=={setupKeywords['version']}.11.8"}
+ setupKeywords["install_requires"] = ["numpy"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


define_macros = [('MAJOR_VERSION', major_version_num),
('MINOR_VERSION', minor_version_num)]

1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ source:
patches:
- 0001-wheels.patch
- gh4498.patch
- gh4537.patch

build:
number: {{ build }}
Expand Down
Loading