Commit Graph

11226 Commits

Author SHA1 Message Date
Hugo van Kemenade 209ca8de8f Remove default allow_stderr_warning=False 2020-12-22 16:40:01 +02:00
Hugo van Kemenade 2426744203 "" is clearer than str() 2020-12-22 16:38:25 +02:00
Hugo van Kemenade d509a27ad4 Review updates 2020-12-22 15:21:17 +02:00
Hugo van Kemenade 33f48e2b72 Replace more six 2020-12-22 10:22:20 +02:00
Hugo van Kemenade 817ee23051 Remove redundant Python 2.7 code 2020-12-22 09:06:26 +02:00
Stéphane Bidoul ccbf085095
Improve local pre-commit experience 2020-12-21 20:10:44 +01:00
Pradyun Gedam e6d2bb2341
📰 2020-12-21 19:10:19 +00:00
Pradyun Gedam be9637f7f5
Merge pull request #9189 from pradyunsg/drop-old-python-support
Drop support for Python 2.7 and Python 3.5
2020-12-20 18:57:41 +00:00
Pradyun Gedam c7a72060ba
📰 2020-12-20 12:03:14 +00:00
Pradyun Gedam 4f4cf38c46
Update passage on Python 2 support 2020-12-20 12:03:00 +00:00
Pradyun Gedam 726b66f67f
Merge pull request #9325 from jdufresne/isort-url
Update isort URL: timothycrosley/isort → PyCQA/isort
2020-12-20 02:03:40 +00:00
Jon Dufresne c0a7444de6 Update isort URL: timothycrosley/isort → PyCQA/isort 2020-12-19 15:28:02 -08:00
Pradyun Gedam 79f1b59335
We have no deprecated versions of Python now 2020-12-19 19:55:09 +00:00
Pradyun Gedam 7281ed9d98
No longer print a deprecation warning on 2.7/3.5
These versions are no longer supported.
2020-12-19 19:55:04 +00:00
Pradyun Gedam 0befae128a
Drop CI info about Python 2.7/3.5 2020-12-19 19:55:04 +00:00
Pradyun Gedam b2bcb2611d
Bump to PyPy 3.6 2020-12-19 19:55:04 +00:00
Pradyun Gedam 527550d5a7
Drop Python 2.7 and 3.5 from CI 2020-12-19 19:55:04 +00:00
Pradyun Gedam 872fd658c4
Add `Python 3 :: Only` classifier 2020-12-19 19:55:03 +00:00
Pradyun Gedam aaae3c5c32
Update classifiers to drop Python 2.5,3.5 2020-12-18 18:02:42 +00:00
Pradyun Gedam 7c775c86df
Update python_requires in setup.py
I am really happy to make this nice and short.
2020-12-18 18:02:41 +00:00
Pradyun Gedam 77fa5dfb9e
Present a nicer error in pip search 2020-12-18 17:50:36 +00:00
Pradyun Gedam 89d50dd833
Merge pull request #9305 from nikitos3000/pip-download-ignore-requires-python
Add `--ignore-requires-python` support to pip download.
2020-12-18 15:49:35 +00:00
Nikita Chepanov f8b03eefe2 Add `--ignore-requires-python` support to pip download 2020-12-17 12:40:01 -05:00
Pradyun Gedam 7abd8bd69e
Merge pull request #9302 from pradyunsg/release/20.3.3 2020-12-15 15:43:09 +00:00
Pradyun Gedam fe1fd0a0be
Bump for development 2020-12-15 15:21:16 +00:00
Pradyun Gedam a387de10d8
Bump for release 2020-12-15 15:21:16 +00:00
Pradyun Gedam b4fb710154
Merge pull request #9293 from pypa/revert-9264-new-resolver-dont-abort-on-inconsistent-candidate 2020-12-15 14:19:54 +00:00
Pradyun Gedam 95c3ae32a3
📰 2020-12-15 14:17:29 +00:00
Pradyun Gedam 7165ab8cb9
Revert "Skip candidate not providing valid metadata" 2020-12-15 10:17:20 +00:00
Pradyun Gedam 03d5f56b10
Merge pull request #9291 from uranusjr/skip-search-tests
Skip pip search tests unless explicitly requested
2020-12-15 10:01:36 +00:00
Tzu-ping Chung 145be2eaf2 Skip pip search tests unless explicitly requested 2020-12-15 17:23:20 +08:00
Pradyun Gedam 2b0b426b77
Merge pull request #9281 from pradyunsg/release/20.3.2 2020-12-15 01:48:41 +00:00
Pradyun Gedam e647c61b5e
Bump for development 2020-12-15 01:45:06 +00:00
Pradyun Gedam e1fded5780
Bump for release 2020-12-15 01:45:06 +00:00
Pradyun Gedam 08816b30b5
Update AUTHORS.txt 2020-12-15 01:45:05 +00:00
Pradyun Gedam cfa013b917
Merge pull request #9278 from gpiks/update_vendoring_packages
Update packaging to version 20.8
2020-12-14 20:10:25 +00:00
gpiks 6b2ccdd10d Update packaging to version 20.8
To account for Python 3.10, update the packaging version to 20.8.
2020-12-14 14:12:47 -05:00
Pradyun Gedam 94b89c98fe
Merge pull request #9269 from brainwane/docs-update-python-2-pip-20-3
Update docs to clarify that old resolver is default with Python 2
2020-12-14 14:11:02 +00:00
Sumana Harihareswara acc0cc9fe3
docs: Fix typo
Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
2020-12-14 06:46:14 -05:00
Sumana Harihareswara 8acf6d4a3c docs: Fix README for PyPI rendering
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-12-13 18:05:42 -05:00
Sumana Harihareswara df7a97f3bc docs: Fix small style issues.
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-12-13 17:37:28 -05:00
Sumana Harihareswara c7591bf973
docs: Clarify that old resolver is default with Python 2
Partially addresses #9194.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-12-13 17:25:59 -05:00
Pradyun Gedam 0f8f3d7295
Merge pull request #9264 from uranusjr/new-resolver-dont-abort-on-inconsistent-candidate
Skip candidate not providing valid metadata
2020-12-12 12:33:35 +00:00
Tzu-ping Chung d869e0cbfd Merge master 2020-12-12 18:49:14 +08:00
Tzu-ping Chung b2c04877fa Add comments explaining InstallationError handling 2020-12-12 18:47:37 +08:00
Pradyun Gedam 0aee48ff1f
Merge pull request #9265 from uranusjr/new-resolver-cache-installed-candidates
Cache AlreadyInstalledCandidate
2020-12-11 21:03:56 +00:00
Tzu-ping Chung 120105d3e8 Cache AlreadyInstalledCandidate
Since the "Requirement already satisfied" message is printed during
candidate preparation, instantiating the candidate multiple times result
in excessive logging during intensive backtracking. By caching the
already-installed candidates, each package is only prepared, and thus
only logged once.
2020-12-12 02:39:54 +08:00
Tzu-ping Chung d45541c8f3 Skip candidate not providing valid metadata
This is done by catching InstallationError from the underlying
distribution preparation logic. There are three cases to catch:

1. Candidates from indexes. These are simply ignored since we can
   potentially satisfy the requirement with other candidates.
2. Candidates from URLs with a dist name (PEP 508 or #egg=). A new
   UnsatisfiableRequirement class is introduced to represent this; it is
   like an ExplicitRequirement without an underlying candidate. As the
   name suggests, an instance of this can never be satisfied, and will
   cause eventual backtracking.
3. Candidates from URLs without a dist name. This is only possible for
   top-level user requirements, and no recourse is possible for them. So
   we error out eagerly.

The InstallationError raised during distribution preparation is cached
in the factory, like successfully prepared candidates, since we don't
want to repeatedly try to build a candidate if we already know it'd
fail. Plus pip's preparation logic also does not allow packages to be
built multiple times anyway.
2020-12-12 02:23:32 +08:00
Sviatoslav Sydorenko 0ddfe08828
Add a preview for the "next release" change notes
This change integrates `sphinxcontrib-towncrier` into the docs build.
It uses Towncrier and its configs to render a draft changelog as RST
and injects that into the `news.rst` document right above the older
changelog entries using `towncrier-draft-entries` directive.

Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-12-10 15:36:51 +01:00
Pradyun Gedam 27d8687144
Merge pull request #9249 from uranusjr/new-resolver-setuptools-last
Intentionally delay resolving setuptools
2020-12-09 12:06:00 +00:00