File tree Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
2
commit = True
3
3
tag = False
4
- current_version = 1.10.0
4
+ current_version = 1.10.1
5
5
message = release: {new_version}
6
6
7
7
[bumpversion:file:pyproject.toml]
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## 1.10.0 (2024-07-01)
3
+ ## 1.10.1 (2024-08-04)
4
+ ### Fixed
5
+ - Fix regression in 1.10.0 where editable builds would be built in release mode
6
+
7
+ ## 1.10.0 (2024-08-03)
4
8
### Packaging
5
9
- Extend macOS build flags to iOS, tvOS and watchOS. [ #436 ] ( https://github.com/PyO3/setuptools-rust/pull/436 )
6
10
- Support Python 3.13. [ #446 ] ( https://github.com/PyO3/setuptools-rust/pull/446 )
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " setuptools-rust"
3
- version = " 1.10.0 "
3
+ version = " 1.10.1 "
4
4
description = " Setuptools Rust extension plugin"
5
5
readme = " README.md"
6
6
requires-python = " >=3.8"
Original file line number Diff line number Diff line change @@ -329,10 +329,7 @@ def build_extension(
329
329
def install_extension (
330
330
self , ext : RustExtension , dylib_paths : List ["_BuiltModule" ]
331
331
) -> None :
332
- debug_build = ext .debug if ext .debug is not None else self .inplace
333
- debug_build = self .debug if self .debug is not None else debug_build
334
- if self .release :
335
- debug_build = False
332
+ debug_build = self ._is_debug_build (ext )
336
333
337
334
# Ask build_ext where the shared library would go if it had built it,
338
335
# then copy it there.
@@ -502,8 +499,8 @@ def _detect_rust_target(
502
499
def _is_debug_build (self , ext : RustExtension ) -> bool :
503
500
if self .release :
504
501
return False
505
- elif self .debug is not None :
506
- return self . debug
502
+ elif self .debug :
503
+ return True
507
504
elif ext .debug is not None :
508
505
return ext .debug
509
506
else :
Original file line number Diff line number Diff line change 1
- __version__ = version = "1.10.0 "
1
+ __version__ = version = "1.10.1 "
2
2
__version_tuple__ = version_tuple = tuple (
3
3
map (lambda x : int (x [1 ]) if x [0 ] < 3 else x [1 ], enumerate (__version__ .split ("." )))
4
4
)
You can’t perform that action at this time.
0 commit comments