Commit Graph

104 Commits

Author SHA256 Message Date
Ana Guerrero
af8975f8db Accepting request 1110373 from devel:languages:python
- switch from unmaintained brotlipy to Brotli

- skip more tests
- Drop python39-failures.patch, no longer required.
- Update python39-failures.patch to only fire with Python 3.9.7.
  * Made exceptions pickleable. Also changed the repr of
    some exceptions. #4077
  * Raise a ClientResponseError instead of an AssertionError for a
  * Fix web_middlewares.normalize_path_middleware behavior for
  * Fix overshadowing of overlapped sub-applications prefixes.
  * Make BaseConnector.close() a coroutine and wait until the
    client closes all connections. Drop deprecated "with
  * Reset the sock_read timeout each time data is received for a
  * Fixed type annotation for add_view method of UrlDispatcher to
  * Fixed querying the address families from DNS that the current
  * Change return type of MultipartReader.__aiter__() and
- Fix python 3.6 build
  * Response headers are now prepared prior to running

OBS-URL: https://build.opensuse.org/request/show/1110373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=37
2023-09-12 19:02:20 +00:00
015984a408 - switch from unmaintained brotlipy to Brotli
- skip more tests
- Drop python39-failures.patch, no longer required.
- Update python39-failures.patch to only fire with Python 3.9.7.
  * Made exceptions pickleable. Also changed the repr of
    some exceptions. #4077
  * Raise a ClientResponseError instead of an AssertionError for a
  * Fix web_middlewares.normalize_path_middleware behavior for
  * Fix overshadowing of overlapped sub-applications prefixes.
  * Make BaseConnector.close() a coroutine and wait until the
    client closes all connections. Drop deprecated "with
  * Reset the sock_read timeout each time data is received for a
  * Fixed type annotation for add_view method of UrlDispatcher to
  * Fixed querying the address families from DNS that the current
  * Change return type of MultipartReader.__aiter__() and
- Fix python 3.6 build
  * Response headers are now prepared prior to running

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=100
2023-09-11 20:43:13 +00:00
Ana Guerrero
ef4a724969 Accepting request 1109336 from devel:languages:python
- Update in SLE-15 (bsc#1197831)

- Update to 3.7.4 (bsc#1184745, CVE-2021-21330):
  * obsoletes CVE-2021-21330.patch in older dists
  * Fixes https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg

- Include in SLE-15 (bsc#1176785, jsc#ECO-3105, jsc#PM-2352)

OBS-URL: https://build.opensuse.org/request/show/1109336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=36
2023-09-07 19:12:46 +00:00
13f03e696b - Include in SLE-15 (bsc#1176785, jsc#ECO-3105, jsc#PM-2352)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=98
2023-09-06 20:21:39 +00:00
c095f8e42a - Update to 3.7.4 (bsc#1184745, CVE-2021-21330):
* obsoletes CVE-2021-21330.patch in older dists
  * Fixes https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=97
2023-09-06 20:19:57 +00:00
9dccdbe7e8 - Update in SLE-15 (bsc#1197831)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=96
2023-09-06 20:17:18 +00:00
Ana Guerrero
6e3dbdc681 Accepting request 1104927 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1104927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=35
2023-08-22 06:55:07 +00:00
Markéta Machová
7ccbe77ecb Accepting request 1104714 from home:mschreiner:branches:devel:languages:python
- Remove py3109-compat.patch, no longer required. The current spec
  builds successfully on Python 3.9, 3.10 and 3.11.

- Update to 3.8.5:
  * Upgraded the vendored copy of llhttp to v8.1.1.
    More information here:
    https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6w
  * Added information to C parser exceptions to show which character
    caused the error.
  * Fixed a transport is None error.

OBS-URL: https://build.opensuse.org/request/show/1104714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=94
2023-08-20 17:30:39 +00:00
Dominique Leuenberger
16da75c4cc Accepting request 1083129 from devel:languages:python
- Add Update-update_query-calls-to-work-with-latest-yarl.patch to fix
  problems with latest python-yarl
- Delete aiohttp-pr7057-bump-charset-normalizer.patch not needed
  anymore
- Update to 3.8.4:
  * Fixed incorrectly overwriting cookies with the same name and
    domain, but different path. (#6638)
  * Fixed ConnectionResetError not being raised after client
    disconnection in SSL environments. (#7180)

- Move documentation into the main package for SLE15

OBS-URL: https://build.opensuse.org/request/show/1083129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=34
2023-04-27 17:59:58 +00:00
0a50e95080 - Move documentation into the main package for SLE15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=92
2023-04-26 21:30:25 +00:00
9bc7e6a688 Run all tests, not just previously broken
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=91
2023-04-26 07:45:54 +00:00
792689dd2d - Add Update-update_query-calls-to-work-with-latest-yarl.patch to fix
problems with latest python-yarl
- Delete aiohttp-pr7057-bump-charset-normalizer.patch not needed
  anymore
- Update to 3.8.4:
  * Fixed incorrectly overwriting cookies with the same name and
    domain, but different path. (#6638)
  * Fixed ConnectionResetError not being raised after client
    disconnection in SSL environments. (#7180)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=90
2023-04-26 07:39:50 +00:00
Dominique Leuenberger
34214382c8 Accepting request 1082013 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=33
2023-04-22 20:02:20 +00:00
89ae940d85 Accepting request 1081321 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=88
2023-04-21 14:59:53 +00:00
Dominique Leuenberger
c10f5daa79 Accepting request 1072272 from devel:languages:python
- Disable DeprecationWarning to avoid error with the latest setuptools
  and pkg_resources deprecation

OBS-URL: https://build.opensuse.org/request/show/1072272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=32
2023-03-17 16:00:52 +00:00
20f8982d14 - Disable DeprecationWarning to avoid error with the latest setuptools
and pkg_resources deprecation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=86
2023-03-16 07:32:31 +00:00
Dominique Leuenberger
e2f98f7c5e Accepting request 1045422 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1045422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=31
2022-12-28 09:54:22 +00:00
9a179af81b Accepting request 1045418 from home:bnavigator:branches:devel:languages:python
- Don't assume python3 to be present for d:l:p:backports/15.4_py39
- Requires pytest 6.2.0 when pytest.TempPathFactory was introduced.

OBS-URL: https://build.opensuse.org/request/show/1045418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=84
2022-12-26 22:03:27 +00:00
Dominique Leuenberger
4e5bf52a12 Accepting request 1042420 from devel:languages:python
- Update py3109-compat.patch to work with python <= 3.10.8 too.
- Add py3109-compat.patch to make tests compatible with python 3.10.9. These
  tests are not present anymore in upstream master version so this patch could
  be removed in future releases.

OBS-URL: https://build.opensuse.org/request/show/1042420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=30
2022-12-12 17:59:12 +00:00
1eb5868174 - Update py3109-compat.patch to work with python <= 3.10.8 too.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=82
2022-12-12 16:17:08 +00:00
9d8f30c9a1 - Add py3109-compat.patch to make tests compatible with python 3.10.9. These
tests are not present anymore in upstream master version so this patch could
  be removed in future releases.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=81
2022-12-12 11:34:39 +00:00
Dominique Leuenberger
3d74b4aa5b Accepting request 1034428 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1034428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=29
2022-11-09 11:56:10 +00:00
0138a08667 Accepting request 1034348 from home:bnavigator:branches:devel:languages:python
- Drop ignore-pytest-deprecationwarning.patch
- Add aiohttp-pr7057-bump-charset-normalizer.patch
  * gh#aio-libs/aiohttp#7057
  * Sync requirement with rpm specs

OBS-URL: https://build.opensuse.org/request/show/1034348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=79
2022-11-08 07:22:30 +00:00
Fabian Vogt
1b33bff4cd Accepting request 1007998 from devel:languages:python
- skip more tests 

- update to 3.8.3:
  * Increased the upper boundary of the :doc:`multidict:index` dependency
    to allow for the version 6 -- by :user:`hugovk`.
  * Added support for registering :rfc:`OPTIONS <9110#OPTIONS>`
    HTTP method handlers via :py:class:`~aiohttp.web.RouteTableDef`.
  * Started supporting :rfc:`authority-form <9112#authority-form>` and
    :rfc:`absolute-form <9112#absolute-form>` URLs on the server-side.
  * Fixed Python 3.11 incompatibilities by using Cython 0.29.25.
  * Extended the ``sock`` argument typing declaration of the
    :py:func:`~aiohttp.web.run_app` function as optionally
    accepting iterables.
  * Fixed a regression where :py:exc:`~asyncio.CancelledError`
    occurs on client disconnection.
  * Started exporting :py:class:`~aiohttp.web.PrefixedSubAppResource`
    under :py:mod:`aiohttp.web` -- by :user:`Dreamsorcerer`.
  * Dropped the :class:`object` type possibility from
    the :py:attr:`aiohttp.ClientSession.timeout`
    property return type declaration.

OBS-URL: https://build.opensuse.org/request/show/1007998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=28
2022-10-10 16:43:52 +00:00
e18a8b27d4 - skip more tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=77
2022-10-04 20:32:08 +00:00
c28993dc44 - update to 3.8.3:
* Increased the upper boundary of the :doc:`multidict:index` dependency
    to allow for the version 6 -- by :user:`hugovk`.
  * Added support for registering :rfc:`OPTIONS <9110#OPTIONS>`
    HTTP method handlers via :py:class:`~aiohttp.web.RouteTableDef`.
  * Started supporting :rfc:`authority-form <9112#authority-form>` and
    :rfc:`absolute-form <9112#absolute-form>` URLs on the server-side.
  * Fixed Python 3.11 incompatibilities by using Cython 0.29.25.
  * Extended the ``sock`` argument typing declaration of the
    :py:func:`~aiohttp.web.run_app` function as optionally
    accepting iterables.
  * Fixed a regression where :py:exc:`~asyncio.CancelledError`
    occurs on client disconnection.
  * Started exporting :py:class:`~aiohttp.web.PrefixedSubAppResource`
    under :py:mod:`aiohttp.web` -- by :user:`Dreamsorcerer`.
  * Dropped the :class:`object` type possibility from
    the :py:attr:`aiohttp.ClientSession.timeout`
    property return type declaration.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=76
2022-09-24 11:09:08 +00:00
Dominique Leuenberger
765d17ddfe Accepting request 965428 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/965428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=27
2022-03-31 15:18:26 +00:00
76dc3362cb Accepting request 965357 from home:bnavigator:branches:devel:languages:python
- Add ignore-pytest-deprecationwarning.patch
  * gh#aio-libs/aiohttp#6663

OBS-URL: https://build.opensuse.org/request/show/965357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=74
2022-03-28 15:10:57 +00:00
Dominique Leuenberger
a7961d7df8 Accepting request 940345 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/940345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=26
2021-12-25 19:16:25 +00:00
9aed91572f Accepting request 939980 from home:bnavigator:branches:devel:languages:python
update (for python310)

OBS-URL: https://build.opensuse.org/request/show/939980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=73
2021-12-13 18:46:07 +00:00
Steve Kowalik
18ac096873 - Drop python39-failures.patch, no longer required.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=72
2021-11-24 00:41:45 +00:00
Dominique Leuenberger
a1b51ca75f Accepting request 931926 from devel:languages:python
- Update python39-failures.patch to only fire with Python 3.9.7.

OBS-URL: https://build.opensuse.org/request/show/931926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=25
2021-11-21 22:51:43 +00:00
Steve Kowalik
1e46a60ade - Update python39-failures.patch to only fire with Python 3.9.7.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=71
2021-11-17 09:59:07 +00:00
Dominique Leuenberger
3abed77515 Accepting request 917994 from devel:languages:python
- Restore python39-failures.patch, which is actually still needed.
- Remove python39-failures.patch and replace it with actual fix
  of the issue in remove_deprecated_loop_argument.patch.
- Add backport_fix_for_setting_cookies.patch for backport of
  fixes from 3.8 branch.
- Add python39-failures.patch to fix test problems with Python 3.9.7+
  (gh#aio-libs/aiohttp#5991).

OBS-URL: https://build.opensuse.org/request/show/917994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=24
2021-09-11 20:24:15 +00:00
f541008472 - Restore python39-failures.patch, which is actually still needed.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=70
2021-09-10 14:23:03 +00:00
09aa0c6422 - Remove python39-failures.patch and replace it with actual fix
of the issue in remove_deprecated_loop_argument.patch.
- Add backport_fix_for_setting_cookies.patch for backport of
  fixes from 3.8 branch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=69
2021-09-09 20:07:49 +00:00
9d5093db4b - Add python39-failures.patch to fix test problems with Python 3.9.7+
(gh#aio-libs/aiohttp#5991).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=68
2021-09-08 22:24:41 +00:00
Dominique Leuenberger
5375e1bb10 Accepting request 898580 from devel:languages:python
- Remove pytest-asyncio dependency which is actually harmful
  (gh#aio-libs/aiohttp#5787).

OBS-URL: https://build.opensuse.org/request/show/898580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=23
2021-06-12 18:05:24 +00:00
70339db236 Cleanup SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=66
2021-06-09 05:48:51 +00:00
241b3a214a - Remove pytest-asyncio dependency which is actually harmful
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=65
2021-06-09 05:34:10 +00:00
f09d9f8ee0 Accepting request 898538 from home:mcepl:branches:devel:languages:python
- Skip pyloop related tests, which are failing
  (gh#aio-libs/aiohttp#5787).

OBS-URL: https://build.opensuse.org/request/show/898538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=64
2021-06-08 19:54:48 +00:00
Dominique Leuenberger
243b6f6217 Accepting request 893032 from devel:languages:python
- Add stdlib-typing_extensions.patch to avoid necessity for BR
  python-typing_extensions (gh#aio-libs/aiohttp#5374).

OBS-URL: https://build.opensuse.org/request/show/893032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=22
2021-05-18 16:26:26 +00:00
88044c4f35 - Add stdlib-typing_extensions.patch to avoid necessity for BR
python-typing_extensions (gh#aio-libs/aiohttp#5374).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=62
2021-05-13 22:26:12 +00:00
Richard Brown
ab251fb8b4 Accepting request 875795 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/875795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=21
2021-03-05 12:44:58 +00:00
a2d8fc6328 Accepting request 875787 from home:stroeder:branches:devel:languages:python
- Update to 3.7.4 - no upstream changelog available

OBS-URL: https://build.opensuse.org/request/show/875787
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=60
2021-02-28 16:06:44 +00:00
Dominique Leuenberger
6e95183840 Accepting request 857727 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/857727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=20
2020-12-23 13:19:35 +00:00
9c260e349e Accepting request 857098 from home:jayvdb:branches:devel:languages:python
- Allow use with chardet v4

c.f. https://build.opensuse.org/request/show/857097

OBS-URL: https://build.opensuse.org/request/show/857098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=58
2020-12-20 15:42:25 +00:00
Dominique Leuenberger
3cc61eedde Accepting request 853123 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/853123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=19
2020-12-05 19:35:46 +00:00
2b7129e766 Accepting request 853108 from home:bnavigator:branches:devel:languages:python
- Update to v3.7.3
  Features
  * Made exceptions pickleable. Also changed the repr of 
    some exceptions. #4077 
  Bugfixes
  * Raise a ClientResponseError instead of an AssertionError for a 
    blank HTTP Reason Phrase. #3532
  * Fix web_middlewares.normalize_path_middleware behavior for   
    patch without slash. #3669
  * Fix overshadowing of overlapped sub-applications prefixes. 
    #3701
  * Make BaseConnector.close() a coroutine and wait until the 
    client closes all connections. Drop deprecated "with  
    Connector():" syntax. #3736
  * Reset the sock_read timeout each time data is received for a   
    aiohttp.client response. #3808
  * Fixed type annotation for add_view method of UrlDispatcher to 
    accept any subclass of View #3880
  * Fixed querying the address families from DNS that the current 
    host supports. #5156
  * Change return type of MultipartReader.__aiter__() and 
    BodyPartReader.__aiter__() to AsyncIterator. #5163
  * Provide x86 Windows wheels. #5230
  * Improved Documentation
  * Add documentation for aiohttp.web.FileResponse. #3958
  * Removed deprecation warning in tracing example docs #3964
  * Fixed wrong "Usage" docstring of aiohttp.client.request. #4603
  * Add aiohttp-pydantic to third party libraries #5228
  Misc
  * #4102
- Also clean header files in sitearch
- Remove hidden .hash directory (remnant from build process)
- Fix python 3.6 build 
  * For Leap
  * For TW with python36 flavor gh#openSUSE/python-rpm-macros#66
  * Always BuildRequire idna_ssl
  * Skip a failing test on python 3.6
  * Next upstream release will drop python 3.6

OBS-URL: https://build.opensuse.org/request/show/853108
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=56
2020-12-04 15:14:54 +00:00
Dominique Leuenberger
5a11ff9471 Accepting request 844837 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/844837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=18
2020-11-02 08:39:12 +00:00