Update to Ubuntu 22.04 and Python 3.10
[osm/osmclient.git] / 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