Commit Graph

11020 Commits

Author SHA1 Message Date
Anthony Sottile 336e979894 delete some dead test code (VERBOSE_FALSE)
was just browsing through some files and noticed this
2020-10-12 16:05:05 -07:00
Nguyễn Gia Phong cf6ecab627 Bump mypy to 0.790 for Python 3.9 compat
HashError.order is now annotated as an int to allow
HashErrors.errors.sort(key=lambda e: e.order).  Alternatively we can
define a function which assert e is not None but I prefer the more
concise version, since we never raise HashError directly anyway.
2020-10-12 17:37:55 +07:00
Nguyễn Gia Phong da7569a440 Document and start testing Python 3.9 support
At first use it for GitHub Action for linting.
2020-10-12 17:37:23 +07:00
Pradyun Gedam 063f2ae74e
Merge pull request #8974 from NoahGorny/fix-new-resolver-upgrades-when-not-needed-to 2020-10-10 20:41:48 +05:30
Pradyun Gedam 95dbf34d6e
Merge pull request #8919 from FFY00/fix-devendored-pip
Revert "Merge pull request #8391 from VikramJayanthi17/error-swallow-…
2020-10-10 18:41:32 +05:30
Noah Gorny 7e02958a1e Add news fragment for 8963 2020-10-10 02:23:08 +03:00
Noah Gorny 960dca9949 resolvelib: factory: Get installed distributions correctly 2020-10-10 02:23:08 +03:00
David Poggi e48234e669
Fix docs for trusted-host in config file 2020-10-08 11:43:08 -04:00
Pradyun Gedam 739f342a51
Merge pull request #8843 from McSinyx/no-save-resolve-artifacts 2020-10-07 15:26:46 +05:30
Nguyễn Gia Phong b28e2c4928 New resolver: Avoid polluting dest dir
Previously, during dependency resolution for `pip download -d <dir>`
or `pip wheel -w <dir>`, distributions downloaded are always saved
to <dir>, even for those are only used in backtracking and are not
part of the returned requirement set.
2020-10-07 13:42:21 +07:00
Nguyễn Gia Phong 6887b0795b Merge usage of download_dir and wheel_download_dir
In every cases, at least one of them is None.  By doing this,
it is also possible to simplify wrapper codes around download_dir.
2020-10-07 13:42:21 +07:00
Nguyễn Gia Phong 78b294e746 Remove download_dir exist check
Both pip download and wheel call endure_dir on the directory.
2020-10-07 13:42:21 +07:00
Pradyun Gedam dcc12f3786
Merge pull request #8962 from McSinyx/news-rst
Enforce news/*.rst
2020-10-07 03:51:04 +05:30
Nguyễn Gia Phong 234bcf6c11 Enforce news/*.rst 2020-10-06 21:36:19 +07:00
Pradyun Gedam a0f2f2cd5f
Merge pull request #8942 from brainwane/docs-8661
docs: Add how to default to new resolver
2020-10-06 18:56:56 +05:30
Pradyun Gedam 812a3a9f7e
Merge pull request #8958 from pradyunsg/enforce-rst-extension-in-news-directory
Change the symlink to be a proper file instead
2020-10-06 17:14:22 +05:30
Pradyun Gedam 717f54a931
Change the symlink to be a proper file instead. 2020-10-04 23:15:30 +05:30
Pradyun Gedam 8ce5d5abbc
Merge pull request #8147 from pradyunsg/enforce-rst-extension-in-news-directory 2020-10-03 17:02:29 +05:30
Pradyun Gedam 8e8b6a6c7d
Rename the NEWS fragments 2020-10-03 16:48:56 +05:30
Pradyun Gedam 603b2fa4ca
Rework the NEWS entries section 2020-10-03 16:48:56 +05:30
Pradyun Gedam c5744d5643
Enforce news/*.{correct-kind}.rst naming 2020-10-03 16:48:51 +05:30
Pradyun Gedam 8aab76c63f
Merge pull request #8910 from hugovk/pip-cache-http
Include http subdirectory in 'pip cache info' and 'pip cache purge'
2020-10-02 13:26:00 +05:30
Hugo van Kemenade 0652a2f016 Rename to 'Package index page cache location' 2020-10-02 09:59:38 +03:00
Pradyun Gedam d0f80a44c9
Merge pull request #8804 from McSinyx/fast-deps-check-dl-dir 2020-10-02 03:41:43 +05:30
Nguyễn Gia Phong 2ef8040495 Comment and rework conditionals in download dir check
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2020-10-01 22:00:47 +07:00
Sumana Harihareswara 3b44d70b5e docs: Add how to default to new resolver
Fixes #8661.
2020-09-30 07:12:10 -04:00
Pradyun Gedam fe2075b686
Merge pull request #8848 from webknjaz/features/8783--sphinx-ext-admonitions 2020-09-30 11:00:43 +05:30
Pradyun Gedam ccc84a6ab2
Merge pull request #8935 from hugovk/unpip-pytest
Revert "Pin pytest whilst pytest-rerunfailures is incompatible with pytest 6.1"
2020-09-29 15:06:20 +05:30
Pradyun Gedam a4d34417c1
Merge pull request #8933 from brainwane/put-key-links-on-front-page 2020-09-29 15:05:23 +05:30
Pradyun Gedam 428a7900ba
Merge pull request #8924 from uranusjr/new-resolver-try-user-requested-combinations-first 2020-09-29 15:04:51 +05:30
Hugo van Kemenade 4fc4333abf Revert "Pin pytest whilst pytest-rerunfailures is incompatible with pytest 6.1"
This reverts commit fbf710ea5d.
2020-09-29 09:57:46 +03:00
Sumana Harihareswara 6138184e2c Update docs index page about resolver and UX work 2020-09-28 15:23:55 -04:00
Tzu-ping Chung df6d3c701a News fragment 2020-09-28 22:23:10 +08:00
Tzu-ping Chung c2de8974d4 Resolve user-requested requirements first 2020-09-28 22:23:10 +08:00
Tzu-ping Chung ebc1375612 Make private attribute looks private 2020-09-28 22:19:51 +08:00
Pradyun Gedam b98cf9c6c8
Merge pull request #8927 from hugovk/document-python-support-policy
Document Python support policy
2020-09-28 14:47:48 +05:30
Pradyun Gedam a3da6b2373
Merge pull request #8926 from uranusjr/dont-crash-on-check
Don't crash on 'check' when METADATA is missing
2020-09-28 14:38:25 +05:30
Pradyun Gedam b4d12f04f8
Merge pull request #8928 from hugovk/pin-pytest
Pin pytest whilst pytest-rerunfailures is incompatible with pytest 6.1
2020-09-28 14:32:27 +05:30
Hugo van Kemenade fbf710ea5d Pin pytest whilst pytest-rerunfailures is incompatible with pytest 6.1 2020-09-28 09:52:15 +03:00
Tzu-ping Chung 806c112ed0 Don't crash on 'check' when METADATA is missing 2020-09-28 14:28:53 +08:00
Hugo van Kemenade d4686b5793 Document Python support policy 2020-09-27 21:11:35 +03:00
Pradyun Gedam 703d6ac874
Merge pull request #8912 from uranusjr/cache-found-candidates 2020-09-27 19:39:41 +05:30
Filipe Laíns b215120b5a
Revert "Merge pull request #8391 from VikramJayanthi17/error-swallow-fix"
This reverts commit 7a60395dbd, reversing
changes made to d3ce025e8d.

It fixes devendored pip. See #8916.

Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-09-26 14:41:42 +01:00
Tzu-ping Chung dedecf0735
Remove the .rst suffix from news fragment 2020-09-26 19:55:00 +08:00
Tzu-ping Chung 22eeff4770 News 2020-09-26 15:26:05 +08:00
Tzu-ping Chung 1dd6d56278 Cache PackageFinder.find_all_candidates() 2020-09-26 15:26:05 +08:00
Tzu-ping Chung 1135ac041d Move lru_cache to utils for reuse 2020-09-26 15:26:05 +08:00
Sviatoslav Sydorenko 13962cd6ad
🎨 Colorize the "important" admonition blocks 2020-09-25 23:25:36 +02:00
Sviatoslav Sydorenko 3301284810
📝 Add initial sphinx ext for per-doc feedbacks
Resolves #8783
2020-09-25 23:25:35 +02:00
Sviatoslav Sydorenko 67bff6199f
Add a change fragment about issue #8783 / PR #8848 2020-09-25 21:14:26 +02:00