Skip to content

BLD: Install pyca from PyPI #1246

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

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

Conversation

jbellister-slac
Copy link
Collaborator

Context

With pyca available on PyPI now here:

https://pypi.org/project/pyca-epics/

This just reverts the temporary change from #1211 and adds it back as a PyPI installable package in both the dev-requirements.txt file and our testing workflow.

…nd install it from PyPI during our testing workflows
…Only Windows doesn't have support for the other optional EPICS client packages now.
@jbellister-slac jbellister-slac marked this pull request as draft May 1, 2025 19:03
@tangkong
Copy link
Contributor

tangkong commented May 9, 2025

Interesting that the macos pyca installs are failing here, particularly since I was testing this locally on my mac...

Details

(pyca)roberttk@PC100147:~$ pip install pyca-epics
...
Downloading pyca_epics-3.3.3-cp312-cp312-macosx_11_0_arm64.whl (698 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 698.7/698.7 kB 10.8 MB/s eta 0:00:00
Installing collected packages: pyca-epics
Successfully installed pyca-epics-3.3.3
(cd into my env...)
(pyca)roberttk@PC100147:~/miniconda3/envs/pyca/lib/python3.12/site-packages/epicscorelibs/lib$ ll
total 48696
drwxrwxr-x  31 roberttk  1704612529      992 May  9 10:11 .
drwxrwxr-x  20 roberttk  1704612529      640 May  9 10:11 ..
-rw-rw-r--   1 roberttk  1704612529      342 May  9 10:11 Com_dsoinfo.py
-rw-rw-r--   1 roberttk  1704612529        0 May  9 10:11 __init__.py
drwxrwxr-x  12 roberttk  1704612529      384 May  9 10:11 __pycache__
-rw-rw-r--   1 roberttk  1704612529      362 May  9 10:11 ca_dsoinfo.py
-rw-rw-r--   1 roberttk  1704612529      398 May  9 10:11 dbCore_dsoinfo.py
-rw-rw-r--   1 roberttk  1704612529      432 May  9 10:11 dbRecStd_dsoinfo.py
-rwxrwxr-x   1 roberttk  1704612529  1013568 May  9 10:11 libCom.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529  1013568 May  9 10:11 libCom.dylib
-rwxrwxr-x   1 roberttk  1704612529   894976 May  9 10:11 libca.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529   894976 May  9 10:11 libca.dylib
-rwxrwxr-x   1 roberttk  1704612529  1271120 May  9 10:11 libdbCore.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529  1271120 May  9 10:11 libdbCore.dylib
-rwxrwxr-x   1 roberttk  1704612529   735552 May  9 10:11 libdbRecStd.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529   735552 May  9 10:11 libdbRecStd.dylib
-rwxrwxr-x   1 roberttk  1704612529  3468696 May  9 10:11 libpvAccess.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529  3468696 May  9 10:11 libpvAccess.dylib
-rwxrwxr-x   1 roberttk  1704612529   797120 May  9 10:11 libpvAccessCA.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529   797120 May  9 10:11 libpvAccessCA.dylib
-rwxrwxr-x   1 roberttk  1704612529   154568 May  9 10:11 libpvAccessIOC.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529   154568 May  9 10:11 libpvAccessIOC.dylib
-rwxrwxr-x   1 roberttk  1704612529  2941672 May  9 10:11 libpvData.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529  2941672 May  9 10:11 libpvData.dylib
-rwxrwxr-x   1 roberttk  1704612529  1152984 May  9 10:11 libqsrv.7.0.7.99.1.dylib
-rwxrwxr-x   1 roberttk  1704612529  1152984 May  9 10:11 libqsrv.dylib
-rw-rw-r--   1 roberttk  1704612529      468 May  9 10:11 pvAccessCA_dsoinfo.py
-rw-rw-r--   1 roberttk  1704612529      529 May  9 10:11 pvAccessIOC_dsoinfo.py
-rw-rw-r--   1 roberttk  1704612529      408 May  9 10:11 pvAccess_dsoinfo.py
-rw-rw-r--   1 roberttk  1704612529      398 May  9 10:11 pvData_dsoinfo.py
-rw-rw-r--   1 roberttk  1704612529      508 May  9 10:11 qsrv_dsoinfo.py
(pyca)roberttk@PC100147:~/miniconda3/envs/pyca/lib/python3.12/site-packages/epicscorelibs/lib$ sw_vers
ProductName:		macOS
ProductVersion:		14.7.2
BuildVersion:		23H311

@tangkong
Copy link
Contributor

tangkong commented May 9, 2025

Oh I think it might actually be epicscorelibs being pinned to a version below what pyca expects

Requirement already satisfied: epicscorelibs<7.0.7.99.1,>=7.0.7.99.0.0 in /Users/runner/miniconda3/envs/pydm-env/lib/python3.9/site-packages (from p4p->pydm==0.1.dev1+g67e780a) (7.0.7.99.0.0)

E Reason: tried: '/Users/runner/miniconda3/envs/pydm-env/lib/python3.9/site-packages/epicscorelibs/lib/libca.7.0.7.99.1.dylib' (no such file), '/Users/runner/miniconda3/envs/pydm-env/lib/python3.9/site-packages/epicscorelibs/lib/libca.7.0.7.99.1.dylib' (no such file),

That being said, I installed both packages on my mac and pip resolved epicscorelibs to a compatible version

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