Comments (10)
FYI, we have bumped Poetry to 1.1.2 - requirements.txt
generation now works, but there are still problems with our use cases, which we are still investigating. Apparently dependency versions are not resolved correctly for git dependencies with the new upgrade.
from python-poetry-buildpack.
Looks like a fix is imminent in python-poetry/poetry#3119.
@zyv thanks for the hotfix and everything you've done to get this sorted out.
from python-poetry-buildpack.
I have the same problem
from python-poetry-buildpack.
Same here, this is blocking deploys with multiple python versions.
from python-poetry-buildpack.
Hi folks,
Sorry about that! It seems to be a bug in the latest version of Poetry - the export code for requirements.txt
has been reworked and apparently git dependencies are no longer properly supported.
I have proposed a fix (see python-poetry/poetry#3089), but I didn't even have time to test it. If any of you have the capacity to help out, please bear with poetry maintainers. Sadly, our capacity is extremely limited at present.
If you need a workaround, please pin the poetry version as in #11 - this way you don't have to rely on our defaults and have it under your own control. Of course, this also means that you'll have to bump it later yourself when you see fit.
Z.
from python-poetry-buildpack.
Blocked by python-poetry/poetry#3100.
from python-poetry-buildpack.
I don't have any git dependencies, it also wasn't a problem with the versions.
Heroku updated the version to 3.8.6. I did as well. didn't change it.
from python-poetry-buildpack.
@rvanlaar our current plan is to wait for 1.1.2 and then bump the version in the buildpack again. You can always pin poetry to whatever version that works for you as described in the README.
from python-poetry-buildpack.
Thanks for the quick response.
I got it back to work.
I've pinned poetry to 1.1.1 and created the runtime.txt with contents: python-3.8.6
heroku config:set DISABLE_POETRY_CREATE_RUNTIME_FILE=1
heroku config:set POETRY_VERSION=1.1.1
from python-poetry-buildpack.
Hey folks,
We have hotfixed the support for nested VCS dependencies, since we don't know when the new version including a proper fix will be released. Hopefully everything is working for you now. At least all our use cases are now covered.
Sorry for the mess, I guess we've just got spoiled by Poetry released being well-tested and not causing too much breakage... but this major upgrade was quite a disaster :(
from python-poetry-buildpack.
Related Issues (20)
- 'NoneType' object has no attribute 'to_dependency' HOT 6
- Enable hashes in generated requirements.txt file HOT 3
- Refactor code to use a logging function
- Have the buildpack run `poetry lock` if no lockfile found? HOT 9
- How to use a custom build dir? HOT 3
- Feature: allow customising export params (e.g. installing with `extras`) HOT 4
- Deprecated Poetry installer HOT 6
- Publish to Buildpacks.io HOT 5
- Python version extraction breaks if a trailing space exists HOT 4
- Build fails after Poetry 1.2.0 release HOT 2
- ERROR: Could not find a version that satisfies the requirement pywin32==304 (from versions: none) HOT 1
- Installing Poetry (1.2.0): An error occurred. Removing partial environment. HOT 2
- Upgrading Python can break Poetry HOT 3
- Add support for exact Python version specification HOT 2
- Compatibility with monorepos (multi-procfile buildpack)? HOT 2
- Pulling from the repository fails HOT 6
- update poetry version HOT 1
- Explicit installation of poetry export plugin breaks deployments with Poetry <1.6 HOT 13
- Buildpacks.io HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-poetry-buildpack.