Skip to content

Commit 664c4a8

Browse files
authored
Merge pull request #8 from amoutaux/fix-devpi-import
Remove stage condition on number of bases
2 parents fd12f3f + 11038cb commit 664c4a8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
2.0.2 - Unreleased
5+
------------------
6+
7+
- Fix devpi import/export
8+
[amoutaux (Aurélien Moutaux)]
9+
410
2.0.1 - 2023-03-18
511
------------------
612

src/devpi_constrained/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ def validate_config(self, oldconfig, newconfig):
5656
parse_constraints(newconfig['constraints'])
5757
except Exception as e:
5858
errors.append("Error while parsing constrains: %s" % e)
59-
if len(newconfig["bases"]) < 1:
60-
errors.append("A constrained index requires at least one base")
6159
if errors:
6260
raise self.InvalidIndexconfig(errors)
6361

0 commit comments

Comments
 (0)