From a855ee184264bbc1d7af5b9f95bc6e64526cc2a6 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 24 May 2022 13:32:28 -0500 Subject: [PATCH] Update to 20.0.0 --- .gitignore | 1 + python-azure-mgmt-network.spec | 20 +++++++++++++++++++- sources | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 87ac829..09b8a9b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /azure-mgmt-network-19.0.0.zip /azure-mgmt-network-19.1.0.zip /azure-mgmt-network-19.3.0.zip +/azure-mgmt-network-20.0.0.zip diff --git a/python-azure-mgmt-network.spec b/python-azure-mgmt-network.spec index 209872d..39742ac 100644 --- a/python-azure-mgmt-network.spec +++ b/python-azure-mgmt-network.spec @@ -1,7 +1,10 @@ +# All tests are marked as "live" tests which require network connectivity. +%bcond_with tests + %global srcname azure-mgmt-network Name: python-%{srcname} -Version: 19.3.0 +Version: 20.0.0 Release: %autorelease Summary: Microsoft Azure Network Management Client Library for Python License: MIT @@ -12,6 +15,15 @@ BuildArch: noarch BuildRequires: python3-devel +%if %{with tests} +BuildRequires: python3dist(azure-devtools) +BuildRequires: python3dist(azure-mgmt-keyvault) +BuildRequires: python3dist(azure-mgmt-resource) +BuildRequires: python3dist(azure-sdk-tools) +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-aiohttp) +BuildRequires: python3dist(python-dotenv) +%endif %global _description %{expand: Microsoft Azure Network Management Client Library for Python} @@ -42,6 +54,12 @@ Obsoletes: python3-azure-sdk < 5.0.1 %pyproject_save_files azure +%if %{with tests} +%check +%pytest -m "not live_test_only" +%endif + + %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md diff --git a/sources b/sources index 7e72441..97b2829 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-mgmt-network-19.3.0.zip) = b31003f3c830f5fc09b45a18eb4e5da84b7eefb8671310bdffb9d49aff7318fc8d179419807d75ca6069f419cb1d786c09bf3c92f0c7609b3dd6a028036aea59 +SHA512 (azure-mgmt-network-20.0.0.zip) = 75869f1f01bdf289afbeb70c3e73677d0618256ad4fecf7ee88bcb26434c9f15e3a1d071858f7c8c7de218942d284206a84117638f5f47eac195c49fbe9e4496