Skip to content

Introduce packaging.tags#156

Merged
dstufft merged 50 commits into
pypa:masterfrom
brettcannon:tags
May 10, 2019
Merged

Introduce packaging.tags#156
dstufft merged 50 commits into
pypa:masterfrom
brettcannon:tags

Conversation

@brettcannon

Copy link
Copy Markdown
Member

Add support for PEP 425: Compatibility Tags for Built Distributions.

Closes #83

@njsmith njsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome to see this moving forward :-). A few comments below.

Are you planning to switch pip over to using this?

Comment thread packaging/tags.py Outdated
Comment thread packaging/tags.py
Comment thread docs/tags.rst Outdated
@dstufft dstufft assigned dstufft and unassigned dstufft Dec 16, 2018
@dstufft dstufft self-requested a review December 16, 2018 04:59
@dstufft

dstufft commented Dec 16, 2018

Copy link
Copy Markdown
Member

Just to set expectations, I'm probably not going to get to looking at this until Christmas-ish. It's significant new functionality and it'll take me a bit to ramp up on it.

@brettcannon

Copy link
Copy Markdown
Member Author

@dstufft Thanks for the update and no problem from my end. Have a happy holidays!

@brettcannon

Copy link
Copy Markdown
Member Author

OK, the PR now passes CI! Over to you, @dstufft 😁

@brettcannon

Copy link
Copy Markdown
Member Author

Anything I can do to help move this forward, @dstufft ? Do you want me to break this up somewhat? I could do platform-independent stuff and then do separate PRs for Windows, Linux, and macOS if that would help get this reviewed.

@dstufft

dstufft commented Feb 13, 2019

Copy link
Copy Markdown
Member

No, I just forgot about it. I'll take a look at it later this week. Thanks for the reminder!

@brettcannon

Copy link
Copy Markdown
Member Author

I now have a use for this at work, so I'm prodding again about what I can do to help get this reviewed.

@dstufft dstufft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Made some comments. I feel really bad about how long I left this sit, so feel free to push back on things if reworking them would require a bunch of additional effort. Overall I think the structure here is fairly reasonable.

Comment thread packaging/tags.py Outdated
Comment thread packaging/tags.py
Comment thread packaging/tags.py Outdated
Comment thread packaging/tags.py
Comment thread packaging/tags.py Outdated
Comment thread packaging/tags.py
Comment thread packaging/tags.py Outdated
Comment thread packaging/tags.py Outdated
Comment thread packaging/tags.py
@brettcannon

Copy link
Copy Markdown
Member Author

@dstufft PTAL

@dstufft dstufft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome. This looks great ✨ Sorry that it took so long to get reviewed.

@dstufft dstufft merged commit 76bc450 into pypa:master May 10, 2019
@brettcannon brettcannon deleted the tags branch May 10, 2019 20:36
@brettcannon

Copy link
Copy Markdown
Member Author

Thanks for landing this! And no problem about the time, just glad it worked out in the end.

ptmcg pushed a commit to ptmcg/packaging that referenced this pull request Aug 6, 2019
jsirois added a commit to jsirois/packaging that referenced this pull request May 27, 2026
This was introduced in pypa#156 and appears to originate in CPython via
distutils via python/cpython@bea37aee6b2d.
Afaict this was likely a Windows-user Freudian file-system slip but
never was an issue since the PR was in 2019 which was well past the
~2009 3-way fat binary era.

C.F.:
+ Assume packaging was right and this was a spec bug 1st:
  pypa/packaging.python.org#2062 (review)
+ Original CPython Issue introducing fat3:
  https://bugs.python.org/issue6245
brettcannon pushed a commit that referenced this pull request May 28, 2026
This was introduced in #156 and appears to originate in CPython via
distutils via python/cpython@bea37aee6b2d.
Afaict this was likely a Windows-user Freudian file-system slip but
never was an issue since the PR was in 2019 which was well past the
~2009 3-way fat binary era.

C.F.:
+ Assume packaging was right and this was a spec bug 1st:
  pypa/packaging.python.org#2062 (review)
+ Original CPython Issue introducing fat3:
  https://bugs.python.org/issue6245
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.

Lift pip.pep425tags into packaging

5 participants