How do I get get-poetry.py to install the newest version of poetry from git? i.e. to install something even newer than the newest pre-release release on GH?
What's wrong with?
git clone ...
cd poetry
python setup.py
No setup.py for one.
Ohhh...
You are right of course... the power of habit...
Anyway, I am not sure if pip supports this yet. A workaround could be to install a (pre-)released poetry version and then use it to create a newer poetry wheel using poetry build. Not really elegant, but...
Once I have the wheel (which I built along the lines outlined), how do I get get-poetry.py to install that wheel such that the install doesn't conflict with the package deps. (i.e. I can't just run pip install on the wheel).
You will use pip to install the wheel.
But all this feels a bit strange. What exactly are you trying to achieve? Help in development? Try a new feature?
I am looking to use: https://github.com/sdispater/poetry/pull/757.
It's not a question for a senior Python & Github user.
And it is not the purpose of get-poetry.py.
I am not specifically trying to run get-poetry.py against git. What I am trying to do is:
get-poetry.py handles this, but I am open to other solutions.For others who find this - I'm currently using the workaround described by @pmav99
A workaround could be to install a (pre-)released poetry version and then use it to create a newer poetry wheel using poetry build.
#!/bin/bash
set -ex
pip install poetry
git clone --branch develop --single-branch https://github.com/sdispater/poetry
cd poetry
poetry build
pip install dist/poetry*.whl
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I am not specifically trying to run
get-poetry.pyagainst git. What I am trying to do is:get-poetry.pyhandles this, but I am open to other solutions.