litestar-org / litestar-fullstack

Litestar Fullstack Reference Application with React, Vite, SQLAlchemy, Docker, Task Queues, and more!
https://fullstack.litestar.dev/
MIT License
284 stars 47 forks source link

Bug: standalone packaging issues #161

Open GuillaumeQuenneville opened 1 month ago

GuillaumeQuenneville commented 1 month ago

Description

Hi, I was looking for references to make a standalone litestar (trying to avoid rewriting part of our backend in node for our electron app) and I ran across a few issues. I'd be happy to make a PR with fixes based on feedback.

P.S. I didn't run the repo, I was taking parts of it for inspiration. But as far as I can tell, these all affect the main repo.

URL to code causing the issue

https://github.com/litestar-org/litestar-fullstack/blob/main/scripts/post-builds.py

MCVE

# Your MCVE code here

Steps to reproduce

steps for jsbeautifier issue.

1 - compile pyapp (suceeds)
2 - run pyapp, fails at env resolution

Screenshots

"In the format of: ![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"

Logs

*** jsbeautifier conflict log ***

The conflict is caused by:
    litestar[standard] 2.8.3 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.8.2 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.8.1 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.8.0 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.7.2 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.7.1 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.7.0 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.6.4 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.6.3 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.6.2 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.6.1 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.6.0 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.5.5 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.5.4 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.5.3 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.5.2 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.5.1 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.5.0 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.4.5 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.4.4 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.4.3 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.4.2 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.4.1 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.4.0 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.3.2 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.3.1 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.3.0 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.2.1 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.2.0 depends on jsbeautifier; extra == "standard"
    litestar[standard] 2.1.1 depends on jsbeautifier; extra == "cli" or extra == "standard" or extra == "full"
    litestar[standard] 2.1.0 depends on jsbeautifier; extra == "cli" or extra == "standard" or extra == "full"
    litestar[standard] 2.0.1 depends on jsbeautifier; extra == "cli" or extra == "standard" or extra == "full"
    litestar[standard] 2.0.0 depends on jsbeautifier; extra == "cli" or extra == "standard" or extra == "full"

Package Version

All

Platform

cofin commented 1 month ago

@GuillaumeQuenneville I'd be happy to accept a PR here. This was an area where I'd been doing a lot experimenting, so it's nice to see others taking a look.