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: Could not find a version that satisfies the requirement pywin32==304 (from versions: none) #49

Closed
dilipvaleti opened this issue Sep 28, 2022 · 1 comment

Comments

@dilipvaleti
Copy link

When we use this build pack in one of our Heroku instance, we got the below error and build rejected.
image
I was happened when we add new package called requests-negotiate-sspi
Let me know if this package support need to be added under buildpack.

@zyv
Copy link
Contributor

zyv commented Sep 28, 2022

Hi @dilipvaleti,

This is not a bug in our buildpack. All we do is to export the requirements from Poetry and then run pip on the exported file. The error you are showing comes from pip after our buildpack has already run during the installation step.

Just try this on Ubuntu:

$ poetry export -f requirements.txt -o requirements.txt
$ pip install -r requirements.txt

This will fail in the same way. The README of requests-negotiate-sspi, which you are depending upon says the following:

This package allows for Single-Sign On HTTP Negotiate authentication using the requests library on Windows.

So, this package only works on Windows, and Heroku runs on Ubuntu. You've got no dice...

@zyv zyv closed this as completed Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants