Commit Graph

90 Commits

Author SHA1 Message Date
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
Dan Ryan 53a23586f8 Fix pipenv graph to use local pip
- Fixes #2258
 - Add patch to prevent import rewrites from catching this again
 - Add useful debugging line to print errors to stderr

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-26 16:21:00 -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 e2dae9b50e Handle prep failures for dist preparation
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 22:54:35 -04: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 609bc8a91d Fix pip vendoring patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 20:58:30 -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
Dan Ryan 9cde62ebeb Fix patched libraries to use proper pip references
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:21:47 -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 50055f7d31 Bugfixes to set comparisons etc
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:21:46 -04:00
Dan Ryan 406dce3496 Drop vendored pip, update patched pip to pip 10
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:21:44 -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 01149ce21e Use vendor scripts for import rewrites
- Ditch patches

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:19:34 -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 3231ec80b9 Vendor the right things
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 ec2a5c5c9d Update patches
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 18:16:48 -04:00
Dan Ryan 4a2b01e505 Merge branch 'master' into update-piptools 2018-05-23 15:33:53 -04:00