Commit Graph

62 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2aacf83de7 Accepting request 844659 from home:jayvdb:branches:devel:languages:python
- Re-activate tests
- Update to v3.7.2

OBS-URL: https://build.opensuse.org/request/show/844659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=54
2020-10-29 10:37:40 +00:00
Tomáš Chvátal
0f658126c4 - Update to 3.6.2:
* more compatibility fixes with python 3.8
- Disable tests as they explode in upstream git too and all other
  distributions also gave up on it

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=52
2020-03-10 08:36:10 +00:00
Tomáš Chvátal
5e85705e2f - Do remove pytest configuration to not error out on deprecation
warnings
- Unbundle http parser headers:
  * unbundle-http-parser.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=51
2020-03-10 08:31:56 +00:00
Tomáš Chvátal
b038907f4a - Update to 3.6.1:
* Compatibility with Python 3.8. #4056
  * correct some exception string format #4068
  * Emit a warning when ssl.OP_NO_COMPRESSION is unavailable because
    the runtime is built against an outdated OpenSSL. #4052
  * Update multidict requirement to >= 4.5 #4057
- Drop merged patch aiohttp-3.6.0-fix-typeerror.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=49
2019-09-24 10:33:02 +00:00
Tomáš Chvátal
7e01d6d8d6 Accepting request 731664 from home:buschmann23:branches:devel:languages:python
- Add patch to fix type error with old multidict:
  * aiohttp-3.6.0-fix-typeerror.patch
- Require python-multidict 4.5 or newer

OBS-URL: https://build.opensuse.org/request/show/731664
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=47
2019-09-18 08:19:42 +00:00
Tomáš Chvátal
d262017b31 - Update to 3.6.0:
* Add support for Named Pipes
  * Removed Transfer-Encoding: chunked header
  * Accept non-GET request for starting websocket handshake on server side
- Drop merged patch pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=45
2019-09-13 12:09:42 +00:00
Tomáš Chvátal
cc355edc14 - Add patch to work well with pytest 5:
* pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=43
2019-08-22 09:30:25 +00:00
0109f0f21a - Fix Requires and BuildRequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=41
2019-06-04 15:49:48 +00:00
dc4e593a2c fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=40
2019-06-04 15:45:18 +00:00
4ddb535369 xx
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=39
2019-06-04 15:42:37 +00:00
2dcf5a7172 fix reqs 1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=38
2019-06-04 15:02:58 +00:00
b18e7befd2 add idna
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=37
2019-06-04 14:58:04 +00:00
c76de5f140 fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=36
2019-06-04 14:50:50 +00:00
b85bed06a0 - Add python-typing_extension >= 3.6.5 to requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=35
2019-06-04 14:48:01 +00:00
Tomáš Chvátal
ba20c15e9e Accepting request 679843 from home:mimi_vx:branches:devel:languages:python
- update to 3.5.4
- drop invalid-escapes-in-tests.patch and rename-request-fixture.patch
  * big list of changes from 3.4.4 - https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst

OBS-URL: https://build.opensuse.org/request/show/679843
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=33
2019-02-27 14:32:14 +00:00
49c1d3a489 Accepting request 666267 from home:aplanas:branches:devel:languages:python
- Remove version dependency from Cython (boo#1121578).

OBS-URL: https://build.opensuse.org/request/show/666267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=31
2019-01-15 16:33:00 +00:00
Tomáš Chvátal
0f6f2c545b Accepting request 650538 from home:glaubitz:branches:devel:languages:python
- Add patch to address name collision issue with pytest fixtures
  + rename-request-fixture.patch

OBS-URL: https://build.opensuse.org/request/show/650538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=29
2018-11-20 16:36:19 +00:00
9aed61f1b8 Remove trailing space
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=27
2018-10-06 09:32:20 +00:00
7ed81b114e - Upgrade to 3.4.4:
- Multiple small bugfixes
- Remove remove-failing-tests-due-to-pytest-timeout-issues.patch
- Add invalid-escapes-in-tests.patch to fix invalid escapes in
  non-raw regexp strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=26
2018-10-06 09:20:40 +00:00
Tomáš Chvátal
3b7ea4b01a - Match up requirements to the setup.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=24
2018-08-31 11:50:47 +00:00
Tomáš Chvátal
57cf0a00b7 Accepting request 632463 from home:adrianSuSE:home-assistant
- update to version 3.4.0:
  * please check the longer list in CHANGES.rst

OBS-URL: https://build.opensuse.org/request/show/632463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=23
2018-08-31 10:50:36 +00:00
9c2c1ba258 Accepting request 618898 from home:adrianSuSE:home-assistant
- update to version 3.3.2:
  * Raise ``ConnectionResetError`` instead of ``CancelledError`` on trying to
    write to a closed stream. (`#2499 <https://github.com/aio-libs/aiohttp/pull/2499>`_)
  * Implement ``ClientTimeout`` class and support socket read timeout. (`#2768 <https://github.com/aio-libs/aiohttp/pull/2768>`_)
  * Enable logging when ``aiohttp.web`` is used as a program (`#2956 <https://github.com/aio-libs/aiohttp/pull/2956>`_)
  * Add canonical property to resources (`#2968 <https://github.com/aio-libs/aiohttp/pull/2968>`_)
  * Forbid reading response BODY after release (`#2983 <https://github.com/aio-libs/aiohttp/pull/2983>`_)
  * Implement base protocol class to avoid a dependency from internal
    ``asyncio.streams.FlowControlMixin`` (`#2986 <https://github.com/aio-libs/aiohttp/pull/2986>`_)
  * Cythonize ``@helpers.reify``, 5% boost on macro benchmark (`#2995 <https://github.com/aio-libs/aiohttp/pull/2995>`_)
  * Optimize HTTP parser (`#3015 <https://github.com/aio-libs/aiohttp/pull/3015>`_)
  * Implement ``runner.addresses`` property. (`#3036 <https://github.com/aio-libs/aiohttp/pull/3036>`_)
  * Use ``bytearray`` instead of a list of ``bytes`` in websocket reader. It
    improves websocket message reading a little. (`#3039 <https://github.com/aio-libs/aiohttp/pull/3039>`_)
  * Remove heartbeat on closing connection on keepalive timeout. The used hack
    violates HTTP protocol. (`#3041 <https://github.com/aio-libs/aiohttp/pull/3041>`_)
  * Limit websocket message size on reading to 4 MB by default. (`#3045 <https://github.com/aio-libs/aiohttp/pull/3045>`_)

OBS-URL: https://build.opensuse.org/request/show/618898
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=21
2018-06-25 09:08:20 +00:00
Tomáš Chvátal
6abce17e9a Accepting request 596547 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/596547
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=19
2018-04-14 19:19:47 +00:00
Tomáš Chvátal
85415f0383 Accepting request 596407 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/596407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=18
2018-04-14 06:45:33 +00:00
Thomas Bechtold
1b53b77bf1 - update to 3.1.0:
- Relax JSON content-type checking in the ``ClientResponse.json()`` to allow
    "application/xxx+json" instead of strict "application/json". (#2206)
  - Bump C HTTP parser to version 2.8 (#2730)
  - Accept a coroutine as an application factory in ``web.run_app`` and gunicorn
    worker. (#2739)
  - Implement application cleanup context (``app.cleanup_ctx`` property). (#2747)
  - Make ``writer.write_headers`` a coroutine. (#2762)
  - Add tracking signals for getting request/response bodies. (#2767)
  - Deprecate ClientResponseError.code in favor of .status to keep similarity
    with response classes. (#2781)
  - Implement ``app.add_routes()`` method. (#2787)
  - Implement ``web.static()`` and ``RouteTableDef.static()`` API. (#2795)
  - Install a test event loop as default by ``asyncio.set_event_loop()``. The
    change affects aiohttp test utils but backward compatibility is not broken
    for 99.99% of use cases. (#2804)
  - Refactor ``ClientResponse`` constructor: make logically required constructor
    arguments mandatory, drop ``_post_init()`` method. (#2820)
  - Use ``app.add_routes()`` in server docs everywhere (#2830)
  - Websockets refactoring, all websocket writer methods are converted into
    coroutines. (#2836)
  - Provide ``Content-Range`` header for ``Range`` requests (#2844)
  - Fix websocket client return EofStream. (#2784)
  - Fix websocket demo. (#2789)
  - Property ``BaseRequest.http_range`` now returns a python-like slice when
    requesting the tail of the range. It's now indicated by a negative value in
  ``range.start`` rather then in ``range.stop`` (#2805)
  - Close a connection if an unexpected exception occurs while sending a request
  - Fix firing DNS tracing events. (#2841)
  - Change ``ClientResponse.json()`` documentation to reflect that it now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=17
2018-03-23 16:04:53 +00:00
Tomáš Chvátal
37a0b9401c Accepting request 577624 from home:alarrosa:branches:devel:languages:python
- update to version 3.0.1
  * async/await everywhere. The minimal supported Python version is 3.5.3 now.
  * Application Runners.
  * Client Tracing. Now it is possible by registering special signal handlers
    on every request processing stage.
  * HTTPS support
  * Dropped obsolete API. The release dropped a lot of already deprecated
    features.
  * The full changelog can be read at
    https://aiohttp.readthedocs.io/en/stable/changes.html
- Add python3-idna_ssl, python3-Pygments and python3-aiohttp-theme to
  BuildRequires.
- Add Requires: python3-idna_ssl
- Fix tests by removing a file and adding a patch to remove another
  failing test due to a DeprecationWarning being issued by pytest because
  of a problem in python-pytest-timeout.
  * remove-failing-tests-due-to-pytest-timeout-issues.patch

OBS-URL: https://build.opensuse.org/request/show/577624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=15
2018-02-17 19:07:09 +00:00