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

MNT: stop install wrong pyca package through pip, and enabled psp test which uses pyca's psp library #1136

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nstelter-slac
Copy link
Collaborator

@nstelter-slac nstelter-slac commented Dec 4, 2024

This test can be enabled now that we are using correct pyca package from
conda.

Installing correct library and enabling test fixes issue where a user
downloads pydm and runs the tests with pytest cmd directly (instead of
run_tests.py), only to see 'no module named psp' failure. This failure seems to suggest
to user to 'pip install psp', which is entirely the wrong package and
just leads to further confusion.

@nstelter-slac nstelter-slac changed the title MNT: stop install wrong pyca package through pip MNT: stop install wrong pyca package through pip, and enabled related psp test Dec 4, 2024
@nstelter-slac nstelter-slac changed the title MNT: stop install wrong pyca package through pip, and enabled related psp test MNT: stop install wrong pyca package through pip, and enabled psp test which uses pyca's psp library Dec 4, 2024
@nstelter-slac nstelter-slac force-pushed the pyca_fix branch 4 times, most recently from 1674763 to bc3550b Compare December 4, 2024 02:53
@nstelter-slac
Copy link
Collaborator Author

nstelter-slac commented Dec 4, 2024

"works on my machine", need to figure why failing automation

also not sure how much issue it is to revert epicscorelibs in order to have pyca...

@nstelter-slac nstelter-slac force-pushed the pyca_fix branch 2 times, most recently from 89d0b67 to 44e03c3 Compare January 7, 2025 22:36
@nstelter-slac
Copy link
Collaborator Author

nstelter-slac commented Jan 7, 2025

this patch is blocked for now,
pyca with python >3.8 won't build when linking pip to github, and won't successfully install when using the conda package. (with 3.8 it works, but 3.8 is eol and pydm is not longer supporting it)

@ZLLentz
Copy link
Member

ZLLentz commented Jan 7, 2025

Do I need to make some updates to pyca's packaging? I've been putting this off for a while.

The correct package is on github: https://github.com/slaclab/pyca
and on coda: https://anaconda.org/conda-forge/pyca.

Need to switch to using correct package, which will
fix 'psp' plugin related tests. (psp is part of pyca)

Installing correct library and enabling test fixes issue where a user
downloads pydm and runs the tests with pytest cmd directly (instead of
run_tests.py), only to see 'no module named psp' failure. This failure seems to suggest
to user to 'pip install psp', which is the wrong package and confusing.
@ZLLentz
Copy link
Member

ZLLentz commented Jan 23, 2025

btw @tangkong very recently fixed the pyca builds. It should install via pip from github or from the recently updated conda forge build.

@nstelter-slac nstelter-slac marked this pull request as ready for review January 23, 2025 18:39
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