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

Future support #1512

Merged
merged 9 commits into from
May 23, 2022
Merged

Future support #1512

merged 9 commits into from
May 23, 2022

Conversation

tacaswell
Copy link
Contributor

This is the start of work to support future versions of Python + QT + databroker

Copy link
Member

@mrakitin mrakitin left a comment

Choose a reason for hiding this comment

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

Looks good to me. Just a quick question: do we install pyqt6 anywhere to test both versions?

@tacaswell
Copy link
Contributor Author

we can pip install pyqt6, do you think it is worth an extra CI job?

Testing both in one process is between a very bad idea (because it might crash) and impossible (because it will crash).

@mrakitin
Copy link
Member

I think we can have an extra job in CI for that case (for Python 3.7 only probably as https://pypi.org/project/PyQt6/6.3.0/#files has the wheels only for that version). Do we want to maintain a separate requirements-dev.txt with PyQt6? Right now we have PyQt5 listed there.

The current development branch of databroker does no have `temp` anymore.
Continues to rely on Matplotlib's compat layer
Use strings not floats
Only happens on py310.  Databroker is moving away from intake so just skip.
@tacaswell
Copy link
Contributor Author

I added pyqt6 to py310 and if pyqt6 is installed mpl 3.5 and up will pick it automatically.

@tacaswell tacaswell requested a review from mrakitin May 12, 2022 22:01
Copy link
Member

@mrakitin mrakitin left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for the detailed docstring. I had a non-blocking and a more general question about abi3, but googling it helped me understand it (e.g. in https://pyo3.rs/v0.13.2/building_and_distribution.html#py_limited_apiabi3).

.github/workflows/testing.yml Show resolved Hide resolved
@mrakitin
Copy link
Member

@klauer, are you OK with this update? Let's have it in if there are no objections.

@klauer
Copy link
Member

klauer commented May 23, 2022

Nothing on my end 👍

@mrakitin
Copy link
Member

Thanks, Ken! I'll go ahead and will merge it then.

Thanks for the future support fix, @tacaswell!

@mrakitin mrakitin merged commit 85c5d92 into bluesky:master May 23, 2022
@tacaswell tacaswell deleted the future_support branch May 23, 2022 20:31
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.

None yet

3 participants