Commit Graph

33 Commits

Author SHA1 Message Date
Dan Ryan 1ed7ae9e68 Fix vcs locking, prefer pipfile entries once locked
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 19:28:50 -05:00
Dan Ryan a3b5e8f374 Fix local serving of static resource fixtures
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-22 17:05:57 -05:00
Dan Ryan 2a7cc26767 Fix broken tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-22 13:55:50 -05:00
Dan Ryan 9dbe52177f clone a fresh copy of six before running tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-22 13:50:37 -05:00
Dan Ryan 66e9822d8a Potentialy speed up tests, decrease network calls"
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-22 13:32:34 -05:00
Dan Ryan 45e9f6e417 Fix parsing of markers in VCS requirements
- Parsing of markers in non-editable vcs requirements was broken
- This PR adds some VCS repos, some utility pipfile generation functions
  and some fixture helpers
- Fixes #3249

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-18 23:49:57 -05: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
Alexandros Tzannes 0081918e63 Skip some tests if we have not set-up SSH keys for GitHub 2018-08-03 16:20:59 -07:00
Alexandros Tzannes 8f1d99256c Skip git+ssh test until we configure BildKite to have an SSH key-pair 2018-08-03 15:21:33 -07:00
Alexandros Tzannes f65c0dfd63 Adding some git+git and git+ssh tests as examples 2018-08-03 15:05:29 -07:00
kennethreitz 7588ca31cf passing tests! 2018-07-03 23:23:20 -04:00
Dan Ryan 39a363b780 Update references to Path
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 22:28:31 -04:00
Dan Ryan 1fd2247bb6 Fix test to account for name resolution of editable deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-26 20:10:45 -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 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 7bfa60e90b Add test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan a5c876b931 Add ref to vcs install
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 6a0a34b415 Fix uri conversion
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-13 19:41:15 -04:00
Dan Ryan bca3e1fa61 fix tests
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-13 19:34:41 -04:00
Dan Ryan 470abeffde Update resolve() calls and requirementslib
- Accommodate ramdisks

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-13 18:59:43 -04:00
Dan Ryan 15f091783b Fix VCS test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-12 20:33:25 -04:00
Tzu-ping Chung e5ec2ed4fa More tests 2018-06-13 01:06:07 +08:00
Tzu-ping Chung 45004214bf Add failing test cases 2018-06-13 00:34:41 +08:00
Dan Ryan 4a2b01e505 Merge branch 'master' into update-piptools 2018-05-23 15:33:53 -04:00
Dan Ryan 8abb764ce8 Update pypi urls
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-17 14:43:09 -04:00
Dan Ryan f1550d8480 Lock vcs deps to exact commit with dependencies
- Manually obtain and update VCS repository with exact commit
 - Always store exact commit in the lockfile
 - Fixes #2180, #1690, #1611, #2096

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-16 17:37:09 -04:00
Dan Ryan 9ab2af879e Fix tests to grab key from pipfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-24 21:52:18 -04:00
Dan Ryan a38d551131 Add test for vcs installs of local paths
- Ensure they do not wind up in the lockfile

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-24 20:19:34 -04:00
Dan Ryan 7a8d01edc3 Fix tests and index url fetching code per requests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-17 01:16:49 -04:00
Dan Ryan b89a73c895 Update tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 23:55:46 -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
Dan Ryan 8705147674 Fix installation test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-16 20:59:23 -04:00
Tzu-ping Chung 4533e68bca Move things around 2018-04-12 17:35:17 +08:00