Nate Prewitt
58cea7a728
Drop support for CPython 3.7
2024-02-20 15:37:46 -08:00
Nate Prewitt
d63e94f552
Move to src directory ( #6506 )
2023-08-13 14:46:13 -07:00
Nate Prewitt
e9fa2e2da3
Add 3.12 classifier and tox configuration ( #6503 )
2023-08-13 12:56:18 -07:00
Thomas Grainger
b639e66c81
test on py3.12 ( #6448 )
...
* test on py3.12
* update to pytest-httpbin==2.0.0
2023-05-13 08:10:56 -06:00
Nate Prewitt
2ad18e0e10
v2.30.0
2023-05-03 09:39:44 -06:00
Matthew Feickert
16a17a3ca7
fix: Remove '<4' from python_requires ( #6333 )
...
* As discussed in https://discuss.python.org/t/use-of-less-than-next-major-version-e-g-4-in-python-requires-setup-py/1066
and other places by the PyPA, use of upper bounds with python_requires
for future versions of Python is unintended use of python_requires and
actively discouraged.
2023-01-18 22:37:24 -07:00
deedy5
c57f1f0ca1
Allow charset normalizer >=2 and <4 ( #6261 )
2022-10-20 12:26:18 -06:00
Lumír 'Frenzy' Balhar
0e28c8f1dc
Allow charset normalizer >=2 and <3 ( #6169 )
2022-06-28 20:01:42 -06:00
Wong Hoi Sing Edison
73793ce43e
Update Dependency with chardet>=3.0.2,<6 ( #6179 )
...
https://github.com/chardet/chardet/releases/tag/5.0.0 was released on
2022-06-25 with remove of Python 3.6 support, which also align with our
Python > 3.6 requirement.
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com >
2022-06-27 20:25:58 -06:00
Nate Prewitt
2a6f290bc0
Add automatic code formatting to Requests ( #6095 )
2022-04-29 13:16:58 -06:00
Nate Prewitt
8bce583b95
Farewell, sweet Concorde!
...
Formally removing any remaining vestiges of Python 2 from Requests.
We'll also leave behind Python 3.6 while we're at it.
2022-03-25 10:50:33 -06:00
Nate Prewitt
17e6e27a93
General cleanup for 2.27.0
2021-12-29 16:29:09 -06:00
Nate Prewitt
248122a697
Add support for 3.10 ( #5928 )
2021-09-03 19:03:15 -07:00
Nate Prewitt
f6c0619d89
Disable requests[security] and remove 3.5 support references
2021-07-09 12:40:55 -07:00
Naor Livne
33cf965f72
Allow idna 3.x to be installed on Python 3.x
...
Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr >
Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com >
2021-07-07 08:25:20 -05:00
Ash Berlin-Taylor
2ed84f55b2
Switch LGPL'd chardet for MIT licensed charset_normalizer ( #5797 )
...
Although using the (non-vendored) chardet library is fine for requests
itself, but using a LGPL dependency the story is a lot less clear
for downstream projects, particularly ones that might like to bundle
requests (and thus chardet) in to a single binary -- think something
similar to what docker-compose is doing. By including an LGPL'd module
it is no longer clear if the resulting artefact must also be LGPL'd.
By changing out this dependency for one under MIT we remove all
license ambiguity.
As an "escape hatch" I have made the code so that it will use chardet
first if it is installed, but we no longer depend upon it directly,
although there is a new extra added, `requests[lgpl]`. This should
minimize the impact to users, and give them an escape hatch if
charset_normalizer turns out to be not as good. (In my non-exhaustive
tests it detects the same encoding as chartdet in every case I threw at
it)
Co-authored-by: Jarek Potiuk <jarek@potiuk.com >
Co-authored-by: Jarek Potiuk <jarek@potiuk.com >
2021-07-06 18:55:02 -05:00
Hans96
2c2138e811
Update setup.py ( #5780 )
...
Removed `import re` as unnecessary import
2021-03-19 17:09:29 -05:00
Dan Blanchard
516f84f490
Upgrade to chardet 4.x
2020-12-11 10:31:38 -05:00
Nate Prewitt
03957eb1c2
v2.25.0
2020-11-11 11:55:50 -08:00
Ae-Mc
333fa8d3f2
Remove reading HISTORY.md in setup.py
2020-09-29 10:36:31 -05:00
Chris Withers
c46f55bd48
Limit dependencies to major instead of minor ( #5342 )
2020-02-18 08:58:27 -06:00
Sorin Sbarnea
d2590ee46c
Change documentation website to requests.readthedocs.io ( #5236 )
...
Fixes : #5212
2019-10-24 20:02:55 -07:00
Nate Prewitt
e08981ee46
updating project url
2019-09-19 07:52:28 -07:00
kennethreitz
bc81ee3af4
Update setup.py
2019-08-20 01:01:06 -04:00
kennethreitz
8086ffdbbf
Merge pull request #4999 from greysteil/add-project-urls
...
Add project URLs with links to source code and docs
2019-08-20 00:21:31 -04:00
Miro Hrončok
dc75b3ca0b
Support pytest 4
...
Fixes https://github.com/kennethreitz/requests/issues/5048
See https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize
2019-05-24 00:02:43 +02:00
Nate Prewitt
aeda65bbe5
v2.22.0
2019-05-15 12:51:39 -07:00
Nate Prewitt
68e581f1b5
drop 3.4 support
2019-05-15 12:51:31 -07:00
Grey Baker
7d7d9ebacf
Add project URLs with links to source code and docs
2019-02-23 13:24:52 +00:00
Alex Gaynor
8761e9736f
Bumped maximum version of idna
2018-12-09 21:41:14 -08:00
Nate Prewitt
bd840450c0
v2.20.0
2018-10-17 22:32:22 -07:00
Nate Prewitt
7fd9267b3b
remove final remnants from 2.6
2018-10-17 00:18:51 -07:00
kennethreitz
eea96f94d9
Update setup.py
2018-09-17 06:05:03 -04:00
juozasget
b9dfc95cf2
Tuple test_requirements was too long, PEP8
...
Broken a long line into multiple lines inside tuple parenthesis.
2018-09-15 13:26:59 +03:00
Nate Prewitt
489f58ced5
represent classifiers as list instead of tuple
2018-08-06 23:04:50 -07:00
Eric Brown
6686ac1730
Add official Python 3.7 support ( #4717 )
...
* Add official Python 3.7 support
Python 3.7 was just released [1]. This is a small change to
enable support in requests.
Signed-off-by: Eric Brown <browne@vmware.com >
2018-07-24 07:44:37 -07:00
Nate Prewitt
991e8b76b7
v2.19.0
...
* Updated HISTORY.rst.
* Moved version pin for idna to allow recent 2.7 release.
* Updated version warning for urllib3 to allow 1.23.
* Updated metadata dunders in __version__.py.
* Removed Python 2.6 trove classifier.
* Removed Python 2.6 reference from README.rst.
2018-06-12 07:38:10 -07:00
Nate Prewitt
de64f0f23f
port pyopenssl fix from urllib3
2018-06-10 14:49:13 -07:00
Michael
ac944b7439
Allow urllib3 1.23
...
https://github.com/urllib3/urllib3/blob/1.23/CHANGES.rst#123-2018-06-04
2018-06-05 12:06:03 +00:00
Pradyun Gedam
048c926b46
README is in ReST
2018-05-07 00:23:38 +05:30
Pradyun Gedam
5f306dbe99
Add long_description_content_type to setup.py
...
See:
- https://packaging.python.org/guides/making-a-pypi-friendly-readme/
- https://pypi.org/p/requests/
2018-05-04 16:43:25 +05:30
Jon Dufresne
7cefa939f5
Pass python_requires argument to setuptools
...
Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-01-12 16:39:10 -08:00
Jon Dufresne
c14bd018ad
Add missing trove classifier to document Python2 support
2017-10-15 19:48:10 -07:00
kennethreitz
96b9a3f0fc
Update setup.py
2017-08-28 12:25:26 -04:00
Cory Benfield
0a2dc74ecb
Drop Python 3.3 support
2017-08-09 19:03:04 +01:00
Cory Benfield
f4ddf00c36
Allow IDNA 2.6
2017-08-08 13:32:15 +01:00
Cory Benfield
8d1228cd19
Allow urllib3 1.22
2017-07-20 10:08:50 +01:00
Jacob Mansfield
98bbf8d170
Catch error if multiprocessing is not available or is unable to determine the number of CPUs
2017-05-30 13:47:55 +01:00
kennethreitz
e6e3589c36
number of cores for travis
2017-05-28 12:14:27 -04:00
kennethreitz
679d368e3e
setup.py improvements
2017-05-27 23:27:38 -04:00