Commit Graph

39 Commits

Author SHA1 Message Date
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
Dan Ryan 17888fb131 Auto-download pip licenses
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 20:18:16 -04:00
Dan Ryan 34caffc797 Backport NamedTemporaryFile for io.open support
- Allows atomic locking to use `newline` argument

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-30 23:35:58 -04:00
Dan Ryan adff22b114 Update safety.zip to add modules to path properly
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-23 16:29:32 -04:00
Dan Ryan 6e463c3cb0 Update safety.zip, re-update vendored deps
- Move patches to separate subdirectories
- Refactor vendoring scripts

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-22 09:48:36 -04:00
Dan Ryan c8453f0059 Test and validate vendoring update from-scratch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-22 09:48:36 -04:00
Dan Ryan a5d72d03fe Update vendoring tasks
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-22 09:48:35 -04:00
Dan Ryan 0df413c245 Update vendored libraries
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-22 09:48:34 -04:00
Dan Ryan bfa5123f8b Add patches to update patched libraries
- Update vendoring otols
- Test all functionality

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-22 09:48:33 -04:00
Dan Ryan a826a6a4cc Fix vendoring tasks and always use pip9 for now
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 16:52:43 -04:00
Dan Ryan 3d90591355 Update safety.zip, add automation for future
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 13:23:32 -04:00
Dan Ryan 27380c7cb7 Add vendoring tools to get licenses and safety zip
- Auto-download licenses and safety zips
- Update safety.zip

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-15 21:53:46 -04:00
Dan Ryan 76dbc0fb09 Initial commit of vendoring tools
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-14 21:54:17 -04:00