8000 binstar_client errors on windows for zipfile uploads · Issue #637 · anaconda/anaconda-client · GitHub
[go: up one dir, main page]

Skip to content

binstar_client errors on windows for zipfile uploads #637

Open

Description

@baleland

def inspect_pypi_package_zip(filename, fileobj): from binstar_client/inspect_package/pypi.py

PKG-INFO is extracted from the zipfile - ok so far

issues,

attrs = dict(Parser().parsestr(data.encode("UTF-8", "replace")).items()) # data.encode results in bytes, but Parser() requires str

Parser().parsestr() expects unix line endings, not \r\n that might be present on windows

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0