From 7209d5da87b16d5ee2b4f1aef277ad0a4f81b670 Mon Sep 17 00:00:00 2001 From: Mark Beierl Date: Tue, 20 Jun 2023 15:14:46 -0400 Subject: [PATCH] Update to Ubuntu 22.04 and Python 3.10 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 --- snap/snapcraft.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 92c0828..59f4f8d 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,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 -- 2.25.1