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
82dd1bd8
Unverified
Commit
82dd1bd8
authored
Jul 06, 2021
by
Sébastien Eustace
Committed by
GitHub
Jul 06, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4249 from finswimmer/installer-upgrade-warning
Fix warning about self update when using install-poetry.py
parents
22c3aadd
b47de09d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install-poetry.py
+2
-2
No files found.
install-poetry.py
View file @
82dd1bd8
...
@@ -421,14 +421,14 @@ class Installer:
...
@@ -421,14 +421,14 @@ class Installer:
return
True
return
True
vx
=
tuple
(
int
(
p
)
for
p
in
mx
.
groups
()[:
3
])
+
(
mx
.
group
(
5
),)
vx
=
tuple
(
int
(
p
)
for
p
in
mx
.
groups
()[:
3
])
+
(
mx
.
group
(
5
),)
return
vx
>=
(
1
,
2
,
0
)
return
vx
>=
(
1
,
1
,
7
)
if
version
and
not
_is_self_upgrade_supported
(
version
):
if
version
and
not
_is_self_upgrade_supported
(
version
):
self
.
_write
(
self
.
_write
(
colorize
(
colorize
(
"warning"
,
"warning"
,
f
"You are installing {version}. When using the current installer, this version does not support "
f
"You are installing {version}. When using the current installer, this version does not support "
f
"updating using the 'self update' command. Please use 1.
2.0a1
or later."
,
f
"updating using the 'self update' command. Please use 1.
1.7
or later."
,
)
)
)
)
if
not
self
.
_accept_all
:
if
not
self
.
_accept_all
:
...
...
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