Commit Graph

6584 Commits

Author SHA1 Message Date
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
Dan Ryan 14566756a0 Fix outline table conversion for new tomlkit release
- Fix conversion of outline tables with new tomlkit release
- Fix pip and pip-shims patches

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:01 -04:00
Dan Ryan e629c0ce02 Update vendor.txt and ecosystem libraries
- Update `pip_shims`, `pythonfinder`, `requirementslib`, `vistir`
- Add patches to update or fix import paths where necessary
- Hardcode funcsigs license

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:01 -04:00
Dan Ryan b5892c1d03 Add missing dependencies, fix patched pip path
- Add missing dependencies:
  - `zipp==0.6.0`
  - `more-itertools==5.0.0`
  - `importlib-metadata==1.3.0`
  - `funcsigs==1.0.2`
  - `contextlib2==0.6.0.post1`
- Fix patched pip import paths for CLI and resolver
- Update patches

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:00 -04:00
Dan Ryan d9cddcb890 Updated and re-patched vendored dependencies
- **click-completion**: ``0.5.1 => 0.5.2``
- **python-dotenv**: ``0.10.2 => 0.10.3``
- **jinja2**: ``2.10. => 2.10.3``
- **parse**: ``1.12.0 => 1.13.0``
- **pathlib2**: ``2.3.3 => 2.3.5``
- **pipreqs**: ``0.4.9 => 0.4.10``
- **urllib3**: ``1.25.2 => 1.25.7``
- **certifi**: ``2019.3.9 => 2019.11.28``
- **requirementslib**: ``1.5.1 => 1.5.4``
- **attrs**: ``19.1.0 => 19.3.0``
- **distlib**: ``0.2.9 => 0.3.0``
- **packaging**: ``19.0 => 19.2``
- **pyparsing**: ``2.3.1 => 2.4.5``
- **tomlkit**: ``0.5.3 => 0.5.8``
- **six**: ``1.12.0 => 1.13.0``
- **semver**: ``2.8.1 => 2.9.0``
- **vistir**: ``0.4.2 => 0.4.3``
- **pip-shims**: ``0.3.2 => 0.4.0``
- **yaspin**: ``0.14.3 => 0.15.0``
- **cerberus**: ``1.3.1 => 1.3.2``
- **pep517**: ``0.5.0 => 0.8.1``
- **orderedmultidict**: ``1.0 => 1.0.1``
- **pip**: ``19.0.3 => 19.3.1``
- **pip-tools**: ``3.5.0 => 4.3.0``

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:00 -04:00
Nick Coghlan b5a7204992 Adjust wording in basics doc 2020-04-10 17:06:41 +10:00
Nick Coghlan f590ef622d Merge pull request #3878 from pypa/feature/lock-r
PEEP 006: new behavior of `pipenv lock -r -d`
2020-04-10 16:04:41 +10:00
Nick Coghlan d9651194e2 Merge branch 'master' into feature/lock-r 2020-04-10 15:41:25 +10:00
jerojasro 174a667834 Update basics.rst 2020-04-04 17:26:34 -05:00
jerojasro 91cd4235fb Update basics.rst 2020-04-04 17:25:25 -05:00
jerojasro ddd4b3e7e7 minor redaction fix 2020-04-03 15:59:20 -05:00
Frost Ming a883ef5159 Merge pull request #4100 from timhughes/dotenv_docs
Dotenv docs
2020-03-26 10:59:48 +08:00
Dan Ryan 2aa8775bc3 Merge pull request #4160 from brainwane/link-fix
Update GitHub logo link in docs
2020-03-24 13:21:21 -04:00
Sumana Harihareswara d74e7aa310 Update GitHub logo link in docs
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-24 13:19:23 -04:00
Dan Ryan e95f48450a Merge pull request #4145 from brainwane/link-fixes-shared-resources
Update links in documentation
2020-03-24 12:54:34 -04:00
Sumana Harihareswara 805f438108 Fix spelling in comment
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-06 15:51:31 -05:00
Sumana Harihareswara 603a20bf45 Update links in documentation
The canonical Pipenv documentation is now at pipenv.pypa.io.
Also, the canonical GitHub repositories for Pipenv and
Requests have changed, and some other communications links
(Twitter, mailing list, "thank you") were no longer
operational. This commit updates those and clarifies that
Pipenv is a project maintained by the PyPA.

Fixes #4137.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-05 20:55:28 -05:00
Tim Hughes 1fcb1b5bc1 [docs] mention variable expansion in .env files
fix #3610
2020-01-15 12:49:14 +00:00
James Stidard d10b2a216a consistent foramt string usage 2020-01-13 13:57:36 +08:00
James Stidard a921dfa99b added feature fragment 2020-01-13 13:57:36 +08:00
James Stidard 232e076e26 pyenv and asdf installers 2020-01-13 13:57:36 +08:00
Hauke Löffler 181c9648a0 Create .dockerignore to speedup docker build (#3966)
Just ignore all directories to speed up build.
2020-01-13 13:55:28 +08:00
Elton Viana 7801481598 Use listcomp instead of filter with lambda function (#3969) 2020-01-13 13:54:43 +08:00
Tzu-ping Chung 49dc0f0ae4 Merge pull request #4060 from fridex/fix-tf-200
Fix setting os.environ of Python 3.7+
2020-01-13 13:53:13 +08:00
Fridolín Pokorný 5a1e7f305a Merge branch 'master' into fix-tf-200 2020-01-13 05:06:38 +01:00
Fridolin Pokorny 5e767e9c54 Pop PIPENV_SITE_DIR if not set 2020-01-13 04:32:19 +01:00
Frost Ming 2549656dc0 Merge pull request #4046 from superruzafa/fix-pipenv-spinner
honor PIPENV_SPINNER environment variable
2019-12-24 12:15:35 +08:00