Update to Ubuntu 22.04 and Python 3.10 57/13557/1
authorMark Beierl <mark.beierl@canonical.com>
Tue, 20 Jun 2023 19:14:46 +0000 (15:14 -0400)
committerMark Beierl <mark.beierl@canonical.com>
Tue, 20 Jun 2023 19:14:46 +0000 (15:14 -0400)
Updates the snapcraft.yaml to be based on core22, which
includes Ubuntu22.04 and Python 3.10

Change-Id: I8c06737831a3b10850f1abc2ef49061994a1dab7
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
snap/snapcraft.yaml

index 92c0828..59f4f8d 100644 (file)
@@ -15,7 +15,7 @@
 # under the License.
 ##
 name: osmclient
-base: core20
+base: core22
 adopt-info: client
 summary: A python client for orchestrating OSM
 description: |
@@ -44,12 +44,11 @@ parts:
   client:
     plugin: python
     source: .
-    requirements:
-      - requirements-dev.txt
+    python-requirements:
       - requirements.txt
+      - requirements-dev.txt
     python-packages:
-      - pip==21.0.1
-      - setuptools==44.0.0
+      - pyangbind
     build-environment:
       - PIP_COMPILE: "false" # disable .pyc generation in pip
       - PYTHONDONTWRITEBYTECODE: "false" # disable .pyc generation by setup.py