Commit Graph

62 Commits

Author SHA1 Message Date
Frost Ming 45d9332cc0 Update dependency tomlkit 2020-08-27 20:35:25 +08:00
frostming 034bd6a4fe Update requirementslib to 1.5.12 2020-07-10 16:06:14 +08:00
Dan Ryan 580056f8ee Update license download script to accurately name licenses
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-27 17:04:15 -04:00
Dan Ryan 79bcbbab53 Fix safety zipfile generation
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-22 13:59:20 -04:00
Dan Ryan 8e0d01998c Vendor safety outside of zipfile
- Vendor `pyyaml == 5.3.1`
- Vendor `dparse == 0.5.0`
- Vendor `safety == 1.8.7`
- Remove built `pyyaml` extensions and move `lib` directory to
  `vendor/yaml2` and `lib3` to `vendor/yaml3`
- Patch `safety` to use modified `pyyaml` paths
- Update outdated dependencies:
  - `urllib3 1.25.8 => 1.25.9`
  - `certifi 2019.11.28 => 2020.4.5.1`
  - `pyparsing 2.4.6 => 2.4.7`
  - `resolvelib 0.2.2 => 0.3.0`

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-20 17:23:57 -04:00
Dan Ryan e19129e5df Fix safety script and re-vendor safety
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-17 19:57:46 -04:00
Dan Ryan b4b5691577 Fix failing pyup API key
- Update vendored safety package
- Swap to blank pyup API key by default (but allow custom key)
- Slightly improve safety revendoring
- Fixes #4188

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-16 21:23:37 -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 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 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 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
frostming 7d36f3fbda Reformat codes 2019-09-06 18:06:05 +08:00
Dan Ryan b4b54020b6 Merge branch 'master' into unused-vendor-shutilwhich 2019-05-26 17:08:42 -04:00
Dan Ryan fa56deacb1 Merge branch 'master' into unused-vendor-shutilwhich 2019-05-19 22:01:06 -04:00
Dan Ryan c187398d3f Merge branch 'master' into unused-vendors 2019-05-19 22:01:02 -04:00
Dan Ryan c23e57b482 Fix test and pipeline definitions
- Update extras name in pipelines
- fix windows virtualenv calls
- don't write debug info during virtualenv creation and just move on
- Generalize some pipelines
- Use quotes around evaluated statements in pipeline
- Fix envvar references
- Update vistir:
  - fix stream wrapper on windows
  - fix ICACLS permissions handler
  - fix path normalization function
- Update azure venv creation script
- Fix vendoring script

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-18 23:22:53 -04:00
Dan Ryan 7e394c39e7 Fix license download script
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-16 01:24:47 -04:00
Dan Ryan 8e1e825041 Update vendored pip licenses
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 22:02:58 -04:00
John Vandenberg 2481471b7d Remove unused vendored blindspin
This package is no longer used.

Closes https://github.com/pypa/pipenv/issues/3640
2019-05-08 19:30:56 +07:00
John Vandenberg d79ae0c270 Remove unused vendored shutilwhich
This package is no longer used.

Closes https://github.com/pypa/pipenv/issues/3621
2019-05-08 19:29:50 +07:00
Dan Ryan 05d3b5af26 Update license download script
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-24 22:34:26 -05:00
Dan Ryan ed3f206e64 Update vendored dependency pins
- Update gitignore entries for mypy config
- Update release task to add version after bumping but before release
- Fixes #3326 (going forward at least)
- Split out patching from vendoring so it can be done as a separate step
  if needed
- Update patches to account for updated packages
- Fixes #3432
- Fixes #2757
- Fixes #3305
- Fixes #2914
- Fixes #3439
- Fixes #3422
- Fixes #3378
- Fixes #3376
- Fixes #3315

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-01-21 12:20:20 -05:00
jxltom 084bf41f77 Resort imports for tasks 2018-12-01 18:49:37 +08:00
Dan Ryan a08a2da524 Don't give child deps of vcs deps auto-precedence
- Stop preferring resolution of VCS dependencies in all cases
- Resolve vcs dependencies together with non-vcs dependencies
- Clarify blocking and no-deps logic
- Add artifacts and tests
- Add vendoring task for artifacts
- Clean up release tasks
- Fixes #3296

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 17:10:45 -05:00
Dan Ryan 8a56a75cd5 Fix virtualenv creation and error logging
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:01 -04:00
Dan Ryan 0cefb5ed9b Finish updating vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>

Update delegator patch

Signed-off-by: Dan Ryan <dan@danryan.co>

Update patches for pip

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vendored deps

Signed-off-by: Dan Ryan <dan@danryan.co>

Update patches

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix imports to use pip shims instead of direct imports

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vendoring scripts and pip shims

Signed-off-by: Dan Ryan <dan@danryan.co>

Log to stdout in real time during verbose logging

Signed-off-by: Dan Ryan <dan@danryan.co>

Don’t log environment

Fix unicode decoding issues

Signed-off-by: Dan Ryan <dan@danryan.co>

Only set buffers on ttys

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix typo

Signed-off-by: Dan Ryan <dan@danryan.co>

Use default encodings

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix encodings and run only failing tests

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:20 -04:00
Dan Ryan 4dac167657 Vendor boltons
Signed-off-by: Dan Ryan <dan@danryan.co>

Update vendored dependencies

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix file handle leaks

- Fix #3020
- Fix #3088
- Patch delegator
- Add weakref finalizer for tempfiles

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix spinner handlers on windows

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix spinner output and encoding issue

Signed-off-by: Dan Ryan <dan@danryan.co>

fix encoding

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix unicode output on windows, fix tomlkit imports

Signed-off-by: Dan Ryan <dan@danryan.co>

Unvendor boltons, fix compatibility, update merge functionalities

Signed-off-by: Dan Ryan <dan@danryan.co>

Update pythonfinder, vistir version, requirementslib version

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix vendoring script

Signed-off-by: Dan Ryan <dan@danryan.co>

Silence pip version checks

Signed-off-by: Dan Ryan <dan@danryan.co>

Add debugging to locking

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:07 -04:00
Dan Ryan ad2d6c9363 Update all vendored dependencies
- Verified all license changes
- Brings us current with the latest releases
- Didn't identify any breaking changes in click

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan 4a5b63a0bb Fix passa vendoring task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan a698fee9bb Add passa to vendoring task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan 320f2169ae Vendor passa as zip for running in venvs
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan ddb6065ee2 Final fixes to vendoring
- Add news
- upate test runner
- Unvendor typing
- Fix environment error
- Fix click completion patch
- update vendoring script
- Install flit with vendoring script for wheels
- disable build isolation also

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 16:01:11 -04:00
Dan Ryan bd7b6004fe Update requirementslib and re-patch piptools
- Fix attempted hashing of `ssh://` urls
- Fix URL parsing and conversions of `git` and `git+ssh` style vcs urls
- Fixes #2653
- Fixes #2446
- Update lockfile
- Vendor typing
- Add typing to setup.py
- Add click completion patch and update vendoring task
- Fix vendoring script
- Vendor enum34
- Update requirementslib and cleanup vcs check functionality
- Move enum and adjust patched click completion
- Update click completion
- Bump requirementslib again
- Move typing to backports, update tests
- Update tomlkit imports and backport typing module

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:36 -04:00
Dan Ryan cec086ee92 Update news and vendoring scripts
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan f9655cbacf Update vendoring tasks for updating single vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Dan Ryan dbcb5a71b3 Add cached property to vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 17:04:43 -04:00
Tzu-ping Chung a5a9583c2d Un-vendor Pew 2018-07-05 16:43:11 +08:00
Dan Ryan 19640af9b7 Update vendored dependencies
- Updated requirementslib
- Fix local relative path bug whici caused paths to be output as
  absolute (test added to requirementslib)
- Fix SSH normalization bug (test added to requirementslib)
- Fixes #2440, #2441

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-28 15:26:37 -04:00
Dan Ryan 040ae11a41 Update scandir to avoid importing from system lib
- Update lockfile with py2 deps

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 9d9824c30d Update all vendored and patched libraries
- Update pipfile and lockfile
- Update licenses
- Bump pathlib2 to latest version
- Include scandir without compiled library dependency
- Update vendoring script to remote scandir binaries going forward
- Update pinned dependencies in vendor.txt

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Tzu-ping Chung a5e69e4a61 Comments 2018-05-28 13:37:34 +09:00
Dan Ryan c406063755 Vendor requirementslib and cut old requirements
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 22:01:43 -04:00
Dan Ryan 4ce55b4c1f Add attrs to vendored deps and rebuild
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 22:00:13 -04:00
Dan Ryan 3807168913 Update vendoring tasks and patches
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:21:47 -04:00
Dan Ryan 028145f43b Update pip vendoring requirements for licenses
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:20:42 -04:00
Dan Ryan d51938cfd1 Ignore whitespace when patching
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:19:33 -04:00
Dan Ryan 9b5236e5db Update tasks
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:19:33 -04:00
Dan Ryan 5fe1389f36 Finalize tasks for pip10 upgrade
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:19:29 -04:00
Dan Ryan 92c7328d14 Drop cacert.pem copy task from vendor script
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-17 14:29:49 -04:00
Tzu-ping Chung 13ab8f9405 Add a task to generate patch file
Because I just can't remember the command
2018-05-13 03:26:50 +08:00