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
eea601c3
Unverified
Commit
eea601c3
authored
Apr 18, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unicode error in search command for Python 2.7
parent
f50ff8d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
CHANGELOG.md
+1
-0
poetry/repositories/pypi_repository.py
+2
-1
No files found.
CHANGELOG.md
View file @
eea601c3
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
### Fixed
### Fixed
-
Fixed a bug where dependencies constraints in lock were too strict.
-
Fixed a bug where dependencies constraints in lock were too strict.
-
Fixed unicode error in
`search`
command for Python 2.7.
## [0.8.3] - 2018-04-16
## [0.8.3] - 2018-04-16
...
...
poetry/repositories/pypi_repository.py
View file @
eea601c3
...
@@ -32,6 +32,7 @@ from poetry.semver.constraints import Constraint
...
@@ -32,6 +32,7 @@ from poetry.semver.constraints import Constraint
from
poetry.semver.constraints.base_constraint
import
BaseConstraint
from
poetry.semver.constraints.base_constraint
import
BaseConstraint
from
poetry.semver.version_parser
import
VersionParser
from
poetry.semver.version_parser
import
VersionParser
from
poetry.utils._compat
import
Path
from
poetry.utils._compat
import
Path
from
poetry.utils._compat
import
to_str
from
poetry.utils.helpers
import
temporary_directory
from
poetry.utils.helpers
import
temporary_directory
from
poetry.version.markers
import
InvalidMarker
from
poetry.version.markers
import
InvalidMarker
...
@@ -192,7 +193,7 @@ class PyPiRepository(Repository):
...
@@ -192,7 +193,7 @@ class PyPiRepository(Repository):
for
hit
in
hits
:
for
hit
in
hits
:
result
=
Package
(
hit
[
'name'
],
hit
[
'version'
],
hit
[
'version'
])
result
=
Package
(
hit
[
'name'
],
hit
[
'version'
],
hit
[
'version'
])
result
.
description
=
hit
[
'summary'
]
result
.
description
=
to_str
(
hit
[
'summary'
])
results
.
append
(
result
)
results
.
append
(
result
)
return
results
return
results
...
...
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