-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix package CI for pysam errors. #13644
Conversation
I hoped you knew some trick to make pysam's type annotations work 😢 I had a look and it seems to be there in the .pyi files, not sure why it's not picked up by mypy. Maybe @mr-c has an idea? |
Got a link to the error message? |
@mr-c It's in the issue description. |
Possibly due to use of star imports in
There is no But there is a So either pysam needs to fill out |
@mr-c Thanks for investigating! I had a look at your option 2 yesterday, but I have a feeling that wouldn't work:
|
I don't think that |
Oh, you're right, importing from the submodules seems to work! Thanks a bunch!! |
Interestingly, these errors seem to go away when upgrading from mypy 0.910 (version we currently pin) to >= 0.940 . Unfortunately, the new version also finds 13 new errors, so we'd need to take a look at those, but probably that's still the better option. |
Heh. Progress! |
@nsoranzo are you working through that upgrade or would like me to? I always assumed this was a short term stop gap. |
@jmchilton I'm on it, thanks! |
Fix CircleCI for now? Pin pysam since 0.19.0 seems to have incomplete type definitions.
Failed build example: https://app.circleci.com/pipelines/github/galaxyproject/galaxy/22088/workflows/f9d6b681-da6d-4e0e-9867-baeb1fc73968/jobs/167487
How to test the changes?
(Select all options that apply)
License