-
Notifications
You must be signed in to change notification settings - Fork 267
Expose various function in tags
publicly
#231
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
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
6bfc7bd
Update to mypy 0.740
brettcannon d703c2d
Change `Optional[bool]` to `bool` as `None` is not expected
brettcannon 0b9e724
Tweak docsstrings to follow the rest of the file
brettcannon c722ee0
Make linters happy
brettcannon 8c2c701
Initial implementation of public *_tags() functions
brettcannon fb58d28
Tweak a test name
brettcannon 4494b1c
Add tests for cpython_tags()
brettcannon d5f8730
Add tests for pypy_tags()
brettcannon 2495a36
Add tests for generic_tags()
brettcannon 5ccac11
Add tests for compatible_tags()
brettcannon ff3e41f
Type _generic_interpreter()
brettcannon 9f398c5
Add tests for _platform()
brettcannon 8f54af0
Remove now-dead code
brettcannon 11b9bed
Fix the docstring for _py_interpreter_range()
brettcannon c8e90d9
Expose mac_platforms() publicly
brettcannon c091101
Make some type hints on parameters more readable
brettcannon f50ce38
Fix some whitespace
brettcannon d0b5b56
Fix up tests for mac_platforms() exposure and making platform functio…
brettcannon 5ef9af0
Document new public functions
brettcannon c59e596
Fix tests
brettcannon defe719
Remove an extra blank line
brettcannon ab7cc6d
Fix spelling mistake
brettcannon c952f2c
Fix a grammar mistake
brettcannon 1fbecf2
Fix spelling mistake
brettcannon 123c1e6
Fix a grammar mistake
brettcannon 818cd09
Fix spelling mistake
brettcannon b168c09
Provide an interpreter name example
brettcannon b31be53
Tweak phrasing on adding "none" ABI automatically
brettcannon 7277b5d
Simplify handling of "none" ABI
brettcannon 36c2d81
Tweak how we say mac_platforms() is special
brettcannon df7751d
Rename _platforms() to _platform_tags()
brettcannon 6c81919
Clarify what generic_tags() is for
brettcannon ff384e8
Rename _warn_parameters()
brettcannon 3f57469
Clarify a comment
brettcannon 1559ffc
Use backticks instead of * for parameters
brettcannon bc53e90
Fix a syntax hiccup
brettcannon adea500
Use `` over * for parameters
brettcannon 205ee20
Drop PyPy-specific code
brettcannon ddc23de
Touch up _generic_abi()
brettcannon 8f08a0a
Add tests that we are getting back iterators
brettcannon 559cfa0
Merge branch 'master' into expose-tags
brettcannon 5b65b05
Merge remote-tracking branch 'origin/master' into expose-tags
brettcannon 5677fc1
Make Python 2.7 happy
brettcannon 40b2eb7
Group tests
brettcannon a6dfaf5
Merge branch 'master' of github.com:pypa/packaging into expose-tags
brettcannon 443a209
Remove unnecessary trailing newline
brettcannon 20311bb
Make tests more granular
brettcannon bb54afd
Touch up the docs
brettcannon 5329072
Expose interpreter_name()
brettcannon c51ca15
Be more strict about default ABIs
brettcannon 7dc1b66
Use `None` as the default for python_version
brettcannon 1350516
Fix a typing typo
brettcannon 68ea56f
Accept major-only Python versions
brettcannon a295307
Fix compatibility_tags() tests to actually run
brettcannon 4331ec5
Add a test case for cpython_tags() w/ default ABI and major-only Pyth…
brettcannon 7603a49
Run Black
brettcannon e62f138
Add interpreter_version()
brettcannon 61666fa
Deal with a type ambiguity
brettcannon 42814d1
Make Python 2.7 happy
brettcannon b7e61cd
Run Black
brettcannon 66f13d9
Make Python 2.7 happy some more
brettcannon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.