-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added new dependencies #147
Changes from 1 commit
3c7c57a
886ec05
d4ad7db
f4acfd5
8b6818b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "sunkit_instruments" | ||
description = "A SunPy-affiliated package for solar instrum" | ||
description = "A SunPy-affiliated package for solar instruments" | ||
requires-python = ">=3.10" | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
license = { file = "licenses/LICENSE.rst" } | ||
|
@@ -18,6 +18,13 @@ authors = [ | |
dependencies = [ | ||
"sunpy[map,net,timeseries,visualization]>=6.0.0", | ||
"xarray>=2023.12.0", | ||
"astropy", | ||
"packaging", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need this one? Does it not come with pip these days? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one refers to packaging right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah just that one. |
||
"scipy", | ||
"numpy", | ||
"h5py", | ||
"matplotlib", | ||
"pandas", | ||
] | ||
dynamic = ["version"] | ||
|
||
|
@@ -37,6 +44,7 @@ docs = [ | |
"sphinx-changelog", | ||
"sphinx-gallery", | ||
] | ||
|
||
[project.urls] | ||
repository = "https://sunpy.org" | ||
|
||
|
@@ -51,22 +59,22 @@ exclude = ["sunkit_instruments._dev*"] | |
[tool.setuptools_scm] | ||
write_to = "sunkit_instruments/_version.py" | ||
|
||
[ tool.gilesbot ] | ||
[ tool.gilesbot.circleci_artifacts ] | ||
[tool.gilesbot] | ||
[tool.gilesbot.circleci_artifacts] | ||
enabled = true | ||
|
||
[ tool.gilesbot.pull_requests ] | ||
[tool.gilesbot.pull_requests] | ||
enabled = true | ||
|
||
[ tool.gilesbot.towncrier_changelog ] | ||
[tool.gilesbot.towncrier_changelog] | ||
enabled = true | ||
verify_pr_number = true | ||
changelog_skip_label = "No Changelog Entry Needed" | ||
help_url = "https://github.com/sunpy/sunkit-instruments/blob/main/changelog/README.rst" | ||
|
||
changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/sunkit-instruments/blob/main/changelog/README.rst)." | ||
|
||
type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/sunkit-instruments/blob/main/changelog/README.rst)" | ||
type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/sunkit-instruments/blob/main/changelog/README.rst)." | ||
|
||
number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file." | ||
|
||
|
@@ -88,26 +96,26 @@ write_to = "sunkit_instruments/_version.py" | |
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "removal" | ||
name = "Deprecations and Removals" | ||
showcontent = true | ||
directory = "removal" | ||
name = "Deprecations and Removals" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "feature" | ||
name = "Features" | ||
showcontent = true | ||
directory = "feature" | ||
name = "Features" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "bugfix" | ||
name = "Bug Fixes" | ||
showcontent = true | ||
directory = "bugfix" | ||
name = "Bug Fixes" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "doc" | ||
name = "Improved Documentation" | ||
showcontent = true | ||
directory = "doc" | ||
name = "Improved Documentation" | ||
showcontent = true | ||
|
||
[[tool.towncrier.type]] | ||
directory = "trivial" | ||
name = "Trivial/Internal Changes" | ||
showcontent = true | ||
directory = "trivial" | ||
name = "Trivial/Internal Changes" | ||
showcontent = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These will all need minimum version like xarray and sunpy do above.
I would compare the versions to what sunpy uses, that would make things simpler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So You are suggesting that the , i will mention minimum version of below mentioned dependencies!! like sunpy and xarray?!
astropy
packaging
scipy
numpy
h5py
matplotlib
pandas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please.