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

Fix setup.py import of versioneer w/ PEP 517 #3757

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thesamesam
Copy link

Same issue as dandi/dandi-cli#998.

If versioneer is installed on the system, by appending our copy
to the import path, we're going to end up colliding and mixing-and-matching.

We always want to use the local copy vendored in tree.

Bug: https://bugs.gentoo.org/841002
Signed-off-by: Sam James sam@gentoo.org

Code PR

  • I have read through the contributing notes and understand the structure of the package. In particular, if my PR modifies code of plotly.graph_objects, my modifications concern the codegen files and not generated files.
  • I have added a CHANGELOG entry if fixing/changing/adding anything substantial.
Same issue as dandi/dandi-cli#998.

If versioneer is installed on the system, by appending our copy
to the import path, we're going to end up colliding and mixing-and-matching.

We always want to use the local copy vendored in tree.

Bug: https://bugs.gentoo.org/841002
Signed-off-by: Sam James <sam@gentoo.org>
@thesamesam
Copy link
Author

The CI failure is unrelated.

@nicolaskruchten
Copy link
Contributor

Hi there!

Sorry this is so late, I'm sweeping through long-opened PRs... Can you please expand a little bit on how this change solves the problem you're seeing? I'm not sure I understand...

Thanks!
Nicolas

@gvwilson gvwilson self-assigned this Jul 5, 2024
@thesamesam
Copy link
Author

thesamesam commented Jul 6, 2024

Hi, honestly, I'd completely forgot about this.

I think versioneer was installed on the system but the copy inside plotly.py was importing a mixture of the one in the source directory and the system one. It's the same thing as at dandi/dandi-cli#998 (comment) -- I think it shows up more if the versions are pretty diverged.

@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added P2 needed for current cycle fix fixes something broken labels Aug 12, 2024
@gvwilson
Copy link
Contributor

@T4rk1n can you please have a look and let us know if this is the desired behavior? thanks - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix fixes something broken P2 needed for current cycle
4 participants