Skip to content

Add poetry setup to produce locked releases#1203

Closed
mvdbeek wants to merge 13 commits intogalaxyproject:masterfrom
mvdbeek:add_poetry
Closed

Add poetry setup to produce locked releases#1203
mvdbeek wants to merge 13 commits intogalaxyproject:masterfrom
mvdbeek:add_poetry

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Nov 3, 2021

That's the first time I set up poetry for a project, I'd appreciate your insights @nsoranzo @jmchilton

mvdbeek and others added 2 commits November 3, 2021 14:05
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
@mvdbeek
Copy link
Member Author

mvdbeek commented Nov 3, 2021

Yay, all green. What do you think about this @jmchilton ?

Dep resolution on my laptop is a bit better, update.
pyproject.toml Outdated
[tool.poetry.dependencies]
python = "^3.6"
allure-python-commons = "*"
bioblend = ">=0.14.0"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
bioblend = ">=0.14.0"
bioblend = ">=0.16.0"

xref. #1140 (review)

@jmchilton
Copy link
Member

This is a project meant to be used as a library - I don't think it is appropriate to pin all the requirements so exactly like this. It makes it impossible to work with other applications and libraries.

Can you produce a second requirements file for development? Maybe publish a planemo-app to PyPI that depends on Planemo and the exact requirements?

@mvdbeek
Copy link
Member Author

mvdbeek commented Dec 3, 2021

I think it would make sense to have planemo be the primary thing we expect our users to install (given all the documentation and training that tells users to install planemo), so maybe we could instead create an unpinned planemo-lib if you want to build apps with planemo ?

@jmchilton
Copy link
Member

I disagree with this philosophy but I understand the motivation and clearly there is a problem with the current approach of Planemo.

@mvdbeek mvdbeek force-pushed the add_poetry branch 4 times, most recently from cbbdb22 to ee383be Compare March 15, 2022 17:42
@mvdbeek
Copy link
Member Author

mvdbeek commented Mar 15, 2022

@jmchilton I've updated the PR to build a planemo-lib package that is unpinned, and a planemo package that is pinned. Do you think this is acceptable ?
I'm planning to do the 22.01 release now, and I would feel better about releasing the new packages if we pinned the dependencies.

@mvdbeek
Copy link
Member Author

mvdbeek commented Mar 18, 2022

@jmchilton If this isn't acceptable we could mabe pin at least the galaxy-* packages to < galaxy-<next> ? I think that would also largely address my concern

mvdbeek added a commit to mvdbeek/planemo that referenced this pull request May 6, 2022
mvdbeek added a commit to mvdbeek/planemo that referenced this pull request May 9, 2022
@nsoranzo
Copy link
Member

Superseded by #1230.

@nsoranzo nsoranzo closed this May 10, 2022
mvdbeek added a commit to mvdbeek/planemo that referenced this pull request May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants