This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildbot: fix check() with Python 3.9
Upstream issue: pypa/setuptools#2086 git-svn-id: file:///srv/repos/svn-community/svn@753826 9fca08f4-af9d-4005-b8df-a31f2cc04f65
- Loading branch information
yan12125
committed
Nov 13, 2020
1 parent
310a3f8
commit 0f57161
Showing
3 changed files
with
17 additions
and
18 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 |
---|---|---|
|
@@ -28,13 +28,13 @@ source=("https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbo | |
"git+https://github.com/buildbot/buildbot-contrib.git#commit=$_bb_contrib_commit" | ||
"reproducible-html.diff" | ||
"sqlalchemy-1.13.18.diff" | ||
"ignore-setuptools-warning.diff") | ||
"ignore-lib2to3-deprecated.diff") | ||
sha256sums=('b8c1d807d89dc220422843d7043831ee35ca03dfd7fd4da5a4f73899dffa1849' | ||
'SKIP' | ||
'SKIP' | ||
'b921d29994eff3af134ca1b37acf291a6a95f5da35a2a4f885557adcca22f864' | ||
'cd6119e8f8346ad2bcfedb3bfdbfcdcbb9908ea1db9f3ec09d323f6c9d13d9df' | ||
'd09f851fb1a50f99d407ea79fa25a90ec0f70b593983108468c87fee8b3cc476') | ||
'30a29f954560ce3edf36307a5fa5b54874739330aad04841dbdca8ec8948667f') | ||
validpgpkeys=( | ||
'390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <[email protected]> (@tardyp on GitHub) | ||
'FD0004A26EADFE43A4C3F249C6F7AE200374452D' # Povilas Kanapickas <[email protected]> (@p12tic on GitHub) | ||
|
@@ -44,10 +44,7 @@ prepare() { | |
cd buildbot-$pkgver | ||
patch -Np1 -i ../reproducible-html.diff | ||
patch -Np1 -i ../sqlalchemy-1.13.18.diff | ||
# Setuptools 49.2.0 complains if distutils is imported earlier than setuptools | ||
# The warning is still under discussion, so just ignore it for now | ||
# https://github.com/pypa/setuptools/issues/2259 | ||
patch -Np1 -i ../ignore-setuptools-warning.diff | ||
patch -Np1 -i ../ignore-lib2to3-deprecated.diff | ||
|
||
# HACK: do not use virtualenv | ||
sed -i -e 's#frontend_deps:.*#frontend_deps:#' Makefile | ||
|
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,14 @@ | ||
diff --git a/master/buildbot/test/__init__.py b/master/buildbot/test/__init__.py | ||
index 29eb4557a..700517edd 100644 | ||
--- a/master/buildbot/test/__init__.py | ||
+++ b/master/buildbot/test/__init__.py | ||
@@ -134,3 +134,9 @@ warnings.filterwarnings('ignore', ".*Not importing directory .*/zope: missing __ | ||
category=ImportWarning) | ||
warnings.filterwarnings('ignore', ".*Not importing directory .*/sphinxcontrib: missing __init__", | ||
category=ImportWarning) | ||
+ | ||
+# ignore warnings from importing lib2to3 via buildbot_pkg -> | ||
+# setuptools.command.build_py -> setuptools.lib2to3_ex -> lib2to3 | ||
+# https://github.com/pypa/setuptools/issues/2086 | ||
+warnings.filterwarnings('ignore', ".*lib2to3 package is deprecated", | ||
+ category=PendingDeprecationWarning) |
This file was deleted.
Oops, something went wrong.