-
Notifications
You must be signed in to change notification settings - Fork 88
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
'NoneType' object has no attribute 'to_dependency' #16
Comments
Caused by #13. |
Well, this really sucks - our patch for poetry 1.1.2 brokenness apparently broke something that was working before - sorry about that. Could you please in the meantime just pin the poetry version to 1.1.1? |
@marns93 could you please add an if-else here: python-poetry-buildpack/bin/compile Line 39 in 8ebc0c1
- deepcopy(__get_locked_package(requirement).to_dependency())
+ deepcopy(__get_locked_package(requirement).to_dependency()) if __get_locked_package(requirement) else deepcopy(requirement) |
@breitburg Could you please try again? The fix should solve your problem. |
@breitburg would be awesome if you could provide you |
Yep! The issue was fixed! Thank you! My [tool.poetry]
name = "bruh"
version = "0.1.0"
description = "Service that implements REST-ful API service"
authors = ["Ilya Breitburg <me@breitburg.com>"]
[tool.poetry.dependencies]
python = "3.8.6"
redis = "^3.5.3"
bottle = "^0.12.18"
gunicorn = "^20.0.4"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api" |
I tried to deploy my app that uses Poetry, but got an error:
My
poetry.lock
file:The text was updated successfully, but these errors were encountered: