From 0fb0c8e626e2f30627387e5b315431760d3813e6 Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Sat, 13 Jun 2026 09:03:44 -0600 Subject: [PATCH 1/3] Bump named-arrays to ~=2.0 named-arrays 2.0.0 has been released; update the dependency pin to allow the new major version. Co-Authored-By: Claude Opus 4.8 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e141a03..31117a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ classifiers = [ ] dependencies = [ "astropy", - "named-arrays~=1.0", + "named-arrays~=2.0", "optika~=1.0", ] dynamic = ["version"] From f5bf3e212f664e387441a2ea3c81f40d49af5b20 Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Sat, 13 Jun 2026 13:08:51 -0600 Subject: [PATCH 2/3] Bump optika to ~=2.0 optika 2.0 has been released; bump the pin so it resolves alongside named-arrays~=2.0 (optika 1.x capped named-arrays at <2.0). Co-Authored-By: Claude Opus 4.8 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 31117a5..de5890f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ classifiers = [ dependencies = [ "astropy", "named-arrays~=2.0", - "optika~=1.0", + "optika~=2.0", ] dynamic = ["version"] From c39bddf27e558978c5c0c3ef3a32f93f051e5142 Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Sat, 13 Jun 2026 13:15:53 -0600 Subject: [PATCH 3/3] Apply black to docs/conf.py and msfc_ccd/fits.py These tracked files were not black-formatted, failing the black CI check. Reformatting them unblocks this PR. Co-Authored-By: Claude Opus 4.8 --- docs/conf.py | 66 ++++++++++++++++++++++++------------------------ msfc_ccd/fits.py | 1 - 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c66adec..1c9e12d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,15 +13,15 @@ import os import sys -package_path = os.path.abspath('../') +package_path = os.path.abspath("../") sys.path.insert(0, package_path) -os.environ['PYTHONPATH'] = ';'.join((package_path, os.environ.get('PYTHONPATH', ''))) +os.environ["PYTHONPATH"] = ";".join((package_path, os.environ.get("PYTHONPATH", ""))) # -- Project information ----------------------------------------------------- -project = 'msfc-ccd' -copyright = '2024, Roy T. Smart' -author = 'Roy T. Smart' +project = "msfc-ccd" +copyright = "2024, Roy T. Smart" +author = "Roy T. Smart" # -- General configuration --------------------------------------------------- @@ -29,16 +29,16 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'sphinx.ext.napoleon', - 'sphinx.ext.autodoc', - 'sphinx.ext.autosummary', - 'sphinx.ext.intersphinx', - 'sphinx.ext.inheritance_diagram', - 'sphinx.ext.viewcode', - 'sphinxcontrib.bibtex', - 'jupyter_sphinx', - 'nbsphinx', - 'sphinx_codeautolink', + "sphinx.ext.napoleon", + "sphinx.ext.autodoc", + "sphinx.ext.autosummary", + "sphinx.ext.intersphinx", + "sphinx.ext.inheritance_diagram", + "sphinx.ext.viewcode", + "sphinxcontrib.bibtex", + "jupyter_sphinx", + "nbsphinx", + "sphinx_codeautolink", ] autosummary_generate = True # Turn on sphinx.ext.autosummary autosummary_imported_members = True @@ -46,28 +46,28 @@ autodoc_typehints = "description" -graphviz_output_format = 'png' -inheritance_graph_attrs = dict(rankdir='TB') +graphviz_output_format = "png" +inheritance_graph_attrs = dict(rankdir="TB") # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +templates_path = ["_templates"] # List of patterns, relative to source directory, that match files and # This pattern also affects html_static_path and html_extra_path. # directories to ignore when looking for source files. -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'pydata_sphinx_theme' +html_theme = "pydata_sphinx_theme" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +html_static_path = ["_static"] html_theme_options = { "icon_links": [ @@ -85,22 +85,22 @@ ], "analytics": { "google_analytics_id": "G-2STXRNV5RS", - } + }, } # https://github.com/readthedocs/readthedocs.org/issues/2569 -master_doc = 'index' +master_doc = "index" -bibtex_bibfiles = ['refs.bib'] -bibtex_default_style = 'plain' -bibtex_reference_style = 'author_year' +bibtex_bibfiles = ["refs.bib"] +bibtex_default_style = "plain" +bibtex_reference_style = "author_year" intersphinx_mapping = { - 'python': ('https://docs.python.org/3', None), - 'numpy': ('https://numpy.org/doc/stable/', None), - 'matplotlib': ('https://matplotlib.org/stable', None), - 'astropy': ('https://docs.astropy.org/en/stable/', None), - 'astroscrappy': ('https://astroscrappy.readthedocs.io/en/stable/', None), - 'named_arrays': ('https://named-arrays.readthedocs.io/en/stable/', None), - 'optika': ('https://optika.readthedocs.io/en/stable/', None), + "python": ("https://docs.python.org/3", None), + "numpy": ("https://numpy.org/doc/stable/", None), + "matplotlib": ("https://matplotlib.org/stable", None), + "astropy": ("https://docs.astropy.org/en/stable/", None), + "astroscrappy": ("https://astroscrappy.readthedocs.io/en/stable/", None), + "named_arrays": ("https://named-arrays.readthedocs.io/en/stable/", None), + "optika": ("https://optika.readthedocs.io/en/stable/", None), } diff --git a/msfc_ccd/fits.py b/msfc_ccd/fits.py index 22e4eb8..9546a95 100644 --- a/msfc_ccd/fits.py +++ b/msfc_ccd/fits.py @@ -4,7 +4,6 @@ import named_arrays as na import msfc_ccd - __all__ = [ "open", ]