yuletide / nitterbot

A mastodon bot to replace twitter links with Nitter links to view without ads or tracking
https://botsin.space/@nitterbot
9 stars 3 forks source link

Invalid poetry config when deploying to railway #1

Closed yuletide closed 1 year ago

yuletide commented 1 year ago

Ideas welcome for other places to deploy this -- or should I just dockerize?

The Poetry configuration is invalid:
#11 15.20     - Additional properties are not allowed ('group' was unexpected)
 i installed these using the poetry command though. Adding requires = ["poetry-core>=1.3"] to pyproject.toml didnt help. 

Edit: Looking at logs more I see Railway is still installing an old version of poetry poetry-1.1.13 poetry-core-1.0.8, even after updating the pyproject.toml to explicitly specify 1.3

Posted to discord seems to be a known issue with no solution other than... delete the dev dependency group which I'm not stoked about: https://discord.com/channels/713503345364697088/1055142092709564520/1055142092709564520

yuletide commented 1 year ago

Solution: set NIXPACKS_POETRY_VERSION=1.3.0