Commit Graph

22 Commits

Author SHA1 Message Date
Jacob Hayes 1ceccb9bdf Fix extras check in test 2018-07-11 23:32:43 -05:00
Jacob Hayes 6de915ab79 [#2504] Replace security extra with socks in test 2018-07-11 08:19:42 -05:00
Jacob Hayes f0a1413c70 [#2504] Add test for VCS dep with extras 2018-07-10 20:58:35 -05:00
Dan Ryan f60d702259 Skip test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 17:04:28 -04:00
Dan Ryan ec45919346 Use environment python via pipenv call
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 16:29:10 -04:00
Dan Ryan bb4d1f235d Check for python 3
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 15:44:25 -04:00
Dan Ryan cbbd94217d Update resolver to use venv python.
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 15:05:12 -04:00
Dan Ryan 42b2026b66 use internet pypi 2018-06-27 10:27:59 -04:00
frostming 698c9be64e add tests 2018-06-27 13:12:41 +08:00
Dan Ryan 5d76b404f4 Add some tests
- the rest of the to-do items are at https://github.com/pypa/pipenv/projects/2
- We just need to review the items in the 'needs tests' column to ensure
  that they either have tests, or don't need to have tests
- If they need tests, and they don't yet have tests, we need to write
  them and make sure they pass
- Then we can release. No more features/bugfixes, this is now how it's
  going out.

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 03:01:20 -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
Jacob Henner af91eb68bb Add support for PyPI mirrors
Adds support for the --pypi-mirror command line parameter and the
PIPENV_PYPI_MIRROR environment variable for most pipenv operations.
This permits pipenv to function without pypi.org, which is necessary for
users:

    1. behind restrictive networks
    2. facing strict artifact sourcing policies
    3. experiencing poor performance connecting to pypi.org
    4. who've configured a local cache for performance reasons

When specified, the value of this parameter replaces all instances of
pypi.org and pypi.python.org within pipenv operations without modifying
or requring the modification of Pipfiles.

- Resolves #2075
2018-06-07 18:24:18 -04:00
Dan Ryan 8abb764ce8 Update pypi urls
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-17 14:43:09 -04:00
Tzu-ping Chung 2dc999292e Use the mock PyPI 2018-05-02 17:07:49 +08:00
Tzu-ping Chung 7aff2c1cc7 Merge branch 'master' into always-use-pipfile-for-sources 2018-05-02 16:58:59 +08:00
Grey Baker 8c0936faf6 Always use sources from Pipfile when doing resolution 2018-05-01 15:14:12 +01:00
Grey Baker 85d4734e12 Add test for lock --keep-outdated behaviour 2018-05-01 11:34:46 +01:00
Dan Ryan b89a73c895 Update tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 23:55:46 -04:00
Dan Ryan 81a2367e75 Run private indexes in uncached tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 23:15:05 -04:00
Dan Ryan 8d20caf294 Update test pypi index
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 23:15:04 -04:00
Dan Ryan c78628ba54 Add test coverage for all fixes
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 23:15:04 -04:00
Tzu-ping Chung 4533e68bca Move things around 2018-04-12 17:35:17 +08:00