X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=snap%2Fsnapcraft.yaml;h=0c2aa94d8c93f6aa2cb46ea94a115fc1bd337b8a;hb=refs%2Fchanges%2F77%2F13577%2F2;hp=92c08288dab8edf8beb28c1e56eaefd9e5694151;hpb=d13d599e9c39425d8d8ed9e93b47a9f931f62bb3;p=osm%2Fosmclient.git diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 92c0828..0c2aa94 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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)