Open paulius-hydrosat opened 1 year ago
It seems like you're hitting #278, sorry about that.
Would it be feasible to move dagster_postgres
to tool.conda-lock.dependencies
?
Not feasible, but no worries, as a workaround I'll be installing all the categories. Sorry for missing #278, feel free to close this a duplicate.
Thanks a lot for the report. I wouldn't have expected you to find #278. I'm inclined to leave this open for visibility.
I believe that I'm facing a similar issue using environment.yml
files with different categories. My main environment.yml file includes pyyaml as a dependency, but this gets marked as "optional" in the lockfile when I also include an "extras" environment.yml file which includes pyyaml as a transitive dependency.
Checklist
What happened?
Consider the following pyproject.toml file spec:
After locking, psycopg2 appears as optional dependency:
It should not, it should be non-optional. I suppose this happens as dagster_postgres is optional and depends on psycopg2.
Conda Info
Conda Config
Conda list
No response
Additional Context
This is the full pyproject.toml that I'm using: