Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Using TuriCreate with Poetry #2269

Closed
dogahe opened this issue Aug 27, 2019 · 1 comment
Closed

Using TuriCreate with Poetry #2269

dogahe opened this issue Aug 27, 2019 · 1 comment

Comments

@dogahe
Copy link

dogahe commented Aug 27, 2019

I am using Poetry for Python Package management. Simply I started a new Poetry project (poetry-turicreate) by doing:

poetry new poetry-turicreate
cd poetry-turicreate
and when I do:

poetry add turicreate

I get the following error:

Creating virtualenv poetry-turicreate-py3.7 in 
...Library/Caches/pypoetry/virtualenvs
Using version ^5.7 for turicreate

Updating dependencies
Resolving dependencies... (0.1s)
                                               
[TypeError]                     
can only concatenate str (not "int") to str ```
@syoutsey syoutsey added the p2 label Aug 29, 2019
@nickjong nickjong added this to the 5.8 milestone Sep 5, 2019
@TobyRoseman TobyRoseman self-assigned this Sep 9, 2019
@TobyRoseman
Copy link
Collaborator

Looks like there are two issues here. One is a TuriCreate issue and one is a Poetry issue.

The first issue is that TuriCreate has transistive dependency requirements that can not be satisfied. For one reason or another this has been the case for quite awhile. We are tracking the most recent issue causing it in #2249.

The second issue is a Poetry issue. When constructing an error message for the above issue, Poetry tries to concatenate a str and a int. This can be seen by running: poetry add -vvv turicreate rather than just poetry add turicreate.

I suggest you open an issue or pull request with Poetry. Given the stack trace it should be easy to fix.

Please note: that when/if Poetry fixes their issue, you still will not be able to use TuriCreate with Poetry, because Poetry requires all dependencies to be satisfied.

Since we're already tracking the TuriCreate issue in #2249, I'm going to close this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants