Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
8db1f00d
Unverified
Commit
8db1f00d
authored
Mar 18, 2023
by
David Hotham
Committed by
GitHub
Mar 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update installer to 0.7.0 (#7671)
parent
4a27e8fc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
poetry.lock
+5
-5
pyproject.toml
+1
-1
src/poetry/installation/wheel_installer.py
+2
-1
tests/fixtures/distributions/demo-0.1.2-py2.py3-none-any.whl
+0
-0
tests/repositories/fixtures/pypi.org/dists/pytest-3.5.1-py2.py3-none-any.whl
+0
-0
No files found.
poetry.lock
View file @
8db1f00d
# This file is automatically @generated by Poetry and should not be changed by hand.
# This file is automatically @generated by Poetry
1.4.0
and should not be changed by hand.
[[package]]
[[package]]
name = "attrs"
name = "attrs"
...
@@ -731,14 +731,14 @@ files = [
...
@@ -731,14 +731,14 @@ files = [
[[package]]
[[package]]
name = "installer"
name = "installer"
version = "0.
6
.0"
version = "0.
7
.0"
description = "A library for installing Python wheels."
description = "A library for installing Python wheels."
category = "main"
category = "main"
optional = false
optional = false
python-versions = ">=3.7"
python-versions = ">=3.7"
files = [
files = [
{file = "installer-0.
6.0-py3-none-any.whl", hash = "sha256:ae7c62d1d6158b5c096419102ad0d01fdccebf857e784cee57f94165635fe038
"},
{file = "installer-0.
7.0-py3-none-any.whl", hash = "sha256:05d1933f0a5ba7d8d6296bb6d5018e7c94fa473ceb10cf198a92ccea19c27b53
"},
{file = "installer-0.
6.0.tar.gz", hash = "sha256:f3bd36cd261b440a88a1190b1becca0578fee90b4b62decc796932fdd5ae8839
"},
{file = "installer-0.
7.0.tar.gz", hash = "sha256:a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631
"},
]
]
[[package]]
[[package]]
...
@@ -1983,4 +1983,4 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
...
@@ -1983,4 +1983,4 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
[metadata]
[metadata]
lock-version = "2.0"
lock-version = "2.0"
python-versions = "^3.7"
python-versions = "^3.7"
content-hash = "
d00f73e992cf3ea9c61769fe7841ce475d119422476025bab8415cd4f278ad26
"
content-hash = "
1b804b8be7ae9a7e94c4959d138908d8647410750fc9de0a5b524870a4238bdd
"
pyproject.toml
View file @
8db1f00d
...
@@ -58,7 +58,7 @@ dulwich = "^0.21.2"
...
@@ -58,7 +58,7 @@ dulwich = "^0.21.2"
filelock
=
"^3.8.0"
filelock
=
"^3.8.0"
html5lib
=
"^1.0"
html5lib
=
"^1.0"
importlib-metadata
=
{
version
=
">=4.4"
,
python
=
"<3.10"
}
importlib-metadata
=
{
version
=
">=4.4"
,
python
=
"<3.10"
}
installer
=
"^0.
6
.0"
installer
=
"^0.
7
.0"
jsonschema
=
"^4.10.0"
jsonschema
=
"^4.10.0"
keyring
=
"^23.9.0"
keyring
=
"^23.9.0"
lockfile
=
"^0.12.2"
lockfile
=
"^0.12.2"
...
...
src/poetry/installation/wheel_installer.py
View file @
8db1f00d
...
@@ -97,7 +97,8 @@ class WheelInstaller:
...
@@ -97,7 +97,8 @@ class WheelInstaller:
self
.
_destination
.
bytecode_optimization_levels
=
(
1
,)
if
enable
else
()
self
.
_destination
.
bytecode_optimization_levels
=
(
1
,)
if
enable
else
()
def
install
(
self
,
wheel
:
Path
)
->
None
:
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
(
install
(
source
=
source
,
source
=
source
,
destination
=
self
.
_destination
.
for_source
(
source
),
destination
=
self
.
_destination
.
for_source
(
source
),
...
...
tests/fixtures/distributions/demo-0.1.2-py2.py3-none-any.whl
View file @
8db1f00d
No preview for this file type
tests/repositories/fixtures/pypi.org/dists/pytest-3.5.1-py2.py3-none-any.whl
View file @
8db1f00d
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment