-
Notifications
You must be signed in to change notification settings - Fork 11
Support 3.12 CI - conda install wxPython
, pip install gooey
- to prevent building wxPython
#137
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
Changes from 3 commits
cd1cc82
e09f123
f6ac225
c8ae738
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
run: | ||
shell: bash -l {0} | ||
|
||
runs-on: ubuntu-latest | ||
runs-on: macos-latest | ||
steps: | ||
- name: Check out diffpy.labpdfproc repository | ||
uses: actions/checkout@v4 | ||
|
@@ -32,15 +32,11 @@ jobs: | |
conda config --set always_yes yes | ||
--set changeps1 no | ||
|
||
- name: Install libgtk for Linux | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Restore There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgtk-3-dev | ||
|
||
- name: Install diffpy.labpdfproc and requirements | ||
run: | | ||
conda install --file requirements/test.txt | ||
pip install -r requirements/pip.txt | ||
conda install --file requirements/conda.txt | ||
pip install gooey | ||
python -m pip install . --no-deps | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ numpy | |
diffpy.utils | ||
pandas | ||
scipy | ||
gooey | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed gooey from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we need to add wxpython to conda.txt There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, done. |
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 turns out
wxpython
needs to be built for linux since no native whl is provided while we have windows/macos whl files provided shown below:Since @yucongalicechen and I test using macOS, what if we setup a MacOS CI instead?
Ref:
https://pypi.org/project/wxPython/#files
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.
Move back to Linux after we add wxpython to conda.txt