From 9dd1de4465354c4c1698d794802523c6f4aeb776 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Tue, 9 Jul 2024 10:35:51 +0200 Subject: [PATCH 01/26] get_oda_metadata more generic function --- oda_api/ontology_helper.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/oda_api/ontology_helper.py b/oda_api/ontology_helper.py index 7fb7dba1..d47c498c 100644 --- a/oda_api/ontology_helper.py +++ b/oda_api/ontology_helper.py @@ -400,6 +400,19 @@ def get_oda_label(self, param_uri): return label + def get_oda_metadata(self, param_uri, metadata): + if param_uri.startswith("http"): param_uri = f"<{param_uri}>" + + query = f"SELECT ?{metadata} WHERE {{{param_uri} oda:{metadata} ?{metadata}}}" + + qres = self.g.query(query) + + if len(qres) == 0: return None + + metadata_value = " ".join([str(x[0]) for x in qres]) + + return metadata_value + def is_data_product(self, owl_uri, include_parameter_products=True): if owl_uri.startswith("http"): owl_uri = f"<{owl_uri}>" From 3c8e3a18fefd3529c5cbd8b25f5a1e199fb52eb7 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Tue, 9 Jul 2024 10:37:10 +0200 Subject: [PATCH 02/26] test --- tests/test_ontology.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/test_ontology.py b/tests/test_ontology.py index 7abf41c8..3a36db05 100644 --- a/tests/test_ontology.py +++ b/tests/test_ontology.py @@ -113,6 +113,24 @@ def test_ontology_limits(onto, owl_uri, expected, extra_ttl): onto.parse_extra_triples(extra_ttl) limits = onto.get_limits(owl_uri) assert limits == expected + +@pytest.mark.parametrize("owl_uri, expected, extra_ttl", + [('http://odahub.io/ontology#Unknown', (None, None), ""), + ('oda:Flux_FluxmicroJyorABMagnitude_Magnitude_String_label_description', ("Flux [microJy] or AB Magnitude", "Test description"), + """@prefix oda: . + @prefix rdfs: . + oda:Flux_FluxmicroJyorABMagnitude_Magnitude_String_label_description + rdfs:subClassOf oda:String ; + oda:label "Flux [microJy] or AB Magnitude" ; + oda:description "Test description" .""") + ]) +def test_ontology_extra_metadata(onto, owl_uri, expected, extra_ttl): + if extra_ttl is not None: + onto.parse_extra_triples(extra_ttl) + label = onto.get_oda_metadata(owl_uri, "label") + assert label == expected[0] + description = onto.get_oda_metadata(owl_uri, "description") + assert description == expected[1] @pytest.mark.parametrize( "owl_uri, expected, extra_ttl", From 5968ac3411e2efa3221eb06e67a6dd309e99d52d Mon Sep 17 00:00:00 2001 From: burnout87 Date: Tue, 9 Jul 2024 11:11:41 +0200 Subject: [PATCH 03/26] testing checkout version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be2181c3..3ef1579b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: container: integralsw/osa-python:auto-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.1.7 #- name: Sphinx Docs build with ReadTheDocs Docker # uses: DavidLeoni/readthedocs-to-actions@v1.2 From 9a2b27837d164ada0634e84d8e3c0d56ead79f0f Mon Sep 17 00:00:00 2001 From: burnout87 Date: Tue, 9 Jul 2024 11:13:52 +0200 Subject: [PATCH 04/26] reverting checkout version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ef1579b..f8548f46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,8 @@ jobs: container: integralsw/osa-python:auto-latest steps: - - uses: actions/checkout@v4.1.7 - + - uses: actions/checkout@v2 + #- name: Sphinx Docs build with ReadTheDocs Docker # uses: DavidLeoni/readthedocs-to-actions@v1.2 # with: From 2932a716e481e6f7d5042450d4dfd7debc9d15fa Mon Sep 17 00:00:00 2001 From: burnout87 Date: Tue, 9 Jul 2024 11:38:33 +0200 Subject: [PATCH 05/26] function renaming, predicate arg, avoid code duplication --- oda_api/ontology_helper.py | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/oda_api/ontology_helper.py b/oda_api/ontology_helper.py index d47c498c..b0b44c2b 100644 --- a/oda_api/ontology_helper.py +++ b/oda_api/ontology_helper.py @@ -388,22 +388,13 @@ def get_parprod_terms(self): return [str(row[0]) for row in qres] def get_oda_label(self, param_uri): - if param_uri.startswith("http"): param_uri = f"<{param_uri}>" - query = "SELECT ?label WHERE {%s oda:label ?label}" % (param_uri) - - qres = self.g.query(query) - - if len(qres) == 0: return None - - label = " ".join([str(x[0]) for x in qres]) - - return label + return self.get_direct_annotation(param_uri, "label") - def get_oda_metadata(self, param_uri, metadata): + def get_direct_annotation(self, param_uri, metadata, predicate="oda"): if param_uri.startswith("http"): param_uri = f"<{param_uri}>" - query = f"SELECT ?{metadata} WHERE {{{param_uri} oda:{metadata} ?{metadata}}}" + query = f"SELECT ?{metadata} WHERE {{{param_uri} {predicate}:{metadata} ?{metadata}}}" qres = self.g.query(query) From 413f74606aab0208baf5b0150fdf0b3209c29928 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Tue, 9 Jul 2024 11:38:39 +0200 Subject: [PATCH 06/26] adapted test --- tests/test_ontology.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ontology.py b/tests/test_ontology.py index 3a36db05..cb64a4a7 100644 --- a/tests/test_ontology.py +++ b/tests/test_ontology.py @@ -127,9 +127,9 @@ def test_ontology_limits(onto, owl_uri, expected, extra_ttl): def test_ontology_extra_metadata(onto, owl_uri, expected, extra_ttl): if extra_ttl is not None: onto.parse_extra_triples(extra_ttl) - label = onto.get_oda_metadata(owl_uri, "label") + label = onto.get_direct_annotation(owl_uri, "label", predicate="oda") assert label == expected[0] - description = onto.get_oda_metadata(owl_uri, "description") + description = onto.get_direct_annotation(owl_uri, "description", predicate="oda") assert description == expected[1] @pytest.mark.parametrize( From 216469013ae6e0f8442e0c0038c1d61eca845938 Mon Sep 17 00:00:00 2001 From: Denys SAVCHENKO Date: Tue, 9 Jul 2024 11:43:22 +0200 Subject: [PATCH 07/26] try to allow node16 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be2181c3..236a4786 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,16 @@ on: pull_request: branches: [ master ] +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: build: runs-on: ubuntu-latest container: integralsw/osa-python:auto-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 #- name: Sphinx Docs build with ReadTheDocs Docker # uses: DavidLeoni/readthedocs-to-actions@v1.2 From 1179ace501c912c0651f1b79a370c2d490eaa582 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 11:22:24 +0200 Subject: [PATCH 08/26] using setuptools version --- doc/requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/requirements.txt b/doc/requirements.txt index d6bc3497..ac547b55 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -18,3 +18,5 @@ pyjwt==2.4.0 astroquery==0.4.4 rdflib + +setuptools<=72.0.0 From 9c00791a72eb22c65b35315820f7a78e8330999a Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 11:43:34 +0200 Subject: [PATCH 09/26] freezing setuptools version --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index ac547b55..30b25cd3 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -19,4 +19,4 @@ astroquery==0.4.4 rdflib -setuptools<=72.0.0 +setuptools<72.0.0 From ed35ca9b24e49f0786ea3c712c0957bd9f6e762a Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 11:48:34 +0200 Subject: [PATCH 10/26] freezing setuptools version --- doc/requirements.txt | 2 -- setup.py | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 30b25cd3..d6bc3497 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -18,5 +18,3 @@ pyjwt==2.4.0 astroquery==0.4.4 rdflib - -setuptools<72.0.0 diff --git a/setup.py b/setup.py index 39bd4235..3ca897a6 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,8 @@ "astroquery", "scipy", "rdflib", - "black" + "black", + "setuptools<72.0.0" ], extras_require={ 'test': [ From 7a5e2003107149b9fcc06ac61171068c9ff83c53 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 12:23:51 +0200 Subject: [PATCH 11/26] freezing setuptools version --- doc/requirements.txt | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index d6bc3497..d4bc1f98 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,4 @@ +setuptools<72 furo sphinx-automodapi nbsphinx @@ -18,3 +19,4 @@ pyjwt==2.4.0 astroquery==0.4.4 rdflib + diff --git a/setup.py b/setup.py index 3ca897a6..f416dddf 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ "scipy", "rdflib", "black", - "setuptools<72.0.0" + "setuptools<72" ], extras_require={ 'test': [ From 6c8846f1e87766d8520e61bc0ef9fe4002ef71f3 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 12:26:53 +0200 Subject: [PATCH 12/26] freezing setuptools version --- doc/requirements.txt | 1 - doc/source/install.rst | 1 + setup.py | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index d4bc1f98..8542e837 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,3 @@ -setuptools<72 furo sphinx-automodapi nbsphinx diff --git a/doc/source/install.rst b/doc/source/install.rst index d5a1f68e..475864f1 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -15,6 +15,7 @@ Development version - git clone https://github.com/oda-hub/oda_api.git - cd oda_api + - pip install --no-cache-dir pip setuptools<72 Download code and contribute diff --git a/setup.py b/setup.py index f416dddf..39bd4235 100644 --- a/setup.py +++ b/setup.py @@ -42,8 +42,7 @@ "astroquery", "scipy", "rdflib", - "black", - "setuptools<72" + "black" ], extras_require={ 'test': [ From f4ef1cede83595e6f174d7e806f85111a84c7573 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 12:48:34 +0200 Subject: [PATCH 13/26] freezing setuptools version --- .readthedocs.yaml | 1 + doc/source/install.rst | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 49dafa0f..33e6b635 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,7 @@ build: os: ubuntu-22.04 tools: python: "3.11" + setuptools: "71.1.0" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/doc/source/install.rst b/doc/source/install.rst index 475864f1..d5a1f68e 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -15,7 +15,6 @@ Development version - git clone https://github.com/oda-hub/oda_api.git - cd oda_api - - pip install --no-cache-dir pip setuptools<72 Download code and contribute From c3a4ee2d08ddd2c53027103af968137a651964e8 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 12:53:43 +0200 Subject: [PATCH 14/26] freezing setuptools version --- .readthedocs.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 33e6b635..9e60bd33 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,7 +10,6 @@ build: os: ubuntu-22.04 tools: python: "3.11" - setuptools: "71.1.0" # Build documentation in the docs/ directory with Sphinx sphinx: @@ -21,3 +20,5 @@ sphinx: python: install: - requirements: doc/requirements.txt + - extra_requirements: + - settuptools: "<72" From a2b2dd7dd308e748201d2e248395f711e48280c3 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 12:55:43 +0200 Subject: [PATCH 15/26] freezing setuptools version --- .readthedocs.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9e60bd33..d293254b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -20,5 +20,7 @@ sphinx: python: install: - requirements: doc/requirements.txt - - extra_requirements: - - settuptools: "<72" + - method: pip + path: . + extra_requirements: + - settuptools<72 From cc32278e40b7eda1eaed299a055a482e3dfbdd04 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 14:12:52 +0200 Subject: [PATCH 16/26] freezing setuptools version --- .readthedocs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d293254b..f3200b5e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -22,5 +22,5 @@ python: - requirements: doc/requirements.txt - method: pip path: . - extra_requirements: - - settuptools<72 + requirements: + - setuptools==49.6.0 \ No newline at end of file From e1dd76ea93aa1bbe02eee4e2560ec096b044d4fe Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 14:15:46 +0200 Subject: [PATCH 17/26] freezing setuptools version --- .readthedocs.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f3200b5e..ec9957e4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -20,7 +20,7 @@ sphinx: python: install: - requirements: doc/requirements.txt - - method: pip + method: pip path: . - requirements: - - setuptools==49.6.0 \ No newline at end of file + extra_requirements: + - setuptools: "71.1.0" \ No newline at end of file From 77cb31ef0db1b5f5faa32a96f831f3e22a87340e Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 14:16:35 +0200 Subject: [PATCH 18/26] freezing setuptools version --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ec9957e4..bdcc6254 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -20,7 +20,7 @@ sphinx: python: install: - requirements: doc/requirements.txt - method: pip + - method: pip path: . extra_requirements: - setuptools: "71.1.0" \ No newline at end of file From c399700fffcdcd97945d4f53af70ac08937233d8 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 14:26:26 +0200 Subject: [PATCH 19/26] freezing setuptools version --- .github/workflows/python-package.yml | 1 + .readthedocs.yaml | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3851b37f..7e51e8ba 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -27,6 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + python -m pip install "setuptools<72" python -m pip install flake8 pytest wheel coverage pylint mypy python -m pip install types-simplejson types-requests types-click python -m pip install oda-knowledge-base[rdf,cwl] diff --git a/.readthedocs.yaml b/.readthedocs.yaml index bdcc6254..49dafa0f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -20,7 +20,3 @@ sphinx: python: install: - requirements: doc/requirements.txt - - method: pip - path: . - extra_requirements: - - setuptools: "71.1.0" \ No newline at end of file From 097d6e1353d3edea4ba4dc99f9f0d8cb352d1d7b Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 14:27:44 +0200 Subject: [PATCH 20/26] freezing setuptools version --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7e51e8ba..aeef9b13 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -27,7 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install "setuptools<72" + python -m pip install --upgrade --no-cache-dir "setuptools<72" python -m pip install flake8 pytest wheel coverage pylint mypy python -m pip install types-simplejson types-requests types-click python -m pip install oda-knowledge-base[rdf,cwl] From 3745b107cb1a5d1486926a8473434147d414f5d5 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 14:36:41 +0200 Subject: [PATCH 21/26] freezing setuptools version --- .github/workflows/python-package.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index aeef9b13..3851b37f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -27,7 +27,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install --upgrade --no-cache-dir "setuptools<72" python -m pip install flake8 pytest wheel coverage pylint mypy python -m pip install types-simplejson types-requests types-click python -m pip install oda-knowledge-base[rdf,cwl] From a2bd55ecf99127e6b5dfad2cc5bbcfbcdb7dce60 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 15:11:27 +0200 Subject: [PATCH 22/26] freezing setuptools version --- .readthedocs.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 49dafa0f..fe61d2ad 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,9 @@ build: os: ubuntu-22.04 tools: python: "3.11" + jobs: + post_install: + - python -m pip install --upgrade "setuptools<72" # Build documentation in the docs/ directory with Sphinx sphinx: From d515cec25ba0c03a18bfa2fa4651cac1adf18db6 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 15:12:48 +0200 Subject: [PATCH 23/26] freezing setuptools version --- .readthedocs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index fe61d2ad..311944ca 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,6 +11,8 @@ build: tools: python: "3.11" jobs: + pre_install: + - python -m pip install --upgrade "setuptools<72" post_install: - python -m pip install --upgrade "setuptools<72" From acad882f1958f9119b26fd8fd6af7e39ad984e3b Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 15:21:36 +0200 Subject: [PATCH 24/26] freezing setuptools version --- .readthedocs.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 311944ca..8c4ed0ae 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,6 +15,15 @@ build: - python -m pip install --upgrade "setuptools<72" post_install: - python -m pip install --upgrade "setuptools<72" + pre_system_dependencies: + - python -m pip install --upgrade "setuptools<72" + post_system_dependencies: + - python -m pip install --upgrade "setuptools<72" + pre_build: + - python -m pip install --upgrade "setuptools<72" + post_build: + - python -m pip install --upgrade "setuptools<72" + # Build documentation in the docs/ directory with Sphinx sphinx: From 03f48c2213e537b68f1291bf9d53915c8f5d02ac Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 15:22:36 +0200 Subject: [PATCH 25/26] freezing setuptools version --- .readthedocs.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8c4ed0ae..8eea2a3c 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,16 +11,6 @@ build: tools: python: "3.11" jobs: - pre_install: - - python -m pip install --upgrade "setuptools<72" - post_install: - - python -m pip install --upgrade "setuptools<72" - pre_system_dependencies: - - python -m pip install --upgrade "setuptools<72" - post_system_dependencies: - - python -m pip install --upgrade "setuptools<72" - pre_build: - - python -m pip install --upgrade "setuptools<72" post_build: - python -m pip install --upgrade "setuptools<72" From 7b5605237ccedf5945133550d053296c38c7db38 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Mon, 29 Jul 2024 15:28:46 +0200 Subject: [PATCH 26/26] freezing setuptools version --- .readthedocs.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8eea2a3c..f65d0bf6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,9 +10,6 @@ build: os: ubuntu-22.04 tools: python: "3.11" - jobs: - post_build: - - python -m pip install --upgrade "setuptools<72" # Build documentation in the docs/ directory with Sphinx