Skip to content

Commit c46d355

Browse files
committed
changelog entry
1 parent a98e8a8 commit c46d355

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44
### Changed
55
- Use the base interpreter path when running inside a virtual environment to avoid recompilation when switching between virtual environments. [#429](https://github.com/PyO3/setuptools-rust/pull/429)
6+
- Delay import of dependencies until use to avoid import errors during a partially complete install when multiple packages are installing at once. [#437](https://github.com/PyO3/setuptools-rust/pull/437)
67

78
## 1.9.0 (2024-02-24)
89
### Changed

setuptools_rust/extension.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def get_rust_version(self) -> Optional[SimpleSpec]: # type: ignore[no-any-unimp
190190
return None
191191
try:
192192
from semantic_version import SimpleSpec
193+
193194
return SimpleSpec(self.rust_version)
194195
except ValueError:
195196
raise SetupError(

setuptools_rust/rustc_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def get_rust_version() -> Optional[Version]: # type: ignore[no-any-unimported]
1414
# first line of rustc -Vv is something like
1515
# rustc 1.61.0 (fe5b13d68 2022-05-18)
1616
from semantic_version import Version
17+
1718
return Version(_rust_version().split(" ")[1])
1819
except (subprocess.CalledProcessError, OSError):
1920
return None

0 commit comments

Comments
 (0)