Commit Graph

111 Commits

Author SHA1 Message Date
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 6b1ec91607 Added working draft of changelog and release task for markdown conversion
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-15 16:22:06 -04:00
Dan Ryan 2355bdca00 Update release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-15 16:14:32 -04:00
Dan Ryan ef0d88ff11 Update crayons and add patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-10 01:07:15 -04:00
Tzu-ping Chung a5a9583c2d Un-vendor Pew 2018-07-05 16:43:11 +08:00
frostming d4b61b9a72 Update related part in tasks 2018-07-03 08:50:42 +08:00
Dan Ryan 46ba42b6fb Add changelog, update documentation home screen
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-01 17:00:44 -04:00
Dan Ryan 9ef36a8df1 Fix release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-01 16:21:07 -04:00
Dan Ryan 48e5917e23 Update release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-01 16:11:38 -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 832bc8ee49 Merge branch 'master' into bugfix/1901 2018-06-28 20:46:23 -04: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 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
Miro Hrončok d14df0c73c prettytoml: Catch StopIteration in AbstractTable._enumerate_items
This makes PEP 479 enabled Pythons (such as 3.7) work again.

Otherwise you get:

    RuntimeError: generator raised StopIteration

Fixes https://github.com/pypa/pipenv/issues/2426
2018-06-26 23:17:01 +02:00
Miro Hrončok 951e495489 Fix _post-pip-update-pep425tags.patch
See https://github.com/pypa/pipenv/pull/2427#issuecomment-400460828
2018-06-26 23:17:01 +02: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 03bf7eecb3 Update release tasks
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-25 03:28:17 -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
Tzu-ping Chung 1ce00f922a Ensure environs are strings on Python2 + Windows
Patch based on theskumar/python-dotenv#101 by @greyli.
2018-06-22 03:07:54 -04:00
Dan Ryan 2a9bb815ff Updated changelog
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 20:14:45 -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 03a85b14b2 Update release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:26:07 -04:00
Dan Ryan e1a29337cd Update release logs, add release tasks
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 21:51:24 -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 6fafc2485a fix patch
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
Dan Ryan 69f75e980c Fix pep425 vendoring patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -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 2a12340d7f Merge branch 'master' into bugfix/cli-graph 2018-05-28 18:56:35 -04:00
Dan Ryan b60548172b Update patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-28 00:55:17 -04:00
Tzu-ping Chung a5e69e4a61 Comments 2018-05-28 13:37:34 +09: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 d55e400379 Better handling of wheels / update requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-26 19:57:41 -04:00