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
906f8360
Unverified
Commit
906f8360
authored
Jun 01, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bad version number being picked with private repositories
parent
d025317d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
CHANGELOG.md
+1
-0
poetry/repositories/legacy_repository.py
+6
-1
No files found.
CHANGELOG.md
View file @
906f8360
...
...
@@ -7,6 +7,7 @@
-
Fixed
`self:update`
command on Windows.
-
Fixed
`self:update`
not picking up new versions.
-
Fixed a
`RuntimeError`
on Python 3.7.
-
Fixed bad version number being picked with private repositories.
## [0.10.2] - 2018-05-31
...
...
poetry/repositories/legacy_repository.py
View file @
906f8360
...
...
@@ -93,7 +93,12 @@ class Page:
pyrequire
=
anchor
.
get
(
"data-requires-python"
)
pyrequire
=
unescape
(
pyrequire
)
if
pyrequire
else
None
yield
Link
(
url
,
self
,
requires_python
=
pyrequire
)
link
=
Link
(
url
,
self
,
requires_python
=
pyrequire
)
if
link
.
ext
==
".egg"
:
continue
yield
link
def
links_for_version
(
self
,
version
):
# type: (Version) -> Generator[Link]
for
link
in
self
.
links
:
...
...
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