From f361791bdd48eb3c6f598bc2c55637f34c0553af Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Oct 05 2020 07:39:40 +0000 Subject: Update to 1.4 Also remove patch which is included in 1.4. --- diff --git a/add-custom-marker-for-tests-that-require-internet.patch b/add-custom-marker-for-tests-that-require-internet.patch deleted file mode 100644 index 1fbe2c0..0000000 --- a/add-custom-marker-for-tests-that-require-internet.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -Nurp curio-1.1.orig/setup.cfg curio-1.1/setup.cfg ---- curio-1.1.orig/setup.cfg 2020-03-01 06:37:06.000000000 -0600 -+++ curio-1.1/setup.cfg 2020-03-17 22:42:53.274876389 -0500 -@@ -8,6 +8,8 @@ max-complexity = 15 - testpaths = tests - addopts = --verbose - --ignore=setup.py --ignore=docs/conf.py -+markers = -+ internet: mark tests as requiring internet connectivity (deselect with '-m "not internet"') - - [egg_info] - tag_build = -diff -Nurp curio-1.1.orig/tests/test_network.py curio-1.1/tests/test_network.py ---- curio-1.1.orig/tests/test_network.py 2020-03-01 06:36:48.000000000 -0600 -+++ curio-1.1/tests/test_network.py 2020-03-17 22:42:11.655683887 -0500 -@@ -250,6 +250,7 @@ def test_ssl_wrapping(kernel): - - kernel.run(main()) - -+@pytest.mark.internet - def test_ssl_outgoing(kernel): - async def main(): - c = await network.open_connection('google.com', 443, ssl=True, server_hostname='google.com') -@@ -312,6 +313,7 @@ def test_ssl_manual_wrapping(kernel): - - kernel.run(main()) - -+@pytest.mark.internet - def test_errors(kernel): - async def main(): - with pytest.raises(ValueError): diff --git a/python-curio.spec b/python-curio.spec index cadbbbd..939e032 100644 --- a/python-curio.spec +++ b/python-curio.spec @@ -24,14 +24,12 @@ many of its ideas have influenced other libraries with similar functionality. Name: python-%{pkgname} -Version: 1.1 -Release: 3%{?dist} +Version: 1.4 +Release: 1%{?dist} Summary: Building blocks for performing concurrent I/O License: BSD URL: https://github.com/dabeaz/curio Source0: %pypi_source -# https://github.com/dabeaz/curio/issues/320 -Patch0: add-custom-marker-for-tests-that-require-internet.patch BuildArch: noarch @@ -78,6 +76,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose - %changelog +* Mon Oct 05 2020 Yatin Karel - 1.4-1 +- Update to 1.4 + * Wed Jul 29 2020 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 8b30c93..aace4f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (curio-1.1.tar.gz) = 88e14775a4fa2a8285a96a6493d53c95bed0b7a027612f755ce7c1fcbea11cd81aedf916c021e03084573f4df146aee9fb26d272193143f8ec7fbb5609a7d0fe +SHA512 (curio-1.4.tar.gz) = 105fe0d3edea0310b98bb93e74ca750516d9f33e4f8c3866be3e92a582485baf885fd58b007fb33c3e24b4a8e73b532f20899ed106c4a6ac23f97b444c4b3ffc