-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conda Package Build Process #154
Conversation
…conda build tools
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #154 +/- ##
=======================================
Coverage 88.79% 88.79%
=======================================
Files 23 23
Lines 1392 1392
=======================================
Hits 1236 1236
Misses 156 156 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting some minor comments and remove a few more unused files. I am unsure why there is both conda_environment.yml
and environment.yml
in this repository. Do they serve different purposes?
.github/workflows/unittest.yml
Outdated
shell: bash -l {0} | ||
run: | | ||
python -m build --wheel --no-isolation | ||
check-wheel-contents dist/multiphonon-*.whl | ||
- name: Upload python wheel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment about this uploading as an artifact to the source repository rather than pypi/conda/whatever. It took me a bit to realize that and it'd be good to prevent misunderstandings.
pyproject.toml
Outdated
@@ -18,8 +18,8 @@ requires = [ | |||
"wheel", | |||
"toml", | |||
"versioningit", | |||
"numpy == 1.20.3", | |||
"scipy == 1.9.0" | |||
"numpy >= 1.20.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be >1.20<2.0
to prevent accidentally moving forward. It shouldn't be an issue with mantid being involved.
pyproject.toml
Outdated
"numpy == 1.20.3", | ||
"scipy == 1.9.0" | ||
"numpy >= 1.20.3", | ||
"scipy >= 1.9.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounded like there was a maximum version of scipy too
conda.recipe/bld.bat
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be deleted?
conda.recipe/run-build.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be removed
.github/workflows/unittest.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be better to rename this workflow.yml
since it does a lot more than build and run the unit tests.
Related: Is CI.yml
still active? It is unclear what these two workflows do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI.yml is inactive. I would suggest to keep us a reference until the dependecy package issue is resolved. Then we delete it.
conda install noarch/multiphonon-0.2.0.dev26-py310.tar.bz2 |
Conda package creation process with conda_environment.yml, due to package dependency issues
(related to EWM5115)
Short description of the changes:
Updates include:
Long description of the changes:
Check list for the pull request
Check list for the reviewer
Manual test for the reviewer
References