https://www.growthbook.io/ logo
#give-feedback
Title
# give-feedback
b

better-parrot-43048

03/24/2022, 8:56 PM
Also running into install issues w gbstats. Looks like I need to use poetry to manage my env if I want to use this package (I know that poetry exists but have never worked w it. I see a poetry.lock file in the gbstats folder though) Pip isn't aware of any dependencies at all
f

fresh-football-47124

03/24/2022, 9:01 PM
Thanks Quinn, we'll take a look at these two issues
🙌 1
f

future-teacher-7046

03/24/2022, 9:56 PM
You shouldn't need to use poetry, that's just used for building. I don't think we're specifying runtime dependencies correctly for pip though. The
gbstats
package just requires the following: • numpy • scipy • pandas
I'm fairly new to publishing on pypi so still figuring out the proper way to package everything together
b

better-parrot-43048

03/25/2022, 2:51 PM
Yeah I think an easy way to fix is to run `
Copy code
poetry export -f requirements.txt --output requirements.txt
before you push a release
That tells poetry to generate a requirements file for pip so pip can understand the pkg's dependencies. I dont know much about poetry so there may be a nicer way to make that happen automatically or include pip-readable deps in pyproject.toml(??) but I poked around a bit and wasnt able to find anything about that sort of thing
14 Views