Commit Graph

6614 Commits

Author SHA1 Message Date
Paul Crowley 5a79f8933a Merge branch 'master' into no-pipenv-org 2020-04-14 16:21:22 -07:00
Nick Coghlan 5c01c68241 Merge pull request #4184 from ncoghlan/peep-006-update-proposal
PEEP 6: Update proposal to match in-progress PR
2020-04-12 13:24:56 +10:00
Nick Coghlan 1ae822d530 Merge branch 'master' into peep-006-update-proposal 2020-04-12 12:47:00 +10:00
Dan Ryan 5d80f824eb Merge branch 'master' into no-pipenv-org 2020-04-11 22:46:51 -04:00
Dan Ryan ca34b2e3ec Merge pull request #4169 from pypa/feature/vendor-update
Update vendored dependencies, relevant API usage, and CI config
2020-04-11 22:42:44 -04:00
Dan Ryan 8eddee63d8 Fix incorrect marker in test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 18:21:28 -04:00
Dan Ryan b493c7784e Only include first two requires_python markers
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 17:48:56 -04:00
Dan Ryan 88fe850482 Fix monkeypatch warnings on python 2.7
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 17:45:13 -04:00
Dan Ryan 2eb3d5b7ce Fix missing normalization import
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:16:12 -04:00
Pradyun Gedam d75cc6e8b3 AP: Nicer names!
This also needs renaming the pipeline on Azure Pipeline's Web UI
2020-04-10 12:16:12 -04:00
Pradyun Gedam d668af0d27 GA: Nicer naming! 2020-04-10 12:16:12 -04:00
Pradyun Gedam 8807630db3 AP: Re-add Linux job
Done for a cleaner diff when moving this block.
2020-04-10 12:16:11 -04:00
Pradyun Gedam ab3e80a7d5 AP: Remove Linux job 2020-04-10 12:16:11 -04:00
Pradyun Gedam 8cf5ee5b2b GA: Don't run on non-master branches 2020-04-10 12:16:11 -04:00
Dan Ryan 520e9be5b0 adjust virtualenv installation order
- Fix azure pipelines script

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:16:10 -04:00
Dan Ryan 4a656b3e5b Rewrite egg-links on failure to use expanded paths
- only fix egg links in the project environment

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:16:00 -04:00
Dan Ryan 5e68bcab8c Allow github tests to finish even if one fails, tweak windows tests
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:59 -04:00
Dan Ryan 4bbcefb675 Update marker resolution
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:59 -04:00
Dan Ryan 85f10b9588 Add comment on resolver functionality
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:59 -04:00
Dan Ryan e976737403 Include data-requires-python in test pypi server
- Fix test plugin for pypi runner

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:49 -04:00
Dan Ryan 9942755d40 Update test dependencies
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:39 -04:00
Dan Ryan 4c68e2092f Don't rely on old requests versions in tests'
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:38 -04:00
Dan Ryan 8b0f5addd2 Don't use pytest-timeout on windows
- Ditch timeout runner and update test modules

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:18 -04:00
Dan Ryan 1d151cd5e2 Fix broken exception on windows
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:17 -04:00
Dan Ryan 6a12408ead Add new pendulum versions
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:17 -04:00
Dan Ryan 511a144e26 Update test artifacts
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:16 -04:00
Dan Ryan 8a7d3b5385 Update ACL scripts
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:15:16 -04:00
Dan Ryan 1d633082b1 AP: Update windows tests tempdir path
- Use ramdisk on windows without subdirectory for tempdir path

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:11 -04:00
Dan Ryan e51340458e Fix package build test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:10 -04:00
Dan Ryan 6652157fb1 Fix vendor test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:09 -04:00
Dan Ryan 5c525edcaa Redo test structure for azure
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:09 -04:00
Dan Ryan f90e183064 Fix failing test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:09 -04:00
Dan Ryan e911c9ac71 Use monkeypatch instead of mock for setting dotenv test attributes
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:08 -04:00
Dan Ryan fdea18e1af Only use wrapped streams if not running CI
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:08 -04:00
Dan Ryan 13c91f7a61 stop using verbose mode in windows tests
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:08 -04:00
Dan Ryan c1061bd0a2 Use vistir path normalization for shortened windows paths
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:07 -04:00
Dan Ryan d91a9d4fa6 Normalize paths in test_run_in_virtualenv for windows
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:07 -04:00
Dan Ryan a79c91f7e9 Update azure templates
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:06 -04:00
Dan Ryan e03878d7c7 Add news entry and fix lockfile
- Drop pytest-tap
- Update azure pipelines config
- Borrow ramdisk configuration from pip
- Fix pyinstaller ref for python 2
- Add 0-minute timeout and add github workflow
- Add skip for pywin32
- Scale down to `-n auto` to reduce race conditions on windows
- Skip pywin32 on python 3.8 as the relevant dependencies aren't
  compatible
- Use default pip exists action = ignore to work around VCS race
  condition
- Create local temp directory to avoid crossing drive letter boundary on
  azure during CI runs
- Monkeypatch click windows console detection to return False in CI

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:06 -04:00
Dan Ryan feed2dd3ed Update requirementslib
- Update requirementslib with URL fixes

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:06 -04:00
Dan Ryan ed8ae212c7 Fix tomlkit functools32 import
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:05 -04:00
Dan Ryan 5ef95982f3 Add importlib_resources package to vendored pkgs
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:05 -04:00
Dan Ryan 6aa9d66549 Update test url for discord link in tests
- Point at ref that actually exists

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:04 -04:00
Dan Ryan 7923151d2b Update vendoring script
- Pull licenses from .DIST-INFO files if available before cleaining up
  wheel metadata

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:04 -04:00
Dan Ryan ee093c5b13 Update pip version-specific code
- Use shimmed `InstallCommand` from `pip_shims`
- Update `PackageFinder` usage
- Fix attempts to stringify `Bool` instances from tomlkit
- Add fallback for direct URL resolution
- Update `Requirementslib` with bugfix

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:04 -04:00
Dan Ryan 00bef5eac7 Fix outline table test to avoid pep517 builder
- Add poetry to test fixtures

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:03 -04:00
Dan Ryan bff39c5720 Update piptools patches
- Fix hash retrieval and reverse dependency traversal for wheel urls

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:03 -04:00
Dan Ryan 01157a21d7 Fix tomlkit patch and update library
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:03 -04:00
Dan Ryan 662e7c77c9 Update tomlkit patch
- Update tomlkit patch
- Update test artifacts

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:02 -04:00
Dan Ryan e7fc6e9425 Re-vendor dependencies
- Update tomlkit => 0.5.11

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:02 -04:00