From 6c14094fc0b286558338ef95b37cf7ed619cf136 Mon Sep 17 00:00:00 2001 From: Miguel Garcia Garcia Date: Wed, 21 Aug 2024 11:20:28 +0200 Subject: [PATCH] setup: do not use a fixed urllib3 version * ref: https://github.com/cern-sis/issues-inspire/issues/521 --- .github/workflows/test-python-2.yml | 1 - setup.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test-python-2.yml b/.github/workflows/test-python-2.yml index 5c340ce..fed765e 100644 --- a/.github/workflows/test-python-2.yml +++ b/.github/workflows/test-python-2.yml @@ -23,7 +23,6 @@ jobs: wget https://bootstrap.pypa.io/pip/2.7/get-pip.py ${{ matrix.python }} get-pip.py ${{ matrix.python }} -m ${{ matrix.pip }} install --user --upgrade pip - ${{ matrix.python }} -m ${{ matrix.pip }} --no-cache-dir install --user setuptools wheel "urllib3==1.25.11" ${{ matrix.python }} -m ${{ matrix.pip }} --no-cache-dir install --user -e .[tests,elasticsearch5] - name: Show python dependencies diff --git a/setup.py b/setup.py index 5d2a980..ae58972 100644 --- a/setup.py +++ b/setup.py @@ -36,8 +36,7 @@ 'nameparser~=1.1,>=1.1.3; python_version >= "3.6"', "python-dateutil~=2.0,>=2.6.1", "six~=1.0,>=1.10.0", - "urllib3~=1.0,<=1.26.12", - "inspire_schemas", + "inspire_schemas @ git+https://github.com/miguelgrc/inspire-schemas.git@bump-urllib3#egg=inspire_schemas", "scrapy", "pylatexenc", ]