Skip to content

Commit

Permalink
feat: update python-aiohttp to 3.9.5-1
Browse files Browse the repository at this point in the history
  • Loading branch information
deepin-community-bot[bot] authored and xzl01 committed Jun 28, 2024
1 parent cf7875d commit 6c6df99
Show file tree
Hide file tree
Showing 212 changed files with 41,381 additions and 16,366 deletions.
1,241 changes: 1,205 additions & 36 deletions CHANGES.rst

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Alexander Shorin
Alexander Travov
Alexandru Mihai
Alexey Firsov
Alexey Nikitin
Alexey Popravka
Alexey Stepanov
Amin Etesamian
Expand All @@ -51,6 +52,7 @@ Arthur Darcet
Austin Scola
Ben Bader
Ben Greiner
Ben Kallus
Ben Timby
Benedikt Reinartz
Bob Haddleton
Expand Down Expand Up @@ -79,6 +81,7 @@ Damien Nadé
Dan King
Dan Xu
Daniel García
Daniel Golding
Daniel Grossmann-Kavanagh
Daniel Nelson
Danny Song
Expand All @@ -90,6 +93,7 @@ Denis Moshensky
Dennis Kliban
Dima Veselov
Dimitar Dimitrov
Diogo Dutra da Mata
Dmitriy Safonov
Dmitry Doroshev
Dmitry Erlikh
Expand Down Expand Up @@ -137,24 +141,31 @@ Hrishikesh Paranjape
Hu Bo
Hugh Young
Hugo Herter
Hugo Hromic
Hugo van Kemenade
Hynek Schlawack
Igor Alexandrov
Igor Bolshakov
Igor Davydenko
Igor Mozharovsky
Igor Pavlov
Illia Volochii
Ilya Chichak
Ilya Gruzinov
Ingmar Steen
Ivan Lakovic
Ivan Larin
J. Nick Koston
Jacob Champion
Jaesung Lee
Jake Davis
Jakob Ackermann
Jakub Wilk
Jan Buchar
Jan Gosmann
Jarno Elonen
Jashandeep Sohi
Jean-Baptiste Estival
Jens Steinhauser
Jeonghun Lee
Jeongkyu Shin
Expand All @@ -167,6 +178,7 @@ John Parton
Jon Nabozny
Jonas Krüger Svensson
Jonas Obrist
Jonathan Ballet
Jonathan Wright
Jonny Tan
Joongi Kim
Expand All @@ -192,6 +204,7 @@ Krzysztof Blazewicz
Kyrylo Perevozchikov
Kyungmin Lee
Lars P. Søndergaard
Lee LieWhite
Liu Hua
Louis-Philippe Huberdeau
Loïc Lajeanne
Expand All @@ -203,18 +216,22 @@ Lukasz Marcin Dobrzanski
Makc Belousow
Manuel Miranda
Marat Sharafutdinov
Marc Mueller
Marco Paolini
Mariano Anaya
Mariusz Masztalerczuk
Marko Kohtala
Martijn Pieters
Martin Melka
Martin Richard
Martin Sucha
Mathias Fröjdman
Mathieu Dugré
Matt VanEseltine
Matthias Marquardt
Matthieu Hauglustaine
Matthieu Rigal
Matvey Tingaev
Meet Mangukiya
Michael Ihnatenko
Michał Górny
Expand All @@ -238,8 +255,10 @@ Olaf Conradi
Pahaz Blinov
Panagiotis Kolokotronis
Pankaj Pandey
Parag Jain
Pau Freixes
Paul Colomiets
Paul J. Dorn
Paulius Šileikis
Paulus Schoutsen
Pavel Kamaev
Expand All @@ -259,6 +278,8 @@ Required Field
Robert Lu
Robert Nikolich
Roman Podoliaka
Rong Zhang
Samir Akarioh
Samuel Colvin
Sean Hunt
Sebastian Acuna
Expand All @@ -280,6 +301,7 @@ Stepan Pletnev
Stephan Jaensch
Stephen Cirelli
Stephen Granade
Steve Repsher
Steven Seguin
Sunghyun Hwang
Sunit Deshpande
Expand All @@ -296,6 +318,7 @@ Tolga Tezel
Tomasz Trebski
Toshiaki Tanaka
Trinh Hoang Nhu
Tymofii Tsiapa
Vadim Suharnikov
Vaibhav Sagar
Vamsi Krishna Avula
Expand Down Expand Up @@ -327,6 +350,7 @@ Willem de Groot
William Grzybowski
William S.
Wilson Ong
wouter bolsterlee
Yang Zhou
Yannick Koechlin
Yannick Péroux
Expand All @@ -339,6 +363,8 @@ Yury Pliner
Yury Selivanov
Yusuke Tsutsumi
Yuval Ofir
Yuvi Panda
Zainab Lawal
Zeal Wierslee
Zlatan Sičanica
Марк Коренберг
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ graft aiohttp
graft docs
graft examples
graft tests
graft requirements
recursive-include vendor *
global-include aiohttp *.pyi
global-exclude *.pyc
Expand Down
31 changes: 14 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FORCE:
# check_sum.py works perfectly fine but slow when called for every file from $(ALLS)
# (perhaps even several times for each file).
# That is why much less readable but faster solution exists
ifneq (, $(shell which sha256sum))
ifneq (, $(shell command -v sha256sum))
%.hash: FORCE
$(eval $@_ABS := $(abspath $@))
$(eval $@_NAME := $($@_ABS))
Expand All @@ -50,7 +50,7 @@ endif
@python -m pip install --upgrade pip

.install-cython: .update-pip $(call to-hash,requirements/cython.txt)
@python -m pip install -r requirements/cython.txt -c requirements/constraints.txt
@python -m pip install -r requirements/cython.in -c requirements/cython.txt
@touch .install-cython

aiohttp/_find_header.c: $(call to-hash,aiohttp/hdrs.py ./tools/gen.py)
Expand All @@ -61,7 +61,7 @@ aiohttp/%.c: aiohttp/%.pyx $(call to-hash,$(CYS)) aiohttp/_find_header.c
cython -3 -o $@ $< -I aiohttp -Werror

vendor/llhttp/node_modules: vendor/llhttp/package.json
cd vendor/llhttp; npm install
cd vendor/llhttp; npm ci

.llhttp-gen: vendor/llhttp/node_modules
$(MAKE) -C vendor/llhttp generate
Expand All @@ -74,7 +74,7 @@ generate-llhttp: .llhttp-gen
cythonize: .install-cython $(PYXS:.pyx=.c)

.install-deps: .install-cython $(PYXS:.pyx=.c) $(call to-hash,$(CYS) $(REQS))
@python -m pip install -r requirements/dev.txt -c requirements/constraints.txt
@python -m pip install -r requirements/dev.in -c requirements/dev.txt
@touch .install-deps

.PHONY: lint
Expand All @@ -89,7 +89,7 @@ mypy:
mypy

.develop: .install-deps generate-llhttp $(call to-hash,$(PYS) $(CYS) $(CS))
python -m pip install -e . -c requirements/constraints.txt
python -m pip install -e . -c requirements/runtime-deps.txt
@touch .develop

.PHONY: test
Expand All @@ -99,22 +99,20 @@ test: .develop
.PHONY: vtest
vtest: .develop
@pytest -s -v
@python -X dev -m pytest -s -v -m dev_mode

.PHONY: vvtest
vvtest: .develop
@pytest -vv
@python -X dev -m pytest -s -v -m dev_mode


define run_tests_in_docker
DOCKER_BUILDKIT=1 docker build --build-arg PYTHON_VERSION=$(1) --build-arg AIOHTTP_NO_EXTENSIONS=$(2) -t "aiohttp-test-$(1)-$(2)" -f tools/testing/Dockerfile .
docker run --rm -ti -v `pwd`:/src -w /src "aiohttp-test-$(1)-$(2)" $(TEST_SPEC)
endef

.PHONY: test-3.7-no-extensions test-3.7 test-3.8-no-extensions test-3.8 test-3.9-no-extensions test-3.9 test-3.10-no-extensions test-3.10
test-3.7-no-extensions:
$(call run_tests_in_docker,3.7,y)
test-3.7:
$(call run_tests_in_docker,3.7,n)
.PHONY: test-3.8-no-extensions test-3.8 test-3.9-no-extensions test
test-3.8-no-extensions:
$(call run_tests_in_docker,3.8,y)
test-3.8:
Expand Down Expand Up @@ -174,15 +172,14 @@ doc:
doc-spelling:
@make -C docs spelling SPHINXOPTS="-W --keep-going -n -E"

.PHONY: compile-deps
compile-deps: .update-pip $(REQS)
pip-compile --no-header --allow-unsafe -q --strip-extras \
-o requirements/constraints.txt \
requirements/constraints.in

.PHONY: install
install: .update-pip
@python -m pip install -r requirements/dev.txt -c requirements/constraints.txt
@python -m pip install -r requirements/dev.in -c requirements/dev.txt

.PHONY: install-dev
install-dev: .develop

.PHONY: sync-direct-runtime-deps
sync-direct-runtime-deps:
@echo Updating 'requirements/runtime-deps.in' from 'setup.cfg'... >&2
@python requirements/sync-direct-runtime-deps.py
37 changes: 14 additions & 23 deletions PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: aiohttp
Version: 3.8.6
Version: 3.9.5
Summary: Async http client/server framework (asyncio)
Home-page: https://github.com/aio-libs/aiohttp
Maintainer: aiohttp team <[email protected]>
Expand All @@ -23,29 +23,25 @@ Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.6
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Requires-Dist: aiosignal>=1.1.2
Requires-Dist: attrs>=17.3.0
Requires-Dist: charset-normalizer<4.0,>=2.0
Requires-Dist: async-timeout<5.0,>=4.0; python_version < "3.11"
Requires-Dist: frozenlist>=1.1.1
Requires-Dist: multidict<7.0,>=4.5
Requires-Dist: async_timeout<5.0,>=4.0.0a3
Requires-Dist: asynctest==0.13.0; python_version < "3.8"
Requires-Dist: yarl<2.0,>=1.0
Requires-Dist: idna-ssl>=1.0; python_version < "3.7"
Requires-Dist: typing_extensions>=3.7.4; python_version < "3.8"
Requires-Dist: frozenlist>=1.1.1
Requires-Dist: aiosignal>=1.1.2
Provides-Extra: speedups
Requires-Dist: aiodns; extra == "speedups"
Requires-Dist: Brotli; extra == "speedups"
Requires-Dist: cchardet; python_version < "3.10" and extra == "speedups"
Requires-Dist: aiodns; (sys_platform == "linux" or sys_platform == "darwin") and extra == "speedups"
Requires-Dist: Brotli; platform_python_implementation == "CPython" and extra == "speedups"
Requires-Dist: brotlicffi; platform_python_implementation != "CPython" and extra == "speedups"

==================================
Async http client/server framework
Expand Down Expand Up @@ -89,7 +85,7 @@ Key Features
- Supports both client and server side of HTTP protocol.
- Supports both client and server Web-Sockets out-of-the-box and avoids
Callback Hell.
- Provides Web-server with middlewares and plugable routing.
- Provides Web-server with middleware and pluggable routing.


Getting started
Expand All @@ -116,7 +112,7 @@ To get something from the web:
html = await response.text()
print("Body:", html[:15], "...")

asyncio.run(main())
asyncio.run(main())

This prints:

Expand Down Expand Up @@ -195,7 +191,7 @@ Feel free to make a Pull Request for adding your link to these pages!
Communication channels
======================

*aio-libs discourse group*: https://aio-libs.discourse.group
*aio-libs Discussions*: https://github.com/aio-libs/aiohttp/discussions

*gitter chat* https://gitter.im/aio-libs/Lobby

Expand All @@ -206,25 +202,20 @@ Please add *aiohttp* tag to your question there.
Requirements
============

- Python >= 3.6
- async-timeout_
- attrs_
- charset-normalizer_
- multidict_
- yarl_
- frozenlist_

Optionally you may install the cChardet_ and aiodns_ libraries (highly
recommended for sake of speed).
Optionally you may install the aiodns_ library (highly recommended for sake of speed).

.. _charset-normalizer: https://pypi.org/project/charset-normalizer
.. _aiodns: https://pypi.python.org/pypi/aiodns
.. _attrs: https://github.com/python-attrs/attrs
.. _multidict: https://pypi.python.org/pypi/multidict
.. _frozenlist: https://pypi.org/project/frozenlist/
.. _yarl: https://pypi.python.org/pypi/yarl
.. _async-timeout: https://pypi.python.org/pypi/async_timeout
.. _cChardet: https://pypi.python.org/pypi/cchardet

License
=======
Expand Down
Loading

0 comments on commit 6c6df99

Please sign in to comment.