Skip to content

Commit 5c54787

Browse files
committed
Do not add package with capital names uncommented at the constraints ignore list.
1 parent 5d046d8 commit 5c54787

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## 4.0.4 (unreleased)
44

5-
- nothing yet
5+
- Fix #47: Do not add packages with capital names uncommented at the bottom ignore list when checked out.
6+
[petschki]
67

78
## 4.0.3 (2024-05-17)
89

src/mxdev/processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def write_dev_overrides(
223223
fio.write("#" * 79 + "\n")
224224
fio.write("# mxdev constraint overrides\n")
225225
for pkg, line in overrides.items():
226-
if pkg in package_keys:
226+
if pkg.lower() in [k.lower() for k in package_keys]:
227227
fio.write(
228228
f"# {line} IGNORE mxdev constraint override. Source override wins!\n"
229229
)

0 commit comments

Comments
 (0)