Skip to content

Commit

Permalink
update installer to 0.7.0 (#7671)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored Mar 18, 2023
1 parent 4a27e8f commit 8db1f00
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dulwich = "^0.21.2"
filelock = "^3.8.0"
html5lib = "^1.0"
importlib-metadata = { version = ">=4.4", python = "<3.10" }
installer = "^0.6.0"
installer = "^0.7.0"
jsonschema = "^4.10.0"
keyring = "^23.9.0"
lockfile = "^0.12.2"
Expand Down
3 changes: 2 additions & 1 deletion src/poetry/installation/wheel_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def enable_bytecode_compilation(self, enable: bool = True) -> None:
self._destination.bytecode_optimization_levels = (1,) if enable else ()

def install(self, wheel: Path) -> None:
with WheelFile.open(Path(wheel.as_posix())) as source:
with WheelFile.open(wheel) as source:
source.validate_record()
install(
source=source,
destination=self._destination.for_source(source),
Expand Down
Binary file modified tests/fixtures/distributions/demo-0.1.2-py2.py3-none-any.whl
Binary file not shown.
Binary file not shown.

0 comments on commit 8db1f00

Please sign in to comment.