From 996ae5cb6b7994592ff20e1bd2d343f850cbf172 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 27 Nov 2023 23:07:38 +0900 Subject: [PATCH] Remove workaround for Python 2 ... because Python 2 is no longer supported. Also remove a few old comments which are no longer valid. Change-Id: I34401721537d671ae71110fb22de9b1d5b908f0c --- requirements.txt | 3 --- setup.py | 8 -------- test-requirements.txt | 3 --- 3 files changed, 14 deletions(-) diff --git a/requirements.txt b/requirements.txt index 185a539..b039f76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,3 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 pystache>=0.5.4 # MIT diff --git a/setup.py b/setup.py index 566d844..0fa6510 100644 --- a/setup.py +++ b/setup.py @@ -13,16 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools -# In python < 2.7.4, a lazy loading of package `pbr` will break -# setuptools if some other modules registered functions in `atexit`. -# solution from: http://bugs.python.org/issue15881#msg170215 -try: - import multiprocessing # noqa -except ImportError: - pass setuptools.setup( setup_requires=['pbr>=2.0.0'], diff --git a/test-requirements.txt b/test-requirements.txt index 8c73397..391f611 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +1,3 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. hacking>=4.0.0,<4.1.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0