-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4255 from pypa/bugfix/4226
- Loading branch information
Showing
73 changed files
with
9,383 additions
and
798 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed a bug which prevented resolution of direct URL dependencies which have PEP508 style direct url VCS sub-dependencies with subdirectories. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
``Requires-Python`` values specifying constraint versions of python starting from ``1.x`` will now be parsed successfully. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Updated vendored dependencies to latest versions for security and bug fixes: | ||
|
||
- **requirementslib** ``1.5.8`` => ``1.5.9`` | ||
- **vistir** ``0.5.0`` => ``0.5.1`` | ||
- **jinja2** ``2.11.1`` => ``2.11.2`` | ||
- **click** ``7.1.1`` => ``7.1.2`` | ||
- **dateutil** ``(none)`` => ``2.8.1`` | ||
- **backports.functools_lru_cache** ``1.5.0`` => ``1.6.1`` | ||
- **enum34** ``1.1.6`` => ``1.1.10`` | ||
- **toml** ``0.10.0`` => ``0.10.1`` | ||
- **importlib_resources** ``1.4.0`` => ``1.5.0`` |
This file contains 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,4 +76,4 @@ | |
# literals. | ||
disable_unicode_literals_warning = False | ||
|
||
__version__ = "7.1.1" | ||
__version__ = "7.1.2" |
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Copyright 2017- Paul Ganssle <paul@ganssle.io> | ||
Copyright 2017- dateutil contributors (see AUTHORS file) | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
|
||
The above license applies to all contributions after 2017-12-01, as well as | ||
all contributions that have been re-licensed (see AUTHORS file for the list of | ||
contributors who have re-licensed their code). | ||
-------------------------------------------------------------------------------- | ||
dateutil - Extensions to the standard Python datetime module. | ||
|
||
Copyright (c) 2003-2011 - Gustavo Niemeyer <gustavo@niemeyer.net> | ||
Copyright (c) 2012-2014 - Tomi Pieviläinen <tomi.pievilainen@iki.fi> | ||
Copyright (c) 2014-2016 - Yaron de Leeuw <me@jarondl.net> | ||
Copyright (c) 2015- - Paul Ganssle <paul@ganssle.io> | ||
Copyright (c) 2015- - dateutil contributors (see AUTHORS file) | ||
|
||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
* Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
The above BSD License Applies to all code, even that also covered by Apache 2.0. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# -*- coding: utf-8 -*- | ||
try: | ||
from ._version import version as __version__ | ||
except ImportError: | ||
__version__ = 'unknown' | ||
|
||
__all__ = ['easter', 'parser', 'relativedelta', 'rrule', 'tz', | ||
'utils', 'zoneinfo'] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
""" | ||
Common code used in multiple modules. | ||
""" | ||
|
||
|
||
class weekday(object): | ||
__slots__ = ["weekday", "n"] | ||
|
||
def __init__(self, weekday, n=None): | ||
self.weekday = weekday | ||
self.n = n | ||
|
||
def __call__(self, n): | ||
if n == self.n: | ||
return self | ||
else: | ||
return self.__class__(self.weekday, n) | ||
|
||
def __eq__(self, other): | ||
try: | ||
if self.weekday != other.weekday or self.n != other.n: | ||
return False | ||
except AttributeError: | ||
return False | ||
return True | ||
|
||
def __hash__(self): | ||
return hash(( | ||
self.weekday, | ||
self.n, | ||
)) | ||
|
||
def __ne__(self, other): | ||
return not (self == other) | ||
|
||
def __repr__(self): | ||
s = ("MO", "TU", "WE", "TH", "FR", "SA", "SU")[self.weekday] | ||
if not self.n: | ||
return s | ||
else: | ||
return "%s(%+d)" % (s, self.n) | ||
|
||
# vim:ts=4:sw=4:et |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# coding: utf-8 | ||
# file generated by setuptools_scm | ||
# don't change, don't track in version control | ||
version = '2.8.1' |
Oops, something went wrong.