Closed cmutel closed 1 year ago
package | responsible | comment |
---|---|---|
wurst | @cmutel | |
bw_migrations | @michaelweinold | pending addition of bw2data |
bw2data | @michaelweinold | pending addition of bw2parameters |
bw2io | @michaelweinold | pending addition of bw2data |
bw2calc | @michaelweinold | pending addition of bw2data |
bw2analyzer | @michaelweinold | pending addition of bw2data, bw2calc |
brightway2 | @michaelweinold | pending addition of all other bw packages |
brightway25 | @michaelweinold | pending addition of all other bw packages |
rower | @michaelweinold | pending addition of bw2data |
People at our company want to use packages of the brightway ecosystem. As we rely heavily on conda-forge I bring all packages we use at our company there and maintain a few feedstocks. I started creating a few recipes unitl I found this issue. Can I help you @cmutel & @michaelweinold bring the packages to conda-forge? We could also add all packages at once
Dear Marco-
It would be fantastic if you could help move this process forward, there are simply too many things to do, and this requires pushing the conda-forge people a bit to get recipe submissions approved (we have waited more than a week in the past). I don't mean anything bad about the forge maintainers, they are volunteers and doing a great job, but no one has unlimited time.
I think porting the recipes should be more or less simple; what I have used in the past when building conda packages is here: https://github.com/cmutel/conda-recipes
Feel free to tag me if you have other questions.
As I said I am willing to help. How should we proceed? I see two options here:
If you can get them all done at once, that would be fantastic, and would also make it easier for the conda-forge team. I don't know anything about this, please feel free to take the lead.
Just started a PR for most of the packages listed above.
@michaelweinold can you close the PRs?
@michaelweinold can you close the PRs?
Done! Many thanks for your initiative.
Ok, got all recipes green and requested a review. I skipped https://github.com/conda-forge/staged-recipes/pull/20212 as it requires some development versions of packages.
If you want to help maintain the recipes please leave a comment in the PR. However I can also add you later once the PR is merged.
Just a quick update from my side: The PR with all recipes at once got rejected. So I split them up again. Part of them got already merged, I will update this comment with the progress:
activity-browser
: https://github.com/conda-forge/staged-recipes/pull/21445brightway2
: https://github.com/conda-forge/staged-recipes/pull/21433bw_migrations
: https://github.com/conda-forge/staged-recipes/pull/21372bw2analyzer
: https://github.com/conda-forge/staged-recipes/pull/21373bw2calc
: https://github.com/conda-forge/staged-recipes/pull/21351bw2data
: https://github.com/conda-forge/staged-recipes/pull/21352bw2io
: https://github.com/conda-forge/staged-recipes/pull/21406eidl
: https://github.com/conda-forge/staged-recipes/pull/21434presamples
: https://github.com/conda-forge/staged-recipes/pull/21375@m-rossi Thanks a lot for your persistence, this is not an easy process and I very much appreciate your work.
I agree to be a maintainer on all packages in the https://github.com/brightway-lca/ org.
@cmutel I will merge all recipes first and add you and @michaelweinold later as maintainers. Otherwise you would have to comment on each PR, I think this way we are faster.
Ok, we got all in place. Please test carefully if everything works as expected. If not please open issues in the corresponding repositories. If you want to become recipe maintainer you can open an issue in the feedstock repository and choose Bot commands and use @conda-forge-admin, please add user @USERNAME
as title. Then I just have to merge the request.
@m-rossi Wow, amazing. The solution to get bw2calc working on Apple Silicon is simple in the end, but took some doing! Thanks A LOT.
Glad I could contribute something useful and improve some part of your project. Although I am just using the amazing magic the people at conda-forge are providing. I am always amazed how such a small group can manage such a huge infrastructure and improve it everyday.
Furthermore, as I said colleagues at the company I work for are happy that a project like yours exist. If there is anything related to packaging I can help with, feel free to ping me.
I want to bring another couple of packages to conda forge.
wurst
: https://github.com/conda-forge/staged-recipes/pull/21525premise
: https://github.com/conda-forge/staged-recipes/pull/21540premise_gwp
: https://github.com/conda-forge/staged-recipes/pull/21526@cmutel could you close https://github.com/conda-forge/staged-recipes/pull/20035 so I can make clean start?
@m-rossi Done!
Ok, there are also done.
Migrating to conda forge
Conda forge offers a number of advantages (big team maintaining CI and packaging, easier installation), but the most important is it makes it much easier to build os- or arch-specific packages, which we absolutely need for MacOS ARM64 machines.
Libraries
Here are the libraries which need to be added:
For each library, take the following steps:
@conda-forge/help-python, this is ready for review
Adapting the recipes
Make sure to add yourself as the maintainer, e.g.
Apparently the forge build is good enough that the following can be dropped:
Delete
source: fn
if present.More complete
test
section:Change
build: script
command:Make Python version in build and run to be
>=3.6
ifnoarch
Fix license to be valid SPDX, e.g.
BSD-3-Clause
Replace
setuptools
withpip
in build section.