5 Commits

Author SHA1 Message Date
Adolf Belka
8b54edabe1 python3-requests:Update to version 2.28.1 and to work with python-3.10.8
- Updated from version 2.27.1 to 2.28.1
- Update of rootfile
- Changelog
    2.28.1 (2022-06-29)
	**Improvements**
		- Speed optimization in `iter_content` with transition to `yield from`. (#6170)
	**Dependencies**
		- Added support for chardet 5.0.0 (#6179)
		- Added support for charset-normalizer 2.1.0 (#6169)
    2.28.0 (2022-06-09)
	**Deprecations**
		- ⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)
		- Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
	**Improvements**
		- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without
		  an encoding to make `json()` API consistent. (#6097)
		- Parse header components consistently, raising an InvalidHeader error in
		  all invalid cases. (#6154)
		- Added provisional 3.11 support with current beta build. (#6155)
		- Requests got a makeover and we decided to paint it black. (#6095)
	**Bugfixes**
		- Fixed bug where setting `CURL_CA_BUNDLE` to an empty string would disable
		  cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)
		- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with
		  `requests.exceptions.SSLError` for `content` and `iter_content`. (#6057)
		- Fixed issue where invalid Windows registry entires caused proxy resolution
		  to raise an exception rather than ignoring the entry. (#6149)
		- Fixed issue where entire payload could be included in the error message for
		  JSONDecodeError. (#6036)

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-11-10 15:13:53 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Michael Tremer
a7e60957a3 python3-idna: New package
Adds support for international domain names to python3-requests.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-21 21:13:50 +00:00
Michael Tremer
3992da532d python3-certifi: New package
This package provides the Mozilla CA list for python3-requests.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-21 21:13:50 +00:00
Michael Tremer
1acceaadb2 python3-requests: New package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-21 21:13:50 +00:00