Skip to content

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

Merged
sbillinge merged 4 commits into
diffpy:mainfrom
bobleesj:pip-ci
Nov 22, 2024
Merged

Use pip install in GitHub CI to support Gooey for Python 3.13 conda env#134
sbillinge merged 4 commits into
diffpy:mainfrom
bobleesj:pip-ci

Conversation

@bobleesj

@bobleesjbobleesj commented Nov 21, 2024

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown

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
Copy Markdown
ContributorAuthor

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
Copy Markdown
ContributorAuthor

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
Copy Markdown
ContributorAuthor

Will fix codecov problem in Tests on PR

@bobleesj

Copy link
Copy Markdown
ContributorAuthor

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

@codecov

codecovBot commented Nov 21, 2024

Copy link
Copy Markdown

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 freeto 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

@bobleesj@sbillinge