Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carderne authored Jan 11, 2025
1 parent 9373505 commit 7a9985a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Una

**⏸️ Project paused: This doesn't seem to be necessary any longer.**

[uv](https://docs.astral.sh/uv/concepts/projects/workspaces/)'s Workspace support has improved sufficiently that you can
do monorepo stuff without this plugin.
I put together a simple example at [carderne/postmodern-mono](https://github.com/carderne/postmodern-mono)
with a [Dockerfile](https://github.com/carderne/postmodern-mono/blob/main/apps/server/Dockerfile)

You still can't build Python wheels in uv workspaces, as internal dependencies won't be included.
So... if anyone thinks that is particularly important, maybe I'll revive this.

<div align="center">
<img src="assets/logo.svg" width="100">
<p>Easy monorepos with Python and uv</p>
Expand All @@ -20,8 +30,6 @@

</div>

**Una is currently a bit broken since uv v0.4.0. Figuring out what to do next.**

Una is a tool to build and productionise Python monorepos with [uv](https://docs.astral.sh/uv/).

uv has [Workspaces](https://docs.astral.sh/uv/concepts/workspaces/), but no ability to _build_ them.
Expand Down

3 comments on commit 7a9985a

@javigoncompte
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea we were looking for an alternative to bazel and found this has actually helped us remove bazel for our python wheels as internal dependencies

@carderne
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting! Okay I'll update the README again to emphasise that it's not needed for Docker but still useful for builds. And I'll spend a bit of time time making sure everything more or less works.

Happy to hear about anything that's not working for you, or would be more useful or whatever. Can't promise I'll get to anything very quickly but would like this project to be useful if it's going to stay around.

@javigoncompte
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we were a pipenv where bazel and pipenv had that, but we went to uv for our faster builds, and we deploy the wheels into databricks, and since our libraries are not wheels they are packaged into the wheels. That's where bazel came in, but we had to match our deps on bazel with the pyproject. So this kinda solved our issue and removed any complexity with bazel since it's a very niche thing to learn for some of our new developers. Thank you for this project as well

Please sign in to comment.