Skip to content

Conversation

@agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Jul 24, 2023

@agoscinski agoscinski force-pushed the adding-python-badge branch 2 times, most recently from 630a170 to 135e8f8 Compare July 24, 2023 20:37
Copy link
Collaborator

@PicoCentauri PicoCentauri left a comment

Choose a reason for hiding this comment

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

Good and important additions for the pyproject.toml. I think the banner is a bit superfluous (see my comment).

README.rst Outdated
Comment on lines 89 to 104
.. |python| image:: https://img.shields.io/badge/documentation-latest-sucess
:alt: Python
:target: https://scikit-matter.readthedocs.io
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is duplicated and can be removed.

README.rst Outdated
Comment on lines 93 to 96
.. |python| image:: https://img.shields.io/badge/python-v3.8,_v3.9,_v3.10,_v3.11-blue.svg
:alt: Tested Python versions in CI
:target: (https://github.com/scikit-learn-contrib/scikit-matter/\
blob/main/.github/workflows/tests.yml)
Copy link
Collaborator

Choose a reason for hiding this comment

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

We had this idea also for equistore and rascaline. But, we concluded that a version banner does not add much additional information and is cluttering the README. Especially because on PYPI the versions will now be shown in the Meta section (see i.e. scikit-learn) based on your additions below.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I would say it is not exactly the same information as in the Meta section on pypi. "Python (>= 3.8)" does not specify which version we test on in the CI. I am not sure if the link is very meaningful. Maybe we can combine it with the test badge that we test on these versions. I will look into this.

@agoscinski
Copy link
Collaborator Author

I added a section talking about on what exact platforms we do CI tests. I think that is useful for a user to know. The meta information is more about what we expect it supposed to work on. Also I just wrote a sentence because a table seemed a bit too much. I would like it more if this this is somehow integrated in our test badge, but I found no way to do it. I think it is good enough.

Also added badge for the doi of the paper.

python-version: '3.10'
- os: windows-latest
python-version: '3.10'
- os: ubuntu-2204
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I like more explicit versions so I changed to ubuntu-2204

@agoscinski agoscinski requested a review from PicoCentauri August 5, 2023 11:08
* CI tests now test python 3.7 and 3.11 for all OS
* in CI tests mark explicitly ubuntu version 22.04
* update package classifiers with python version and OS
* add section into README that specifies on which OS and python version
  we test
@agoscinski agoscinski force-pushed the adding-python-badge branch from fae1381 to 1b56b52 Compare August 7, 2023 06:56
@agoscinski agoscinski merged commit eaf576c into main Aug 7, 2023
@agoscinski agoscinski deleted the adding-python-badge branch August 7, 2023 08:03
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