Commit Graph

10855 Commits

Author SHA1 Message Date
Pradyun Gedam abb3d0fae3
Move build_env tests to functional
These tests use the script fixture which as a 30s setup time on my
machine. This KILLS productivity when trying to run unit tests as part
of a feedback loop during development.
2020-10-25 23:32:26 +05:30
Pradyun Gedam bd3d5f8f29
Set the CI variable on Azure Pipelines 2020-10-25 23:18:48 +05:30
Pradyun Gedam 66bb8a88c4
Add a small delay between re-runs 2020-10-25 23:03:10 +05:30
Pradyun Gedam 9faf431fbb
Breakup conditional for readability 2020-10-25 23:02:59 +05:30
Pradyun Gedam 08c99b6e00
Merge pull request #9008 from pradyunsg/better-tabs 2020-10-19 19:40:51 +05:30
Pradyun Gedam 4e26bf22f5
Merge pull request #8971 from McSinyx/ci39 2020-10-19 19:23:49 +05:30
Pradyun Gedam fb03b6aede
Switch to sphinx-inline-tabs for tabs 2020-10-18 22:42:24 +05:30
Pradyun Gedam f81cfff061
Merge pull request #8990 from pradyunsg/release/20.2.4 2020-10-18 03:13:56 +05:30
Nguyễn Gia Phong c69644257e
Pin vendoring to ~=0.3.3 in test suite
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2020-10-17 19:47:55 +07:00
Pradyun Gedam 47bea8aa27
Delete news fragments from pip 20.2.4 2020-10-16 18:25:19 +05:30
Pradyun Gedam d0051aafb0
Merge branch 'master' into release/20.2.4 2020-10-16 18:22:56 +05:30
Pradyun Gedam c73f06f447
Bump for development 2020-10-16 18:12:10 +05:30
Pradyun Gedam 57dd580f58
Bump for release 2020-10-16 18:12:10 +05:30
Pradyun Gedam 6a8956d7a8
Merge pull request #8932 from uranusjr/new-resolver-lazy-sequence 2020-10-16 18:12:03 +05:30
Pradyun Gedam 4aec7e81c9
Merge pull request #8758 from uranusjr/new-resolver-requires-python-when-no-deps 2020-10-16 18:11:08 +05:30
Pradyun Gedam 0a637fa89a
Merge pull request #8942 from brainwane/docs-8661
docs: Add how to default to new resolver
2020-10-16 18:09:10 +05:30
Pradyun Gedam c8533f0f60
Merge pull request #8933 from brainwane/put-key-links-on-front-page 2020-10-16 18:09:10 +05:30
Pradyun Gedam 74f48cf8fc
Merge pull request #8927 from hugovk/document-python-support-policy
Document Python support policy
2020-10-16 18:09:10 +05:30
Pradyun Gedam ff5a9b5f6f
Merge pull request #8926 from uranusjr/dont-crash-on-check
Don't crash on 'check' when METADATA is missing
2020-10-16 18:09:09 +05:30
Pradyun Gedam ae4d27179f
Merge pull request #8924 from uranusjr/new-resolver-try-user-requested-combinations-first 2020-10-16 18:09:09 +05:30
Pradyun Gedam 314de5a3b4
Merge pull request #8912 from uranusjr/cache-found-candidates 2020-10-16 18:09:02 +05:30
Pradyun Gedam e7e62d8f75
Merge pull request #8873 from hugovk/docs-3-months-deprecation 2020-10-16 18:08:32 +05:30
Pradyun Gedam e832878f3f
Merge pull request #8839 from uranusjr/new-resolver-hash-intersect 2020-10-16 18:08:32 +05:30
Pradyun Gedam 7170313602
Merge pull request #8807 from pypa/add-ux-docs
Add ux docs to pip documentation
2020-10-16 18:08:32 +05:30
Xavier Fernandez f9a1761e94
Merge pull request #8795 from McSinyx/user-guide-fmt
Reformat a few spots in user guide
2020-10-16 18:08:32 +05:30
Pradyun Gedam df554a9337
Merge pull request #8780 from eamanu/fix-8009 2020-10-16 18:08:32 +05:30
Pradyun Gedam 6407f7ed85
Merge pull request #7859 from pradyunsg/docs/deep-dive-cli
Architecture Documentation: CLI deep dive
2020-10-16 18:08:31 +05:30
Pradyun Gedam 3fe826c699
Merge pull request #8932 from uranusjr/new-resolver-lazy-sequence 2020-10-13 19:23:53 +05:30
Tzu-ping Chung b921db84bd Improve sorting logic 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 761433cee8 Eliminate len() usage in tests 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 17d0086ea2 Do this all over again 2020-10-13 16:12:11 +08:00
Tzu-ping Chung d22775819b Test for candidate ordering 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 6e3d56897b Always return the installed version 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 270e183718 News 2020-10-13 16:12:11 +08:00
Tzu-ping Chung 01c9b6cf25 Cache results and remove unused implementation 2020-10-13 16:06:00 +08:00
Tzu-ping Chung a270ca5616 Mypy is wrong 2020-10-13 16:06:00 +08:00
Tzu-ping Chung 8326148149 Implement "lazy sequence" to avoid Internet
find_matches() is modified to return a special type that implements
the sequence protocol (instead of a plain list). This special sequence
type tries to use the installed candidate as the first element if
possible, and only access indexes when the installed candidate is
considered unsatisfactory.
2020-10-13 16:06:00 +08: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
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