Why are PyPI and conda-forge versions for dagster-postgres different? #17670
Replies: 1 comment 2 replies
-
Hey @zaneselvans - I agree that it should show up as 0.21.x. Would you be able to report this in the conda-forge repo? Our build tooling only handles publishing directly to PyPI. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using
conda-lock
to create a reproducible environment that we run Dagster in. It reads dependencies and version constraints frompyproject.toml
, solves the environment usingmamba
, and produces a complete environment specification in a lockfile. We're in the process of switching to using Postgres instead of SQLite for the EventLogs, since SQLite has been locking up on us due to concurrency. However, when trying to add the new dependency I discovered that the PyPI andconda-forge
versioning for thedagster-postgres
package seem to be completely unrelated to each other.conda-forge
the current version is 1.5.5Is it supposed to be this way? Typically conda packages track the same versions as their PyPI counterparts, and
dagster-postgres
seems to be an official package. It looks like the0.21.6
version is probably the "libs" version, while 1.5.5 is the overall Dagster version.Having these two versioning schemes be out of sync makes it difficult to specify the environment in a straightforward way, because the tools parsing
pyproject.toml
could ultimately seek the package either from PyPI orconda-forge
.I notice that this seems to be a common, but not universal, situation, across many of the
dagster-*
packages. Searchingconda-forge
packages it looks like everything has a most recent version of 1.5.5:While many but not all of the same
dagster-*
packages have the libs version 0.21.6 on PyPI.Looking at the conda-forge/dagster-feedstock which produces these packages, it seems like the intention is for the immature library packages to have the immature library version
lib_version
(currently 0.21.6), but for some reason that's not working:It also seems like the intention in the documentation about library versioning
Looking at the conda build docs on multiple outputs it does seem like the
versions
key is supposed to allow each of the subpackages to have its own version, but for some reason that's clearly not happening.Beta Was this translation helpful? Give feedback.
All reactions