https://dagster.io/ logo
d

dwall

10/04/2019, 5:43 PM
installing
0.6.0
seems to work fine using pip but getting some interesting errors when trying to install via pipenv:
Pipfile is pretty straightforward. Looks like the following:
Copy code
[[source]]
url = "<https://pypi.org/simple>"
verify_ssl = true
name = "pypi"

[packages]
dagster = "==0.6.0.post0"
dagit = "==0.6.0.post0"

[dev-packages]

[requires]
python_version = "3.7"

[pipenv]
allow_prereleases = true
a

alex

10/04/2019, 5:48 PM
hmmm, do you get the same error with
0.6.0
instead of
0.6.0.post0
d

dwall

10/04/2019, 5:49 PM
yup
a

alex

10/04/2019, 5:57 PM
so we have
Copy code
# graphql-core pinned to range for Python 2 compataibility
graphql-core>=2.1,<3
and then something else must be adding all those other constraints
Could not find a version that matches graphql-core<3,<4,>=2.0<3,>=2.1,>=3.0.0a0
looks like
>=3.0.0a0
is the conflict
d

dwall

10/04/2019, 5:59 PM
bizarre - I wonder where those constraints are coming from
a

alex

10/04/2019, 6:00 PM
searching github
loooooks like graphene
d

dwall

10/04/2019, 6:00 PM
ah
a

alex

10/04/2019, 6:02 PM
python package management is truly the gift that keeps on giving
🙂 1
d

dwall

10/04/2019, 6:02 PM
Lol
a

alex

10/04/2019, 6:03 PM
I'll consult the council of elders and get things fixed on our end - but in the mean time you could try to specify
graphene<3
(or something like that) in your pipfile and see if it works
🧙‍♂️ 2
d

dwall

10/04/2019, 6:03 PM
yup sounds good. thanks @alex!
a

alex

10/04/2019, 6:11 PM
huh https://pypi.org/project/graphene/#history v3 is prerelease - does pipenv not respect prerelease flags?
i wonder if theres something else introducing the issue
d

dwall

10/04/2019, 6:11 PM
it should! you can see in the Pipfile that there is an
allow_prereleases
config
i tried both with and without
a

alex

10/04/2019, 6:13 PM
huh is the error slightly different with it off?
d

dwall

10/04/2019, 6:13 PM
oh wow ignore me! explicitly not allowing pre releases does fix this issue
🤦‍♂️
so we're good
a

alex

10/04/2019, 6:14 PM
noice