Skip to content

Commit 542008f

Browse files
Remove deprecated code root_script_dir (#5726)
* removing deprecated code * Adding removal to the change log * Update CHANGELOG.md --------- Co-authored-by: Jannis Leidel <jannis@leidel.info>
1 parent 36c704d commit 542008f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Deprecate `conda_build.render._represent_omap`. Unused. (#5282)
2020
* Deprecate `conda_build.render._unicode_representer`. Unused. (#5282)
2121
* Menuinst validation warnings will be raised as errors in 25.11. (#5569)
22+
* Remove `conda_build.utils.root_script_dir`. (#5726)
2223

2324
### Other
2425

conda_build/utils.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
from conda.models.version import VersionOrder
6969
from conda.utils import unix_path_to_win
7070

71-
from .deprecations import deprecated
7271
from .exceptions import BuildLockError
7372

7473
if TYPE_CHECKING:
@@ -86,12 +85,6 @@
8685
on_linux = sys.platform == "linux"
8786

8887
codec = getpreferredencoding() or "utf-8"
89-
deprecated.constant(
90-
"25.3",
91-
"25.5",
92-
"root_script_dir",
93-
os.path.join(context.root_prefix, "Scripts" if on_win else "bin"),
94-
)
9588
mmap_MAP_PRIVATE = 0 if on_win else mmap.MAP_PRIVATE
9689
mmap_PROT_READ = 0 if on_win else mmap.PROT_READ
9790
mmap_PROT_WRITE = 0 if on_win else mmap.PROT_WRITE

0 commit comments

Comments
 (0)