Commit Graph

126 Commits

Author SHA1 Message Date
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 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 993c452fdc Update scandir patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Tzu-ping Chung 75eaafc372 Merge branch 'master' into fix-find-links 2018-07-30 14:08:39 +08: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
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 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