Skip to content

more utf-8 in build #1243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion winpython/data/packages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3368,7 +3368,7 @@ description = Missing data visualization module for Python.
description = Intel OpenMP* Runtime Library

[mkl]
description = Intel oneAPI Math Kernel Library
description = Intel® oneAPI Math Kernel Library

[whatthepatch]
description = A patch parsing and application library.
Expand Down
5 changes: 4 additions & 1 deletion winpython/wppm.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ def get_package_metadata(database, name, gotoWWW=False, update=False):
# machine which is not connected to the internet
# we store only normalized names now (PEP 503)
db = cp.ConfigParser()
db.read_file(open(str(Path(DATA_PATH) / database)))
try:
db.read_file(open(str(Path(DATA_PATH) / database)), encoding = 'utf-8')
except:
db.read_file(open(str(Path(DATA_PATH) / database)))
my_metadata = dict(
description="",
url="https://pypi.org/project/" + name,
Expand Down