Skip to content

Commit c8ccd22

Browse files
authored
chore!: remove requirements.txt for the twine publishing tool (#2401)
`requirements_linux.txt` in the same folder should be used instead. Fixes #2242
1 parent 541bcba commit c8ccd22

File tree

5 files changed

+3
-344
lines changed

5 files changed

+3
-344
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ Unreleased changes template.
6464

6565
{#v0-0-0-removed}
6666
### Removed
67-
* Nothing yet.
67+
* (publish) Remove deprecated `requirements.txt` for the `twine` dependencies.
68+
Please use `requirements_linux.txt` instead.
6869

6970
{#v0-39-0}
7071
## [0.39.0] - 2024-11-13

WORKSPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pip_parse(
9898
name = "rules_python_publish_deps",
9999
python_interpreter_target = interpreter,
100100
requirements_darwin = "//tools/publish:requirements_darwin.txt",
101-
requirements_lock = "//tools/publish:requirements.txt",
101+
requirements_lock = "//tools/publish:requirements_linux.txt",
102102
requirements_windows = "//tools/publish:requirements_windows.txt",
103103
)
104104

private/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ multirun(
88
"//tools/publish:{}.update".format(r)
99
for r in [
1010
"requirements_universal",
11-
"requirements",
1211
"requirements_darwin",
1312
"requirements_windows",
1413
"requirements_linux",

tools/publish/BUILD.bazel

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ filegroup(
1919
name = "distribution",
2020
srcs = [
2121
"BUILD.bazel",
22-
"requirements.txt",
2322
"requirements_darwin.txt",
2423
"requirements_linux.txt",
2524
"requirements_universal.txt",
@@ -33,7 +32,6 @@ publish_deps(
3332
name = "requirements",
3433
srcs = ["requirements.in"],
3534
outs = {
36-
"requirements.txt": "linux", # TODO: maybe deprecate
3735
"requirements_darwin.txt": "macos",
3836
"requirements_linux.txt": "linux",
3937
"requirements_universal.txt": "", # universal

0 commit comments

Comments
 (0)