Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --pre on generated sources #39

Merged
merged 7 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = ""
jensens marked this conversation as resolved.
Show resolved Hide resolved
editable = (
f"""-e ./{package['target']}/{name}{subdir}{extras}{install_options}\n"""
)
Expand Down
Loading