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

Fixed compatibility issue in clicker #19

Merged
merged 5 commits into from
Jan 31, 2024
Merged

Conversation

ryottmp3
Copy link
Contributor

_clicker used python syntax that is only compatible with python 3.10+. I changed the syntax to be compatible with earlier versions. My research group uses this open source library with python 3.9.6 and are glad to contribute.
Package now requires the typing module as a dependency.

Committer Contact info:

H. Ryott Glayzer, she/her
email: [email protected]

H. Ryott Glayzer and others added 2 commits January 29, 2024 14:05
_clicker used python syntax that is only compatible with python 3.10+.
I changed the syntax to be compatible with earlier versions.
My research group uses this epon source library with python 3.9.6 and
are glad to contribute.
Package now requires the typing module as a dependency.

Committer Contact info:

H. Ryott Glayzer
email: [email protected]
Copy link
Collaborator

@ianhi ianhi left a comment

Choose a reason for hiding this comment

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

Hi Ryott,

thanks for opening a PR to fix this! Sorry I i foolishly didn't test older python versions, that was a mistake.

I'd prefer to fix this by putting a from __future__ import annotations at the top of the file rather than using the older syntax.

If you have time could you change to that fix? If you don't have the time that's also ok, just let me know and I'll take this PR to the finish line

@ryottmp3
Copy link
Contributor Author

ryottmp3 commented Jan 31, 2024 via email

setup.cfg Outdated Show resolved Hide resolved
Copy link
Collaborator

@ianhi ianhi left a comment

Choose a reason for hiding this comment

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

Thanks very much for the catch and the fix! I'll try to release a new version right after merge

@ianhi ianhi merged commit d7f1a3d into mpl-extensions:main Jan 31, 2024
3 checks passed
@ianhi
Copy link
Collaborator

ianhi commented Jan 31, 2024

Just released! on pypi as version 0.4.1 thanks again for the fix :) If there are ways it could be improved further for your usage please don't hesitate to open an issue or a pr

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