Commit Graph

60 Commits

Author SHA1 Message Date
Dan Ryan d069dff844 Update project and spinner outputs
Signed-off-by: Dan Ryan <dan@danryan.co>

Try again

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

Fix test config to skip failed removals

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

Update piptools to handle some errors

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

Fix test config to skip failed removals

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

Update tempfile.py

Use vistirs temporary directory implementation

Update temp_dir.py

Force pip to use weakrefs in tempdirs

Fix pip implementation to set name of tempdir

typo fix

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

fix pip tempdir implementation

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

Update tempfiles to use weakrefs

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

fix patch paths

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

Fix pip tempdir implementation

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

Syntax error fix

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

Unconstrain windows tests

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

Update dependencies, add news

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

Fix pythonfinder path search nesting bug

- Fixes #3121

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

Update requirementslib

- Fix subdirectory issue

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

Fix logic error

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

conditional builds

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:26 -04:00
Dan Ryan 287407b5f6 Dont hide resolution failures
- Fixes #2984

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-10 16:54:03 -04:00
Dan Ryan 6136edc0c5 cast environment var as string
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 18:50:54 -04:00
Dan Ryan 16fb2d1012 Update piptools and fix patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 17:57:53 -04:00
Dan Ryan 3a303ee3c8 Update piptools patches
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 16:54:25 -04:00
Dan Ryan bf64e7b55a Add news fragments and final patch for all fixes
- Fixes #2499
- Fixes #2529
- Fixes #2589
- Fixes #2666
- Fixes #2767
- Fixes #2785
- Fixes #2795
- Fixes #2801
- Fixes #2802
- Fixes #2824
- Fixes #2862
- Fixes #2867
- Fixes #2879
- Fixes #2880
- Fixes #2894
- Fixes #2902
- Fixes #2924

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan 6e042b3b62 fix piptools patch to account for None in hash lookups
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -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 c257891681 Update vendored dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan 7bc29c1862 update patch for piptools
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan 1af729f580 Vendor passa, update piptools
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan 3d33e5a257 Update requirementslib and fix VCS installation
Signed-off-by: Dan Ryan <dan@danryan.co>

Don't re-clone repos now that this works

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

Prune peeps directory from manifest

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

Fix nonetype uris

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

Manually lock requirements?

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

Update requirementslib - leave context before updating sha

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

Fix requirementslib vcs checkouts

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

fix tmpdir implementation

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

final fix for vcs uris

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

Allow for adding requirements objects directly to pipfile

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

Update piptools patch

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan ab8a608ece Fix editor auto-deletions of piptools patch lines
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan c611b1e7ad Fix lock -r output to include all markers
- Fixes #2748

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 3b2f8e14d2 Update piptools patch
- Handle editable installs more effectively
- Actually store the distribution after we create it
- Actually get the dependencies from it
2018-09-05 12:47:10 +08: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 d33c4e86e1 Fix exception handling
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-25 00:14:44 -04:00
Dan Ryan dc97d73e62 Add exception handling for non-existent setup_py_dir
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-24 23:37:28 -04:00
Dan Ryan 6e38560a7f Add chdir context manager and properly run setup.py files during resolution
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-24 19:36:28 -04:00
Dan Ryan 5334183c43 Make sure there is a link to check against
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-24 19:11:36 -04:00
Dan Ryan f3e4e73cff Fix resolution using dependency_links with ssh
- Exclude VCS SSH uris from hashing
- Add additional resilience to the piptools resolver
- Fixes #2613

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-24 18:43:28 -04:00
Dan Ryan 00dd845372 Enable parsing of dependency links in setup.py
- Fixed errors with url parsing during hashing

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-24 18:43:28 -04:00
Dan Ryan 7dd8579d8e Fix typo
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-30 16:13:32 -04:00
Dan Ryan 5990f4224e Fix markers being dropped
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-30 15:49:32 -04:00
Dan Ryan a797691421 Remove old patches to piptools
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-30 02:49:29 -04:00
Dan Ryan cbbcc80170 I think this is good?
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-29 22:40:34 -04:00
Dan Ryan ad3aca8b24 Include all markers
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-29 22:00:06 -04:00
Dan Ryan 7761c3d321 Fix patches
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-29 20:23:54 -04:00
Dan Ryan 1dfaceb7d9 Update piptools to avoid reusing InstallRequirement
- Prevents re-preparation of deleted `PKG-INFO` files
- Fixes #2435

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-29 19:20:11 -04:00
Dan Ryan 4e1e84727f Update piptools patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 01:03:21 -04:00
Dan Ryan b3bf649e54 Updated piptools to only lock compatible packages
- Fixes #1901

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 01:03:21 -04:00
Dan Ryan 6f47cd6bb2 Update news and piptools patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-26 20:08:27 -04:00
Dan Ryan 7f7ae3244d Fix bug with --system --deploy overwriting pipfile
- Fixes #2414
- Also bump to 2018.6.26.dev0

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-25 21:22:35 -04:00
Dan Ryan 6343acb4cc Use the real marker parser -- confirmed working
Signed-off-by: Dan Ryan <dan@danryan.co>

Typo fix

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

Move away from structlog for testing

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

Remove em-dash and ellipsis characters

- Replace with dashes and dots

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 6c62d94c3b Fix pip cahce dir argument
Signed-off-by: Dan Ryan <dan@danryan.co>

Add snaptime sdist

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

Update core.py encoding and add gitattributes

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

Fix deploy test

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

Add pytest things

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

Add py sdist

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 15bcf36467 Catch AttributeErrors when resolving sdists
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan c31a311dc7 Minor code cleanup
Signed-off-by: Dan Ryan <dan@danryan.co>

Add pytz and certifi updates

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

Fix nondeterministic resolution bug

- Update dependencies
- Fix some issues with test logic
- Update piptools patch

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

Update more packages

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

Update tests and utils

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

Still need to tackle last few failures

- this will seriously help with resolution issues

Add alembic new version

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 71ff85770e Fix isdigit check and bump version to dev0
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:45:07 -04:00
Dan Ryan 97bb50d344 Add conversion methods for requires-python formats
- Handle single-digit un-specified requires-python format
- `Requires-Python: 3` should be functionally equivalent to `>=3,<4`
- Fixes #2343

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:41:45 -04:00
Dan Ryan cdde5b12bb Prepare vcs deps before resolution
- Ensure that VCS dependencies run through the RequirementPreparer
  before we call `get_dist()` on them.
- Fixes #2310

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-07 00:50:44 -04:00
Dan Ryan b60548172b Update patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-28 00:55:17 -04:00
Dan Ryan 6737ab8b03 SpecifierSet logic fix
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-27 13:00:08 -04:00
Dan Ryan a4d838902c Logic fix
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-27 12:56:46 -04:00
Dan Ryan 8548fbbb3e It is important to check for python_requires
- The specifierset will fail otherwise
 - We don't want to include only things that have this
   -- we want to _exclude_ things that do not match it

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-27 02:35:46 -04:00
Dan Ryan eae8ac919c Update piptools patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-27 02:23:07 -04:00
Dan Ryan bba2f38d91 Patch piptools to use current environment python
- Fixes #2088, #2234, #1901
- Fully leverage piptools' compile functionality by using constraints
  in the same `RequirementSet` during resolution
- Use `PIP_PYTHON_PATH` for compatibility check to filter out
  `requires_python` markers
- Fix vcs resolution
- Update JSON API endpoints
- Enhance resolution for editable dependencies
- Minor fix for adding packages to pipfiles

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-26 21:03:34 -04:00
Dan Ryan aa4ca1bfd4 Fix special case resolution with ignore python
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 23:55:09 -04:00
Dan Ryan c8a5c24263 Fix extras parsing for pip10
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:41:25 -04:00
Dan Ryan 0437fffb44 Update piptools patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:25:46 -04:00
Dan Ryan effeb174c8 Add travis file and update patches for requests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:21:48 -04:00