Remove dependencies no longer needed by pycurl
[osm/osmclient.git] / snap / snapcraft.yaml
index 92c0828..0c2aa94 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,29 +44,18 @@ 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
     build-packages:
-      - gcc
-      - git
-      - make
       - wget
-      - libcurl4-openssl-dev
-      - libssl-dev
-      - python3-distutils
-      - python3-dev
-      - python3-pip
-      - python3-pycurl
     stage-packages:
       - libmagic1
-      - libcurl4-openssl-dev
       - python3
     override-build: |
       VERSION=$(git describe --match v* --tags --long --dirty)