Tzu-ping Chung
761433cee8
Eliminate len() usage in tests
2020-10-13 16:12:11 +08:00
Tzu-ping Chung
8326148149
Implement "lazy sequence" to avoid Internet
...
find_matches() is modified to return a special type that implements
the sequence protocol (instead of a plain list). This special sequence
type tries to use the installed candidate as the first element if
possible, and only access indexes when the installed candidate is
considered unsatisfactory.
2020-10-13 16:06:00 +08:00
Tzu-ping Chung
dfaa111004
Pull in hashes from constraint files
2020-09-03 17:26:52 +08:00
Devesh Kumar Singh
db11f83e2a
Fix tests module with flake8-bugbear
2020-06-05 02:41:08 +05:30
Tzu-ping Chung
6c6b6a7765
Implement new Provider.find_matches()
2020-05-27 23:10:56 +08:00
Paul Moore
64b3d1b278
Merge constraints into a single SpecifierSet
2020-05-06 11:30:25 +01:00
Paul Moore
ee4830b5ec
Move constraints from factory to provider
2020-05-06 10:56:50 +01:00
Tzu-ping Chung
d29c86af98
Add method to create requirement from spec
2020-04-01 16:53:39 +08:00
Tzu-ping Chung
64c78a5875
Rename unit tests to use the new_resolver scheme
2020-03-31 16:19:41 +08:00
Tzu-ping Chung
f32beda075
Remove unused provider fixture from argumnet lists
2020-03-27 18:57:53 +08:00
Tzu-ping Chung
b1272a98f9
Make factory available in tests as a fixture
2020-03-27 03:53:01 +08:00
Tzu-ping Chung
231ce27829
Delete unused improt and test util
...
This util function is already broken by previous signature changes to
make_requirement() anyway.
2020-03-27 03:25:43 +08:00
Paul Moore
098d00d8c3
Add a test that runs the full resolver
2020-03-18 14:42:20 +00:00
Paul Moore
7d2eb544b5
Implement PipProvider
2020-03-18 14:42:16 +00:00
Paul Moore
9b10b93503
Implement the resolvelib Requirement class
2020-03-11 11:37:56 +00:00