Skip to content

Instantly share code, notes, and snippets.

@jaraco
Last active June 22, 2022 18:40
Show Gist options
  • Save jaraco/0979d634f4269781132f55c0721e7ce3 to your computer and use it in GitHub Desktop.
Save jaraco/0979d634f4269781132f55c0721e7ce3 to your computer and use it in GitHub Desktop.
empty string is the null specifier set
~ $ pip-run -q packaging -- -c 'from packaging import requirements; print(repr(requirements.Requirement("example").specifier))'
<SpecifierSet('')>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment