You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Module "semver" does not explicitly export attribute "Version" #410
Happy to submit a PR, do you think you could publish a fixed version of the package after this?
Please do! Happy to include it.
I notice you added some release tags to this issue, are you waiting on a particular set of features before publishing a new release?
That's just so I can find them. Nothing special to it. 😉
I can release a 3.1.0 (or 3.0.1) version if you need it.
Maybe you need strict mode for mypy to detect it?
That was my suspicion as well. I've tried the --strict option and it indeed found some issues. However, from what I could see, they are all unrelated to this specific issue.
Activity
tomschr commentedon Jun 13, 2023
Thank you @Soneji for your contribution. Much appreciated! 👍
Seems this is caused by a missing
__all__variable.It's strange that mypy doesn't detect it. When I run
tox -e mypythis error doesn't show up.Soneji commentedon Jun 13, 2023
Cool!
Happy to submit a PR, do you think you could publish a fixed version of the package after this?
I notice you added some release tags to this issue, are you waiting on a particular set of features before publishing a new release?
Soneji commentedon Jun 13, 2023
Maybe you need strict mode for mypy to detect it?
tomschr commentedon Jun 13, 2023
Please do! Happy to include it.
That's just so I can find them. Nothing special to it. 😉
I can release a 3.1.0 (or 3.0.1) version if you need it.
That was my suspicion as well. I've tried the
--strictoption and it indeed found some issues. However, from what I could see, they are all unrelated to this specific issue.Add Version class to __all__ export. Fix python-semver#410
Add Version class to __all__ export. Fix python-semver#410
Fix python-semver#410 Export all names in __all__ variable