libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [libcloud] mgorny opened a new pull request #1606: Fix invalid python_requires
Date Thu, 23 Sep 2021 07:52:54 GMT

mgorny opened a new pull request #1606:

   Fix python_requires to use >=3.5 instead of >=3.5.*, as the latter
   is invalid.  It caused distlib to crash:
   $ python -c "import distlib.database; list(distlib.database.DistributionPath(include_egg=True).get_distributions())"
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "/usr/lib/python3.8/site-packages/distlib/", line 213, in get_distributions
     File "/usr/lib/python3.8/site-packages/distlib/", line 167, in _generate_cache
       for dist in self._yield_distributions():
     File "/usr/lib/python3.8/site-packages/distlib/", line 157, in _yield_distributions
       yield old_dist_class(r.path, self)
     File "/usr/lib/python3.8/site-packages/distlib/", line 879, in __init__
       metadata = self._get_metadata(path)
     File "/usr/lib/python3.8/site-packages/distlib/", line 965, in _get_metadata
     File "/usr/lib/python3.8/site-packages/distlib/", line 1039, in add_requirements
     File "/usr/lib/python3.8/site-packages/distlib/", line 575, in add_requirements
       self['Requires-Dist'] += requirements
     File "/usr/lib/python3.8/site-packages/distlib/", line 276, in __setitem__
       return self.set(name, value)
     File "/usr/lib/python3.8/site-packages/distlib/", line 453, in set
       if not scheme.is_valid_matcher(v.split(';')[0]):
     File "/usr/lib/python3.8/site-packages/distlib/", line 703, in is_valid_matcher
     File "/usr/lib/python3.8/site-packages/distlib/", line 115, in __init__
       raise ValueError('\'.*\' not allowed for '
   ValueError: '.*' not allowed for '>=' constraints
   ## Changes Title (replace this with a logical title for your changes)
   ### Description
   Replace this with the PR description (mention the changes you have made, why
   you have made them, provide some background and any references to the provider
   documentation if needed, etc.).
   For more information on contributing, please see [Contributing](
   section of our documentation.
   ### Status
   Replace this: describe the PR status. Examples:
   - work in progress
   - done, ready for review
   ### Checklist (tick everything that applies)
   - [ ] [Code linting](
(required, can be done after the PR checks)
   - [ ] Documentation
   - [ ] [Tests](
   - [ ] [ICLA](
(required for bigger changes)

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail:

For queries about this service, please contact Infrastructure at:

View raw message