Skip to content
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

Error installing odmantic #529

Closed
frepond opened this issue Jul 7, 2021 · 3 comments · Fixed by #563
Closed

Error installing odmantic #529

frepond opened this issue Jul 7, 2021 · 3 comments · Fixed by #563
Labels
⬆️ upstream bug Caused by a bug from the upstream dependencies

Comments

@frepond
Copy link

frepond commented Jul 7, 2021

Steps to reproduce

pdm add odmantic

Actual behavior

KeyError: "There is no item named 'ODMantic-0.3.5.dist-info/WHEEL' in the archive

Expected behavior

Package odmantic installed

Environment Information

# Paste the output of `pdm info && pdm info --env` below:
PDM version:        1.6.4
Python Interpreter: /Users/frepond/.asdf/installs/python/3.9.4/bin/python3 (3.9)
Project Root:       /private/tmp/test
Project Packages:   /private/tmp/test/__pypackages__/3.9
{
  "implementation_name": "cpython",
  "implementation_version": "3.9.4",
  "os_name": "posix",
  "platform_machine": "x86_64",
  "platform_release": "20.5.0",
  "platform_system": "Darwin",
  "platform_version": "Darwin Kernel Version 20.5.0: Sat May  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64",
  "python_full_version": "3.9.4",
  "platform_python_implementation": "CPython",
  "python_version": "3.9",
  "sys_platform": "darwin"
}
@frepond frepond added the 🐛 bug Something isn't working label Jul 7, 2021
@frostming
Copy link
Collaborator

frostming commented Jul 8, 2021

odmantic's wheel name is ODMantic-0.3.5 while dist-info name is odmantic-0.3.5.dist-info, but distlib expects them to be the same. I would categorize this issue as an upstream issue.

@frostming frostming added ⬆️ upstream bug Caused by a bug from the upstream dependencies and removed 🐛 bug Something isn't working labels Jul 8, 2021
@frepond
Copy link
Author

frepond commented Jul 17, 2021

Hi @frostming is there any workaround for this? Thanks.

@SwiftWinds
Copy link

I'm getting the same issue with the package PyFunctional. Would a workaround be possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️ upstream bug Caused by a bug from the upstream dependencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants