Commit Graph

44 Commits

Author SHA256 Message Date
Dominique Leuenberger
13cc52efff Accepting request 1056959 from devel:languages:python
- Add patch support-python-311.patch:
  * Skip a test under Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1056959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=21
2023-01-10 13:58:57 +00:00
Steve Kowalik
660d2d72dd - Add patch support-python-311.patch:
* Skip a test under Python 3.11.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=42
2023-01-09 04:18:40 +00:00
Dominique Leuenberger
6d4610f711 Accepting request 1041630 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1041630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=20
2022-12-09 12:16:42 +00:00
69aee45d5b Accepting request 1041280 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.8.2 
  * This is the first release that started shipping wheels for Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1041280
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=40
2022-12-08 13:05:09 +00:00
Dominique Leuenberger
0749908c90 Accepting request 998077 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/998077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=19
2022-08-20 18:27:34 +00:00
b70e7fd4cd Accepting request 998040 from home:bnavigator:branches:devel:languages:python
- Update to 1.8.1
  * Added URL.raw_suffix, URL.suffix, URL.raw_suffixes,
    URL.suffixes, URL.with_suffix. (#613)
  * Dropped Python 3.6 support. (#672)
- Drop tests_overcome_bpo42967.patch

OBS-URL: https://build.opensuse.org/request/show/998040
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=38
2022-08-19 06:42:36 +00:00
Dominique Leuenberger
607db002d4 Accepting request 936387 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/936387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=18
2021-12-09 18:45:21 +00:00
adc9a178c2 Accepting request 936291 from home:pgajdos:python
- version update to 1.7.2
 - Changed call in ``with_port()`` to stop reencoding parts of the URL
   that were already encoded. (`#623 <https://github.com/aio-libs/yarl/issues/623>`_)
 - Add `__bytes__()` magic method so that `bytes(url)` will work and use optimal
   ASCII encoding. (`#582 <https://github.com/aio-libs/yarl/issues/582>`_)
 - Started shipping platform-specific arm64 wheels for Apple Silicon.
   (`#622 <https://github.com/aio-libs/yarl/issues/622>`_)
 - Started shipping platform-specific wheels with the ``musl`` tag targeting typical
   Alpine Linux runtimes. (`#622 <https://github.com/aio-libs/yarl/issues/622>`_)
 - Added support for Python 3.10. (`#622 <https://github.com/aio-libs/yarl/issues/622>`_)
- do not require pytest-runner for build, it is not needed

OBS-URL: https://build.opensuse.org/request/show/936291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=37
2021-12-08 00:51:38 +00:00
Dominique Leuenberger
3b566ead84 Accepting request 880489 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/880489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=17
2021-03-24 15:10:25 +00:00
71585e543e Accepting request 880298 from home:bnavigator:branches:devel:languages:python
- Unset -Werror=return-type for python39
- Only install typing_extensions for Python < 3.8

OBS-URL: https://build.opensuse.org/request/show/880298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=35
2021-03-22 10:24:59 +00:00
Richard Brown
d3217e2a64 Accepting request 874658 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/874658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=16
2021-03-02 13:43:01 +00:00
0472afe729 Accepting request 874657 from home:mcepl:branches:python36
- Add tests_overcome_bpo42967.patch to over effects of bpo#42967,
  which forbade mixing amps and semicolons in query strings as
  separators.

OBS-URL: https://build.opensuse.org/request/show/874657
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=33
2021-02-23 17:12:08 +00:00
Dominique Leuenberger
b8ac66d5db Accepting request 856968 from devel:languages:python
- update to 1.6.3:
  - No longer loose characters when decoding incorrect percent-sequences (like
    ``%e2%82%f8``). All non-decodable percent-sequences are now preserved.
  - Provide generated ``.c`` files in TarBall distribution.
  - ``human_repr()`` now always produces valid representation equivalent to the
    original URL (if the original URL is valid).
  - Fixed  requoting a single percent followed by a percent-encoded character
    in the Cython implementation.
  - Fix ValueError when decoding ``%`` which is not followed by two hexadecimal
    digits.
  - Fix decoding ``%`` followed by a space and hexadecimal digit.
  - Fix annotation of ``with_query()``/``update_query()`` methods for
    ``key=[val1, val2]`` case.

OBS-URL: https://build.opensuse.org/request/show/856968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=15
2020-12-23 13:18:48 +00:00
de9a305ff4 - update to 1.6.3:
- No longer loose characters when decoding incorrect percent-sequences (like
    ``%e2%82%f8``). All non-decodable percent-sequences are now preserved.
  - Provide generated ``.c`` files in TarBall distribution.
  - ``human_repr()`` now always produces valid representation equivalent to the
    original URL (if the original URL is valid).
  - Fixed  requoting a single percent followed by a percent-encoded character
    in the Cython implementation.
  - Fix ValueError when decoding ``%`` which is not followed by two hexadecimal
    digits.
  - Fix decoding ``%`` followed by a space and hexadecimal digit.
  - Fix annotation of ``with_query()``/``update_query()`` methods for
    ``key=[val1, val2]`` case.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=31
2020-12-19 10:08:24 +00:00
Dominique Leuenberger
0931162fc5 Accepting request 838272 from devel:languages:python
- update to 1.6.0:
  - Allow for int and float subclasses in query, while still denying bool.
    `#492 <https://github.com/aio-libs/yarl/issues/492>`_
  - Do not requote arguments in ``URL.build()``, ``with_xxx()`` and in ``/`` operator.
    `#502 <https://github.com/aio-libs/yarl/issues/502>`_
  - Keep IPv6 brackets in ``origin()``.
    `#504 <https://github.com/aio-libs/yarl/issues/504>`_

OBS-URL: https://build.opensuse.org/request/show/838272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=14
2020-10-29 08:46:15 +00:00
d5b279eb3b - update to 1.6.0:
- Allow for int and float subclasses in query, while still denying bool.
    `#492 <https://github.com/aio-libs/yarl/issues/492>`_
  - Do not requote arguments in ``URL.build()``, ``with_xxx()`` and in ``/`` operator.
    `#502 <https://github.com/aio-libs/yarl/issues/502>`_
  - Keep IPv6 brackets in ``origin()``.
    `#504 <https://github.com/aio-libs/yarl/issues/504>`_

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=29
2020-09-28 12:06:20 +00:00
Dominique Leuenberger
565c200765 Accepting request 823367 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/823367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=13
2020-07-31 14:01:37 +00:00
0bcb020930 Accepting request 823277 from home:bnavigator:branches:devel:languages:python
- remove c source file from package (rpmlint error)
- needs typing-extensions

OBS-URL: https://build.opensuse.org/request/show/823277
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=27
2020-07-29 10:41:46 +00:00
c733a89df7 - update to 1.5.0
- fix tests
 * Convert host to lowercase on URL building. #386
 * Allow using mod operator (%) for updating query string (an alias for update_query() method)
 * Allow use of sequences such as list and tuple in the values of a mapping
   such as dict to represent that a key has many values:
     url = URL("http://example.com")
     assert url.with_query({"a": [1, 2]}) == URL("http://example.com/?a=1&a=2")
 * Support URL.build() with scheme and path (creates a relative URL)
 * Cache slow IDNA encode/decode calls
 * Add @final / Final type hints
 * Support URL authority/raw_authority properties and authority argument
   of URL.build() method
 * Hide the library implementation details, make the exposed public list very clean
 * Fix tests with newer Python (3.7.6, 3.8.1 and 3.9.0+)
 * Fix a bug where query component, passed in a form of mapping or sequence,
   is unquoted in unexpected way
 * Hide Query and QueryVariable type aliases in __init__.pyi, now they
   are prefixed with underscore.
 * Keep ipv6 brackets after updating port/user/password.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=26
2020-07-28 19:17:40 +00:00
Dominique Leuenberger
d0b1d4ac79 Accepting request 769628 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/769628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=12
2020-02-04 18:53:32 +00:00
Tomáš Chvátal
e6bed33696 Accepting request 769623 from home:mcalabkova:branches:devel:languages:python
- update to 1.4.2
  * Workaround for missing str.isascii() in Python 3.6
  * Distinguish an empty password in URL from a password not provided at all
  * Fixed annotations for optional parameters of URL.build
  * Use None as default value of user parameter of URL.build
  * Enforce building C Accelerated modules when installing from source tarball, 
    use YARL_NO_EXTENSIONS environment variable for falling back to (slower) 
    Pure Python implementation
  * Fix quoting of plus in path by pure python version
  * Don't create a new URL if fragment is unchanged
  * Included in error msg the path that produces starting slash forbidden error
  * Skip slow IDNA encoding for ASCII-only strings

OBS-URL: https://build.opensuse.org/request/show/769623
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=24
2020-02-03 14:51:15 +00:00
Dominique Leuenberger
354617dcee Accepting request 681093 from devel:languages:python
- update to 1.3.0
 * Fix annotations for query parameter
 * An incoming query sequence can have int variables
 * Add URL.explicit_port property
 * Give a friendlier error when port cant be converted to int
 * bool(URL()) now returns False
 * Fix annotations for build
 * Fix annotations for cached_property
 * Accept str subclasses in URL constructor
 * Forbid inheritance, replace __init__ with __new__
 * Support PEP-561 (provide type hinting marker)

OBS-URL: https://build.opensuse.org/request/show/681093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=11
2019-03-04 08:24:01 +00:00
a94bbd7019 - update to 1.3.0
* Fix annotations for query parameter
 * An incoming query sequence can have int variables
 * Add URL.explicit_port property
 * Give a friendlier error when port cant be converted to int
 * bool(URL()) now returns False
 * Fix annotations for build
 * Fix annotations for cached_property
 * Accept str subclasses in URL constructor
 * Forbid inheritance, replace __init__ with __new__
 * Support PEP-561 (provide type hinting marker)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=22
2019-03-03 13:54:08 +00:00
Dominique Leuenberger
b29ffe0957 Accepting request 632112 from devel:languages:python
- Raise multidict requirement to match up setup.py

OBS-URL: https://build.opensuse.org/request/show/632112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=10
2018-08-31 08:45:08 +00:00
Tomáš Chvátal
73e7fa10de - Raise multidict requirement to match up setup.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=20
2018-08-29 09:18:24 +00:00
Dominique Leuenberger
f8a08ff059 Accepting request 579945 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/579945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=9
2018-02-26 22:25:15 +00:00
Tomáš Chvátal
dc23784a49 Accepting request 579824 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/579824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=18
2018-02-25 14:45:08 +00:00
Dominique Leuenberger
0fb6ff3258 Accepting request 575874 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/575874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=8
2018-02-14 08:46:16 +00:00
Tomáš Chvátal
2e224ebaa1 Accepting request 575836 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/575836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=16
2018-02-12 20:15:57 +00:00
Dominique Leuenberger
b2b0a3c6ae Accepting request 563776 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/563776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=7
2018-01-13 20:48:24 +00:00
Tomáš Chvátal
8bc955b4e9 Accepting request 563720 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/563720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=14
2018-01-12 08:05:48 +00:00
Dominique Leuenberger
19e5792792 Accepting request 562155 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/562155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=6
2018-01-07 16:22:56 +00:00
Tomáš Chvátal
d30926e006 Accepting request 562083 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/562083
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=12
2018-01-06 07:01:33 +00:00
Dominique Leuenberger
23da42a0f5 Accepting request 555884 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/555884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=5
2017-12-14 09:56:33 +00:00
Tomáš Chvátal
a427b99270 Accepting request 555564 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/555564
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=10
2017-12-11 09:44:41 +00:00
Dominique Leuenberger
d5cd306bda Accepting request 545902 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/545902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=4
2017-11-27 21:18:31 +00:00
393694db86 Accepting request 545768 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/545768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=8
2017-11-27 09:45:28 +00:00
Dominique Leuenberger
401c220ce1 Accepting request 541982 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/541982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=3
2017-11-17 09:54:46 +00:00
fd3a1d87d7 Accepting request 541924 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/541924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=6
2017-11-15 09:30:11 +00:00
99533253fa Accepting request 541088 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/541088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=5
2017-11-13 09:37:08 +00:00
Dominique Leuenberger
37abf60da7 Accepting request 538110 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/538110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=2
2017-11-09 13:00:45 +00:00
Todd R
6b0dba15a8 Accepting request 537765 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/537765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=3
2017-11-01 14:38:53 +00:00
Dominique Leuenberger
fcc0b97e94 Accepting request 519535 from devel:languages:python
Add python-yarl to factory. Required by python-vcrpy sr#519533.

OBS-URL: https://build.opensuse.org/request/show/519535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=1
2017-08-30 14:24:00 +00:00
Thomas Bechtold
d82725375e Accepting request 510417 from home:seanmarlow:branches:devel:languages:python
Add package to single spec python3 only.

OBS-URL: https://build.opensuse.org/request/show/510417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=1
2017-07-17 05:05:19 +00:00