Skip to content

Commit 6765f62

Browse files
committed
downloads: upgrade setuptools to 49.6.0
As part of this we needed to update a patch so it applies against the new version of the vendored packaging package.
1 parent 5aefe54 commit 6765f62

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

cpython-unix/build-cpython.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,12 @@ index ec9942f0..1b306ca7 100644
327327
--- a/setuptools/_vendor/packaging/tags.py
328328
+++ b/setuptools/_vendor/packaging/tags.py
329329
@@ -283,7 +283,10 @@ def _glibc_version_string():
330-
# manpage says, "If filename is NULL, then the returned handle is for the
331-
# main program". This way we can let the linker do the work to figure out
332330
# which libc our process is actually using.
333-
- process_namespace = ctypes.CDLL(None)
331+
#
332+
# Note: typeshed is wrong here so we are ignoring this line.
333+
- process_namespace = ctypes.CDLL(None) # type: ignore
334334
+ try:
335-
+ process_namespace = ctypes.CDLL(None)
335+
+ process_namespace = ctypes.CDLL(None) # type: ignore
336336
+ except OSError:
337337
+ return None
338338
try:

pythonbuild/downloads.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,10 @@
276276
"version": "1.30.1",
277277
},
278278
"setuptools": {
279-
"url": "https://files.pythonhosted.org/packages/b5/96/af1686ea8c1e503f4a81223d4a3410e7587fd52df03083de24161d0df7d4/setuptools-46.1.3.zip",
280-
"size": 862431,
281-
"sha256": "795e0475ba6cd7fa082b1ee6e90d552209995627a2a227a47c6ea93282f4bfb1",
282-
"version": "46.1.3",
279+
"url": "https://files.pythonhosted.org/packages/38/cc/db23dbe4efc464c3c0111fedf7d46de8888f05b09488d610f6f8ab6e2544/setuptools-49.6.0.zip",
280+
"size": 2188590,
281+
"sha256": "46bd862894ed22c2edff033c758c2dc026324788d758e96788e8f7c11f4e9707",
282+
"version": "49.6.0",
283283
},
284284
"sqlite": {
285285
"url": "https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz",

0 commit comments

Comments
 (0)