From 22283302669827d95049c2bdbee9a8ff0492804c Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 30 Jan 2024 12:19:10 -0500 Subject: [PATCH 1/4] remove jwst and romancal --- .github/workflows/sphinx_asdf_ci.yml | 10 ---------- tox.ini | 22 ---------------------- 2 files changed, 32 deletions(-) diff --git a/.github/workflows/sphinx_asdf_ci.yml b/.github/workflows/sphinx_asdf_ci.yml index 08449a2..c4946d5 100644 --- a/.github/workflows/sphinx_asdf_ci.yml +++ b/.github/workflows/sphinx_asdf_ci.yml @@ -109,21 +109,11 @@ jobs: os: ubuntu-latest toxenv: roman_datamodels - - name: romancal Document Build - python-version: "3.11" - os: ubuntu-latest - toxenv: romancal - - name: stdatamodels Document Build python-version: "3.10" os: ubuntu-latest toxenv: stdatamodels - - name: jwst Document Build - python-version: "3.11" - os: ubuntu-latest - toxenv: jwst - steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index d66cb1c..a48f6e7 100644 --- a/tox.ini +++ b/tox.ini @@ -93,17 +93,6 @@ commands= pip install ./roman_datamodels[docs] sphinx-build roman_datamodels/docs roman_datamodels/docs/build -[testenv:romancal] -changedir={envtmpdir} -deps= - sphinx -allowlist_externals= - git -commands= - git clone https://github.com/spacetelescope/romancal - pip install ./romancal[docs] - sphinx-build romancal/docs romancal/docs/build - [testenv:stdatamodels] changedir={envtmpdir} deps= @@ -115,17 +104,6 @@ commands= pip install ./stdatamodels[docs] sphinx-build stdatamodels/docs/source stdatamodels/docs/build -[testenv:jwst] -changedir={envtmpdir} -deps= - sphinx -allowlist_externals= - git -commands= - git clone https://github.com/spacetelescope/jwst - pip install ./jwst[docs] - sphinx-build jwst/docs jwst/docs/build - [testenv:twine] deps= twine From dd3564b7f82d26bc7fcb3ca76328f458c791cc64 Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 30 Jan 2024 12:19:34 -0500 Subject: [PATCH 2/4] switch setuptools scm write_to to version_file --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index aea4815..16c9840 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4", "wheel"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] -write_to = "sphinx_asdf/_version.py" +version_file = "sphinx_asdf/_version.py" [tool.black] line-length = 120 From 43f81441b4261311efd859bc956d34f29ff118a6 Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 30 Jan 2024 12:21:13 -0500 Subject: [PATCH 3/4] update actions versions --- .github/workflows/sphinx_asdf_ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sphinx_asdf_ci.yml b/.github/workflows/sphinx_asdf_ci.yml index c4946d5..4fce74f 100644 --- a/.github/workflows/sphinx_asdf_ci.yml +++ b/.github/workflows/sphinx_asdf_ci.yml @@ -116,11 +116,11 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install tox @@ -130,6 +130,6 @@ jobs: run: tox -e ${{ matrix.toxenv }} - name: Upload Code Coverage if: ${{ contains(matrix.toxenv,'coverage') }} - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: file: ./coverage.xml From 618f59af74eebbe1642e19c854806e2dad25377d Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 30 Jan 2024 12:21:53 -0500 Subject: [PATCH 4/4] add dependabot --- .github/dependabot.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9311460 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "main" + schedule: + interval: "weekly" + + # Maintain dependencies for pip + - package-ecosystem: "pip" + directory: "/" + target-branch: "main" + schedule: + interval: "weekly"