diff --git a/.gitignore b/.gitignore index ea5899a..73528f3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,8 @@ /azure-batch-11.0.0.zip /azure-batch-12.0.0.zip /azure-batch-12.0.0.tgz +/azure-batch-13.0.0.zip +/azure-batch-14.0.0.zip +/azure-batch-14.1.0.tar.gz +/azure-batch-14.2.0.tar.gz +/azure_batch-15.0.0b1.tar.gz diff --git a/python-azure-batch.spec b/python-azure-batch.spec index b9e8588..1746fc5 100644 --- a/python-azure-batch.spec +++ b/python-azure-batch.spec @@ -1,18 +1,17 @@ -# NOTE(mhayden): The tests require network access to talk to some Azure -# endpoints, so the tests are disabled for now. 😞 -%bcond_without tests +# NOTE(mhayden): Upstream removed VCR cassettes required for tests 😢 +%bcond_with tests %global srcname azure-batch +%global tarball_name azure_batch Name: python-%{srcname} -Version: 12.0.0 +Version: 15.0.0~b1 +%global pypi_version 15.0.0b1 Release: %autorelease Summary: Microsoft Azure Batch Client Library for Python License: MIT URL: https://pypi.org/project/%{srcname}/ -# This source comes from making a git archive of the main azure-sdk-for-python -# repository. To reproduce the source code, run the generate-source.sh script. -Source0: %{srcname}-%{version}.tgz +Source0: %{pypi_source %{tarball_name} %{pypi_version}} BuildArch: noarch @@ -42,7 +41,7 @@ Summary: %{summary} %prep -%autosetup -n %{srcname}-%{version} +%autosetup -n %{tarball_name}-%{pypi_version} %generate_buildrequires @@ -62,9 +61,7 @@ Summary: %{summary} %pyproject_check_import %if %{with tests} -%pytest \ - -k "not test_batch_applications \ - and not test_batch_files" +%pytest %endif diff --git a/sources b/sources index bfdc76e..62c3158 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (azure-batch-12.0.0.tgz) = a3db8d9fc6e88ed32bc048872328c482c93640704d1f831c50a3c3efcf67043ac80d9a56aeb1b8e5760ca5c6470a0a4e41e89543af9a3fb400deaff0a59183a7 +SHA512 (azure_batch-15.0.0b1.tar.gz) = 7f72aaf98c3f3f9602bbeb0a6c3a0e5a27d1d1d3159e1b99f83ab404fe007e4baa3860e92278029c222a040a434305e11a61d790e960c15720bc1bbf39e9f4fe