Skip to content

Commit 1287446

Browse files
committed
feat: update vendored module distlib: 0.2.9.post0->0.3.9
Signed-off-by: Stephen Mackenzie <maxnbk@users.noreply.github.com>
1 parent 4c914e5 commit 1287446

27 files changed

+1186
-5135
lines changed

src/rez/vendor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ Updated (April 2025) to help address py3.12 update.
6565
<tr><td>
6666
distlib
6767
</td><td>
68-
0.2.9.post0 (May 14, 2019)
68+
0.3.9 (Oct 29, 2024)
6969
</td><td>
7070
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
7171
</td><td>
7272
https://bitbucket.org/pypa/distlib/src/master/<br>
73-
Updated (June 2019) to enable wheel distribution based installations.
73+
Updated (April 2025) to help address py3.12 update.
7474
</td></tr>
7575

7676
<!-- ######################################################### -->
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,5 +282,3 @@ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
282282
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
283283
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
284284
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
285-
286-

src/rez/vendor/distlib/__init__.py

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,33 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (C) 2012-2019 Vinay Sajip.
3+
# Copyright (C) 2012-2023 Vinay Sajip.
44
# Licensed to the Python Software Foundation under a contributor agreement.
55
# See LICENSE.txt and CONTRIBUTORS.txt.
66
#
77
import logging
88

9-
__version__ = '0.2.9.post0'
9+
__version__ = '0.3.9'
10+
1011

1112
class DistlibException(Exception):
1213
pass
1314

15+
1416
try:
1517
from logging import NullHandler
16-
except ImportError: # pragma: no cover
18+
except ImportError: # pragma: no cover
19+
1720
class NullHandler(logging.Handler):
18-
def handle(self, record): pass
19-
def emit(self, record): pass
20-
def createLock(self): self.lock = None
21+
22+
def handle(self, record):
23+
pass
24+
25+
def emit(self, record):
26+
pass
27+
28+
def createLock(self):
29+
self.lock = None
30+
2131

2232
logger = logging.getLogger(__name__)
2333
logger.addHandler(NullHandler())

src/rez/vendor/distlib/_backport/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/rez/vendor/distlib/_backport/misc.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)