[gnome-builder] build: generate pip packages with python3.10



commit 0bf2c826819f1be0e5f99ba54ac44b68f62a0646
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 27 20:07:14 2022 -0700

    build: generate pip packages with python3.10
    
    So that we get the right deps. Additionally, we need to enable the
    legacy resolver manually because otherwise deps fail currently on ujson
    having incorrect metadata.

 build-aux/flatpak/python3-python-lsp-server.json | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/build-aux/flatpak/python3-python-lsp-server.json 
b/build-aux/flatpak/python3-python-lsp-server.json
index 78ce2bf1d..a5de811c9 100644
--- a/build-aux/flatpak/python3-python-lsp-server.json
+++ b/build-aux/flatpak/python3-python-lsp-server.json
@@ -2,7 +2,7 @@
     "name": "python3-python-lsp-server",
     "buildsystem": "simple",
     "build-commands": [
-        "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" 
--prefix=${FLATPAK_DEST} \"python-lsp-server[all]\" --no-build-isolation"
+        "pip3 install --verbose --use-deprecated legacy-resolver --exists-action=i --no-index 
--find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"python-lsp-server[all]\" --no-build-isolation"
     ],
     "sources": [
         {
@@ -122,8 +122,13 @@
         },
         {
             "type": "file",
-            "url": 
"https://files.pythonhosted.org/packages/18/31/2a87f292f752d39c6c207f9e44137e3e1d4250da880a9fbc0bbf630138e0/tomlkit-0.11.4-py3-none-any.whl";,
-            "sha256": "25d4e2e446c453be6360c67ddfb88838cfc42026322770ba13d1fbd403a93a5c"
+            "url": 
"https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl";,
+            "sha256": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"
+        },
+        {
+            "type": "file",
+            "url": 
"https://files.pythonhosted.org/packages/df/b6/310fe14933403413f7352be0c8e75b7ed23db2170d769ed69e40f40130a3/tomlkit-0.11.5-py3-none-any.whl";,
+            "sha256": "f2ef9da9cef846ee027947dc99a45d6b68a63b0ebc21944649505bf2e8bc5fe7"
         },
         {
             "type": "file",
@@ -146,4 +151,4 @@
             "sha256": "8fea849025584e486fd06d6ba2bed717f396080fd3cc236ba10cb97c4c51cf32"
         }
     ]
-}
\ No newline at end of file
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]