Skip to content

Commit

Permalink
Do not add package with capital names uncommented at the constraints …
Browse files Browse the repository at this point in the history
…ignore list.
  • Loading branch information
petschki committed Sep 20, 2024
1 parent 5d046d8 commit 5c54787
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## 4.0.4 (unreleased)

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

## 4.0.3 (2024-05-17)

Expand Down
2 changes: 1 addition & 1 deletion src/mxdev/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def write_dev_overrides(
fio.write("#" * 79 + "\n")
fio.write("# mxdev constraint overrides\n")
for pkg, line in overrides.items():
if pkg in package_keys:
if pkg.lower() in [k.lower() for k in package_keys]:
fio.write(
f"# {line} IGNORE mxdev constraint override. Source override wins!\n"
)
Expand Down

0 comments on commit 5c54787

Please sign in to comment.