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

Use pip install in GitHub CI to support Gooey for Python 3.13 conda env #134

Merged
merged 4 commits into from
Nov 22, 2024

Conversation

bobleesj
Copy link
Contributor

@bobleesj bobleesj commented Nov 21, 2024

The current PR #130 fails since it attempts to conda install the Gooey package. However, Gooey's latest conda package support up to py3.10 while the current CI sets up a py3.13 env.

Constraint

  • We do not want to downgrade labpdfproc Python support down to Py3.10..

Solution

  • Download Gooey via pip package (pure Python) which supports Py3.13

Impact

  • This means that for labpdfproc, we might have to change the README instructions on how to install labpdfproc.

After this PR is merged I will create an GH issue here to ensure we use the reusable CI workflows once Gooey supports 3.13

Copy link

Warning! No news item is found for this PR. If this is a user-facing change/feature/fix,
please add a news item by copying the format from news/TEMPLATE.rst.

- name: Install diffpy.labpdfproc and requirements
run: |
conda install --file requirements/test.txt
pip install -r requirements/pip.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

pip install under pip.txt

- name: Install diffpy.labpdfproc and requirements
run: |
conda install --file requirements/test.txt
pip install -r requirements/pip.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

pip install under pip.txt

@bobleesj
Copy link
Contributor Author

Will fix codecov problem in Tests on PR

@bobleesj
Copy link
Contributor Author

Yes, Tests on PR now passing. @sbillinge ready for review

Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.31%. Comparing base (617f06d) to head (0a8c606).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #134   +/-   ##
=======================================
  Coverage   99.31%   99.31%           
=======================================
  Files           6        6           
  Lines         293      293           
=======================================
  Hits          291      291           
  Misses          2        2           
---- 🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants