Skip to content

Making CLMM conda instalable [version:1.16.10]#651

Merged
caioolivv merged 59 commits intomainfrom
conda_instal
Dec 4, 2025
Merged

Making CLMM conda instalable [version:1.16.10]#651
caioolivv merged 59 commits intomainfrom
conda_instal

Conversation

@eduardojsbarroso
Copy link
Collaborator

Changed the pyproject.toml file so we can publish CLMM to conda and pipy.

@eduardojsbarroso eduardojsbarroso linked an issue Nov 15, 2024 that may be closed by this pull request
@eduardojsbarroso
Copy link
Collaborator Author

Hi @m-aguena and @marina-ricci . As we discussed in the last pipeline meeting, indeed pip install git+https://github.com/LSSTDESC/CLMM.git@1.14.1 works for CLMM. However I created a new pyproject.toml file and I was able to publish clmm to the PypiTest. I can also publish to Pypi and Conda now. However I would like your aproval. Also, should I publish or one of you guys? Since it will be associated with my account?

@marina-ricci
Copy link
Collaborator

@eduardojsbarroso Michel and I are not familiar with what you proposed. Could you ellaborate?

@eduardojsbarroso
Copy link
Collaborator Author

@eduardojsbarroso Michel and I are not familiar with what you proposed. Could you ellaborate?

What I am proposing is that we publish the clmm git repository to Pipy and conda, so one can simply do pip install clmm or conda install clmm. To so, we need a pyproject.toml file with all the requirements, dependencies and licenses of the repository. After making this file, we can use setuptools I guess or another program to build the files that will be posted in Pypi and conda (I used a program called hatch). Then, after having all the files, we just need to publish them to Pipy and conda. However, you need to have an account at Pipy to publish. I created one, and published clmm in PipyTest, which is just to see if everything is working. Now I can publish to Pipy and conda, but then the package will be associated to my account, so I will be the one to update it when something changes. I can do that no problem, but if you guys prefer to do it since the repository is not mine, feel free to do it. Otherwise I can do it this week. I just noted that there was some problem with the new pyproject.toml file in the test

@coveralls
Copy link

coveralls commented Nov 19, 2024

Coverage Status

coverage: 100.0%. remained the same
when pulling b7f609f on conda_instal
into 9c52414 on main.

@m-aguena
Copy link
Member

@eduardojsbarroso I talked to the CCL people, and they said an account for the code was created. So, I will make the same for CLMM and give you access.

@m-aguena
Copy link
Member

@eduardojsbarroso can you add instructions on how to create these installation to the Creating installation via pip and conda section of CONTRIBUTING.md? Thanks

@hsinfan1996
Copy link
Collaborator

Since this PR touched upon the dependencies, can we check if astropy v7.0.0 is compatible, which was just released.

@hsinfan1996
Copy link
Collaborator

Since this PR touched upon the dependencies, can we check if astropy v7.0.0 is compatible, which was just released.

Never mind. It is compatible.

@eduardojsbarroso
Copy link
Collaborator Author

Since this PR touched upon the dependencies, can we check if astropy v7.0.0 is compatible, which was just released.

Never mind. It is compatible.

@github-actions github-actions bot changed the title Making CLMM conda instalable Making CLMM conda instalable [version:1.16.8] Dec 3, 2025
@caioolivv
Copy link
Collaborator

Everything's looking ready for a review here @m-aguena.

@github-actions github-actions bot changed the title Making CLMM conda instalable [version:1.16.8] Making CLMM conda instalable Dec 3, 2025
@m-aguena
Copy link
Member

m-aguena commented Dec 3, 2025

@caioolivv thanks for all the work! With this setup, when is publication to pipy and conda triggered?

@caioolivv
Copy link
Collaborator

@caioolivv thanks for all the work! With this setup, when is publication to pipy and conda triggered?

Only when you release a new version, manually.

@m-aguena m-aguena linked an issue Dec 3, 2025 that may be closed by this pull request
@github-actions github-actions bot changed the title Making CLMM conda instalable Making CLMM conda instalable [version:1.16.10] Dec 3, 2025
Copy link
Member

@m-aguena m-aguena left a comment

Choose a reason for hiding this comment

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

@caioolivv it all looks pretty well (and clean!), thanks! I just left a comment to make sure the documentation reflects the current implementation

@caioolivv caioolivv requested a review from m-aguena December 4, 2025 10:46
Copy link
Member

@m-aguena m-aguena left a comment

Choose a reason for hiding this comment

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

@caioolivv thanks for all the work!

@caioolivv caioolivv merged commit 0dc0be9 into main Dec 4, 2025
5 checks passed
@caioolivv caioolivv deleted the conda_instal branch December 4, 2025 14:39
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.

Update sphinx in CI Make CLMM conda instalable

6 participants