Commit Graph

125 Commits

Author SHA1 Message Date
Fedora Release Engineering
21922e1494 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:07:03 +00:00
Petr Viktorin
7b94c2e14b Update to 2.25.0 2020-11-25 12:43:24 +01:00
Miro Hrončok
a2f6bde0d7 Don't BR pytest-cov 2020-11-13 15:19:24 +01:00
Petr Viktorin
72b7ad559c Port to pyproject macros 2020-09-19 12:14:25 +02:00
Miro Hrončok
5977032a51 Build with pytest 6, older version is no longer required 2020-09-18 20:54:25 +02:00
Fedora Release Engineering
c7ebbfef39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 03:36:15 +00:00
Miro Hrončok
72789402b3 Update to 2.24.0
Remove no longer needed patches:

  Don-t-inject-pyopenssl-into-urllib3.patch:
    https://github.com/psf/requests/issues/5443

  requests-2.20.0-no-py2-httpbin.patch:
    python2-requests is no more anyway
2020-07-11 10:46:50 +02:00
Miro Hrončok
f176dee1d6 Deselect test_https_warnings
See https://bugzilla.redhat.com/show_bug.cgi?id=1676023
and https://github.com/psf/requests/issues/5530
2020-07-11 10:33:11 +02:00
Miro Hrončok
cf89145232 Add requests[security] and requests[socks] subpackages
https://fedoraproject.org/wiki/Changes/PythonExtras
2020-07-10 19:55:52 +02:00
Miro Hrončok
11e90b9f64 Test with pytest 4, drop manual requires
Also explicitly BR setuptools, assert egg-info is a directory.
2020-06-02 11:35:20 +02:00
Miro Hrončok
3d4961eadf Rebuilt for Python 3.9 2020-05-25 20:55:45 +02:00
Miro Hrončok
f0721ebf64 Bootstrap for Python 3.9 2020-05-22 18:18:59 +02:00
Randy Barlow
f9d62a3fa1 Update to 2.23.0
https://bugzilla.redhat.com/show_bug.cgi?id=1804863

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2020-02-21 12:13:48 -05:00
Fedora Release Engineering
2669cc1211 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 14:57:48 +00:00
Charalampos Stratakis
6f87fd36b0 Remove the python2 subpackage (rhbz#1761787) 2019-10-22 17:43:37 +02:00
Petr Viktorin
ed6a939199 Python 2: Remove tests and test dependencies 2019-09-18 14:33:35 +02:00
Miro Hrončok
993846bbca Rebuilt for Python 3.8 2019-08-19 10:43:38 +02:00
Miro Hrončok
ee89d35aca Bootstrap for Python 3.8 2019-08-15 17:09:34 +02:00
Fedora Release Engineering
31013885f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 15:58:28 +00:00
yatinkarel
255ca6064a Add minimum requirement for chardet and urllib3
"requests" imposes minimum requirement for chardet[1]
and urllib3[2] and returns warning in case requirement
is not met, since these deps can be pre installed,
specifying minimum requirement for package, so these
deps get's updated when python-requests package is
installed or updated.

[1] https://github.com/kennethreitz/requests/blob/v2.22.0/requests/__init__.py#L65
[2] https://github.com/kennethreitz/requests/blob/v2.22.0/requests/__init__.py#L60
2019-06-11 10:03:22 +05:30
Jeremy Cline
ad843d5615 Pick up Miro's pytest 4 fix 2019-05-23 15:46:49 -04:00
Jeremy Cline
85a268d1e6 Update to v2.22 2019-05-23 14:42:04 -04:00
Fedora Release Engineering
4b57184559 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 09:02:07 +00:00
Jeremy Cline
bfe36edfe2
Update to v2.21.0
Also adjust the patch that forces the system CA bundle to be used so
that behavior doesn't change if python-certifi is installed. It's
patched to point at the system CA bundle as well, but there's no reason
we need to assume that or use it.
2018-12-13 14:09:27 -05:00
Miro Hrončok
33bb8ea0e5 No pytest-httpbin for Python 2
https://bugzilla.redhat.com/show_bug.cgi?id=1653223
2018-11-26 11:25:10 +01:00
Jeremy Cline
ffc9beb883
Update to v2.20.0
This fixes CVE-2018-18074.
2018-10-29 14:16:26 -04:00
Fedora Release Engineering
a2a25ac328 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 01:53:07 +00:00
Miro Hrončok
10c32483d0 Rebuilt for Python 3.7 2018-06-18 17:30:07 +02:00
Jeremy Cline
50eef463fc
Update to v2.19.1 (rhbz 1591531) 2018-06-14 22:52:15 -04:00
Miro Hrončok
6b2c2638bb Bootstrap for Python 3.7 2018-06-14 15:01:44 +02:00
Jeremy Cline
2455988645
Update to v2.19.0 2018-06-12 14:17:56 -04:00
Jeremy Cline
c670b3bcc3
Don't print runtime warning about urllib3 v1.23 (rhbz 1589306)
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2018-06-08 12:18:08 -04:00
Jeremy Cline
9191e71974
Allow urllib3 v1.23 (rhbz 1586311) 2018-06-05 23:07:31 -04:00
Miro Hrončok
ae81b73839 Remove useless shebang 2018-06-05 16:55:51 +02:00
Miro Hrončok
7e81914aaa General cleanup of the specfile
- python_sitelib was defined but never used
 - _with_python3 was True, so I removed the ifs
 - python3_pkgversion is defined on both Fedora and EPEL
 - %{py3dir} is deprecated and not needed here
 - use %pyX_build and %pyX_install macros, stop using %{__python}
 - run tests against the installed version
 - some cruft removal
2018-06-05 16:46:46 +02:00
Miro Hrončok
cb02c8bebb BR idna, or the tests fail 2018-06-05 16:45:30 +02:00
Miro Hrončok
cd19418c79 Conditionalize the tests, useful when bootstrapping Python 2018-05-14 14:25:33 +02:00
Jeremy Cline
26f526b44e
Don't inject pyopenssl into urllib3 (rhbz 1567862)
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2018-04-16 10:40:45 -04:00
Fedora Release Engineering
87c6858d16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 10:31:22 +00:00
Iryna Shcherbina
ddda5a09fe Fix ambiguous Python 2 dependency declarations 2017-12-11 13:49:41 +01:00
Jeremy Cline
a45eccb833
Update to 2.18.4
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-08-18 10:08:46 -04:00
Igor Gnatenko
33a34fdd3a Update to 2.18.2
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-26 12:24:58 +02:00
Jeremy Cline
42ab4cc57f
Remove the certifi requirement from setup.py
We use the certificates provided by the ca-certificates RPM package and
therefore don't use certifi.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-20 09:05:25 -04:00
Jeremy Cline
2c9580baca
Update to 2.18.1 (#1449432)
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-19 16:35:58 -04:00
Jeremy Cline
bf26e32110
Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/python-requests 2017-05-17 13:13:56 -04:00
Jeremy Cline
36f0139078
Update to 2.14.2 (#1449432)
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-05-17 13:10:52 -04:00
Stephen Gallagher
ec7c554bd9
Fix typo causing the opposite of the intended affect. 2017-05-14 14:11:30 -04:00
Stephen Gallagher
52b5430773
Don't run tests when building as a module 2017-05-14 13:46:01 -04:00
Jeremy Cline
92f3747faf
Update to 2.13.0 (#1418138)
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-02-09 13:10:42 -05:00
Adam Williamson
dbcd0be450 Include and enable tests (now python-pytest-httpbin is packaged) 2016-12-30 11:03:31 -08:00