dev-python/aiohttp: drop 3.8.6, 3.9.4, 3.10.7

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-11-03 18:32:21 +01:00
parent 19b21a98d1
commit 96003ef16c
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 2 additions and 373 deletions

View File

@ -606,12 +606,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2317 Ebuilds in total, 2303 of them have in total 2340 (43 different) licenses assigned.
There are 2314 Ebuilds in total, 2300 of them have in total 2337 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1318|
|Apache-2.0|542|
|Apache-2.0|539|
|GPL-3|143|
|BSD|124|
|GPL-2|26|

View File

@ -1,11 +1,5 @@
DIST aiohttp-3.10.7.tar.gz 7538967 BLAKE2B c022b01ec3b2bb6549b00c43231692b643be9cda4af3c82748f55c813f12a0f16963c086fa99746e0f9bd8f95f5c1570b647ab0ca9f30aed501b563a6de773f6 SHA512 bfef47dfe14a7cc23f2962abfede36105b5061d3c537b4309b09d83ced545ff9f2e0a2f3713cac30ac5ce31ca951dbc6d1beafa571254a0a84b1f1f8d6ed6831
DIST aiohttp-3.10.8.tar.gz 7540022 BLAKE2B 8407815a0f65035032c9c59174642784a9ad5845d6655c32f29369d3a7ffdd63d52310ec61ed3a106122a4aeb22ed0db5264a353b7e483bb63021cdd9526b5b6 SHA512 f19a58e698908faf164592037d57f1d133e064616b5552df26639a9a7248e90a960cb1b070dbbb90c058579cbdcc4edb72b2846bd20ab2867b4b0c670ddd177f
DIST aiohttp-3.8.6.tar.gz 7352172 BLAKE2B 4dc602abb4f9bd7c65bda7d11cde3e703bbc7786fb3f8ef36922caef42912b2c10a198ebdcecd3fcd022c3a9a729766a2023636f756a8fa10663bf988554f967 SHA512 43f1dd6670d90aefee7f0f30411b13c643ea684815b493cc4437e5f1981f4fdf4b718a40543d7c3c8c70d8b27470b8f3bf1609e46146362e0490ce0990a057f5
DIST aiohttp-3.9.4.tar.gz 7500720 BLAKE2B 1f41e481590425c16ef9e797ecc78e08d00fda65b40c38e34226ada969f3114cae3f6953980d23b0e96e284f6e49fd0a84aa93c6b7a666d60690e9a9fd9c41b2 SHA512 e26e7148602d72c77fe46e0596614b448f38a9014834a72c4131d8b315dbbd401ce4e1a403ef35ea7a9ba7fafaddc42031d38b93b45464accdedf26ba99fc960
DIST aiohttp-3.9.5.tar.gz 7504841 BLAKE2B f051ee88d45952219f72d542f1c6d0cc33c699c6c5fb5dbe3bc054ee4d0e03121b219c8c8524fd1236a8b878329b0997b8afe07d6c66074102d4a2052a8738ff SHA512 da11468a2f131275593395b052700a99cf79055a32d48327dca0f58547ad30add8cd0a375dbd831e2f06fe7a739183251e4ad69c16f3d141799bbed45a8a5dc4
EBUILD aiohttp-3.10.7.ebuild 3168 BLAKE2B 0b9286551d1f38b6b70de5a4a33f34fdcd74c173bf78dedde9354122c65f7542ee706127066800047b7cb336f69be949f81848372ff5e1afef6347a8462850b7 SHA512 f30223ce9ee19b7b972e5cd23726974cdb91ba97047754b95845743be15edffec77853bb07c0bd738a64eb6b300d91d98007001052d5b98e3381af14ee25d090
EBUILD aiohttp-3.10.8.ebuild 3168 BLAKE2B 0b9286551d1f38b6b70de5a4a33f34fdcd74c173bf78dedde9354122c65f7542ee706127066800047b7cb336f69be949f81848372ff5e1afef6347a8462850b7 SHA512 f30223ce9ee19b7b972e5cd23726974cdb91ba97047754b95845743be15edffec77853bb07c0bd738a64eb6b300d91d98007001052d5b98e3381af14ee25d090
EBUILD aiohttp-3.8.6.ebuild 3318 BLAKE2B 6e59de8cb48824a8c6436db72bbaa86f6ab285bf19eb5a9fb108c9dc9c34269254291550548ef7a035cad3f5173f83713c12469ec299353c2c70889f940f4e41 SHA512 904f8f2830ef0753dc91681dfdb95cf40f8103a750ba0a7d0275d8113e4efa58afc6bb2a5dc4c5ad2b7449f387ae8a65d7bc0edfec6f522f4a93a1ee9af82826
EBUILD aiohttp-3.9.4.ebuild 3259 BLAKE2B eb5844bc5a913f3a477d4a3afd4c0b457f9d2d665c5651aaead313f62b4f55ec685f520e0ced0081a93f4d12f324cae7e7529e4ea096450e6b1f423d89dedbbb SHA512 4c1278e2d3db9054a4facabdb27dd3c514b6dc7d8bc5648e81a5a6d3df8ee63002da08280e9f027cb007933378ade7bf895f950e4d7be660c935da553a1fd0f5
EBUILD aiohttp-3.9.5.ebuild 3259 BLAKE2B eb5844bc5a913f3a477d4a3afd4c0b457f9d2d665c5651aaead313f62b4f55ec685f520e0ced0081a93f4d12f324cae7e7529e4ea096450e6b1f423d89dedbbb SHA512 4c1278e2d3db9054a4facabdb27dd3c514b6dc7d8bc5648e81a5a6d3df8ee63002da08280e9f027cb007933378ade7bf895f950e4d7be660c935da553a1fd0f5
MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5

View File

@ -1,123 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="HTTP client/server for asyncio"
HOMEPAGE="
https://github.com/aio-libs/aiohttp/
https://pypi.org/project/aiohttp/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="+native-extensions test-rust"
RDEPEND="
>=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}]
>=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}]
>=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}]
>=dev-python/attrs-17.3.0[${PYTHON_USEDEP}]
dev-python/brotlicffi[${PYTHON_USEDEP}]
>=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.12.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
<dev-python/async-timeout-5[${PYTHON_USEDEP}]
>=dev-python/async-timeout-4.0[${PYTHON_USEDEP}]
' 3.10)
"
BDEPEND="
native-extensions? (
dev-python/cython[${PYTHON_USEDEP}]
)
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
www-servers/gunicorn[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/time-machine[${PYTHON_USEDEP}]
' 'python3*')
test-rust? (
dev-python/trustme[${PYTHON_USEDEP}]
)
)
"
DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst )
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
# increase the timeout a little
sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die
# xfail_strict fails on py3.10
sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die
sed -i -e 's:-Werror::' Makefile || die
distutils-r1_src_prepare
}
python_configure() {
if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions
then
# workaround missing files
mkdir tools || die
> requirements/cython.txt || die
> tools/gen.py || die
chmod +x tools/gen.py || die
# force rehashing first
emake requirements/.hash/cython.txt.hash
> .update-pip || die
> .install-cython || die
emake cythonize
fi
}
python_compile() {
# implicitly disabled for pypy3
if ! use native-extensions; then
local -x AIOHTTP_NO_EXTENSIONS=1
fi
distutils-r1_python_compile
}
python_test() {
local EPYTEST_IGNORE=(
# proxy is not packaged
tests/test_proxy_functional.py
# python_on_whales is not packaged
tests/autobahn/test_autobahn.py
)
local EPYTEST_DESELECT=(
# Internet
tests/test_client_session.py::test_client_session_timeout_zero
# broken by irrelevant deprecation warnings
tests/test_circular_imports.py::test_no_warnings
)
# upstream unconditionally blocks building C extensions
# on PyPy3 but the test suite needs an explicit switch
if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then
local -x AIOHTTP_NO_EXTENSIONS=1
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin
rm -rf aiohttp || die
epytest -m "not internal and not dev_mode" \
-p rerunfailures --reruns=5
}

View File

@ -1,119 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="HTTP client/server for asyncio"
HOMEPAGE="
https://github.com/aio-libs/aiohttp/
https://pypi.org/project/aiohttp/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test-rust speedups"
RDEPEND="
>=dev-python/attrs-17.3.0[${PYTHON_USEDEP}]
>=dev-python/charset-normalizer-2.0[${PYTHON_USEDEP}] <dev-python/charset-normalizer-4.0[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5[${PYTHON_USEDEP}] <dev-python/multidict-7.0[${PYTHON_USEDEP}]
>=dev-python/async-timeout-4.0.0_alpha3[${PYTHON_USEDEP}] <dev-python/async-timeout-5.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.0[${PYTHON_USEDEP}] <dev-python/yarl-2.0[${PYTHON_USEDEP}]
>=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}]
>=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}]
speedups? (
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/brotlipy[${PYTHON_USEDEP}]
dev-python/brotlicffi[${PYTHON_USEDEP}]
)
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
www-servers/gunicorn[${PYTHON_USEDEP}]
dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/time-machine[${PYTHON_USEDEP}]
' 'python3*')
test-rust? (
dev-python/trustme[${PYTHON_USEDEP}]
)
)
"
DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst )
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
# increase the timeout a little
sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die
# xfail_strict fails on py3.10
sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die
sed -i -e 's:-Werror::' Makefile || die
distutils-r1_src_prepare
}
python_configure_all() {
# workaround missing files
mkdir tools || die
> requirements/cython.txt || die
> tools/gen.py || die
chmod +x tools/gen.py || die
# force rehashing first
emake requirements/.hash/cython.txt.hash
> .update-pip || die
> .install-cython || die
emake cythonize
}
python_test() {
local EPYTEST_IGNORE=(
# proxy is not packaged
tests/test_proxy_functional.py
# python_on_whales is not packaged
tests/autobahn/test_autobahn.py
)
local EPYTEST_DESELECT=(
# Internet
tests/test_client_session.py::test_client_session_timeout_zero
# broken by irrelevant deprecation warnings
tests/test_circular_imports.py::test_no_warnings
# TODO
tests/test_client_session.py::test_request_tracing_url_params
# fragile timing test
tests/test_imports.py::test_import_time
# crash in time-machine
# https://github.com/aio-libs/aiohttp/issues/7851
# https://github.com/adamchainz/time-machine/issues/403
tests/test_cookiejar.py::TestCookieJarSafe::test_max_age
)
case ${EPYTHON} in
pypy3)
# upstream unconditionally blocks building C extensions
# on PyPy3 but the test suite needs an explicit switch,
# sigh
local -x AIOHTTP_NO_EXTENSIONS=1
;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked
rm -rf aiohttp || die
epytest --forked
}

View File

@ -1,123 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="HTTP client/server for asyncio"
HOMEPAGE="
https://github.com/aio-libs/aiohttp/
https://pypi.org/project/aiohttp/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test-rust speedups"
RDEPEND="
>=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}]
>=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}]
>=dev-python/attrs-17.3.0[${PYTHON_USEDEP}]
dev-python/brotlicffi[${PYTHON_USEDEP}]
>=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
<dev-python/async-timeout-5[${PYTHON_USEDEP}]
>=dev-python/async-timeout-4.0[${PYTHON_USEDEP}]
' 3.10)
speedups? (
>=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}]
dev-python/brotlipy[${PYTHON_USEDEP}]
dev-python/brotlicffi[${PYTHON_USEDEP}]
)
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
www-servers/gunicorn[${PYTHON_USEDEP}]
dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/time-machine[${PYTHON_USEDEP}]
' 'python3*')
test-rust? (
dev-python/trustme[${PYTHON_USEDEP}]
)
)
"
DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst )
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
# increase the timeout a little
sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die
# xfail_strict fails on py3.10
sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die
sed -i -e 's:-Werror::' Makefile || die
distutils-r1_src_prepare
}
python_configure_all() {
# workaround missing files
mkdir tools || die
> requirements/cython.txt || die
> tools/gen.py || die
chmod +x tools/gen.py || die
# force rehashing first
emake requirements/.hash/cython.txt.hash
> .update-pip || die
> .install-cython || die
emake cythonize
}
python_test() {
local EPYTEST_IGNORE=(
# proxy is not packaged
tests/test_proxy_functional.py
# python_on_whales is not packaged
tests/autobahn/test_autobahn.py
)
local EPYTEST_DESELECT=(
# Internet
tests/test_client_session.py::test_client_session_timeout_zero
# broken by irrelevant deprecation warnings
tests/test_circular_imports.py::test_no_warnings
# TODO
tests/test_client_session.py::test_request_tracing_url_params
# fragile timing test
tests/test_imports.py::test_import_time
# crash in time-machine
# https://github.com/aio-libs/aiohttp/issues/7851
# https://github.com/adamchainz/time-machine/issues/403
tests/test_cookiejar.py::TestCookieJarSafe::test_max_age
)
case ${EPYTHON} in
pypy3)
# upstream unconditionally blocks building C extensions
# on PyPy3 but the test suite needs an explicit switch,
# sigh
local -x AIOHTTP_NO_EXTENSIONS=1
;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked
rm -rf aiohttp || die
epytest --forked
}