Skip to content

Commit

Permalink
Remove --pre on generated sources
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Feb 28, 2024
1 parent 4051dec commit fd15157
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
## Changes

### 4.0.0 (2024-02-28)

- Breaking: Remove `--pre` on sources from generated `requirements-mxdev.txt`.
Usually it is not needed any longer.
This is a breaking change if you rely on the `--pre` option being present in the generated file.
Now the `--pre` option should be added to `pip install` when the generated file is used.
This change enables the use of the generated file with the alternative pip replacement `uv`.
[jensens]

### 3.1.0 (2023-12-10)

- Provide `directory` default setting [rnix]
- Feature: Provide `directory` default setting [rnix]
- Feature: Include other INI config files [jensens]

### 3.0.0 (2023-05-08)
Expand Down
2 changes: 1 addition & 1 deletion src/mxdev/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def write_dev_sources(fio, packages: typing.Dict[str, typing.Dict[str, typing.An
continue
extras = f"[{package['extras']}]" if package["extras"] else ""
subdir = f"/{package['subdirectory']}" if package["subdirectory"] else ""
install_options = " --pre"
install_options = ""
editable = (
f"""-e ./{package['target']}/{name}{subdir}{extras}{install_options}\n"""
)
Expand Down

0 comments on commit fd15157

Please sign in to comment.