From 640a25ab5024367e160549c01a2d050b624567aa Mon Sep 17 00:00:00 2001 From: Akio Taniguchi <13254278+astropenguin@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:17:38 +0000 Subject: [PATCH 1/3] #95 Fix project dependencies --- poetry.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 18db82b..862a273 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3282,4 +3282,4 @@ test = ["websockets"] [metadata] lock-version = "2.0" python-versions = ">=3.10, <3.14" -content-hash = "06e56ad396f97aee9c85242562e4cd2d2e9c8cf3459e6e8e3e912063e8ede5fc" +content-hash = "c9baf47aed55bdaacb3dc4dfd3a3fb2e7bf91a7b3c08429c31eebbe08b41111e" From 666f651c5ecaf8180c4a6bcd3c790bdb4518acbd Mon Sep 17 00:00:00 2001 From: Akio Taniguchi <13254278+astropenguin@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:18:29 +0000 Subject: [PATCH 2/3] =?UTF-8?q?#95=20Update=20package=20version=20(0.3.1?= =?UTF-8?q?=20=E2=86=92=200.3.2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CITATION.cff | 2 +- README.md | 4 ++-- deshima_sensitivity/__init__.py | 2 +- pyproject.toml | 2 +- sensitivity.ipynb | 2 +- tests/test_package.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index fd0a812..f2e3ba9 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,7 +3,7 @@ message: "If you use this software, please cite it as below." title: "deshima-sensitivity" abstract: "Sensitivity calculator for DESHIMA-type spectrometers" -version: 0.3.1 +version: 0.3.2 date-released: 2024-12-11 license: "MIT" doi: "10.5281/zenodo.3966839" diff --git a/README.md b/README.md index 41bd135..1c9560e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Click the budge below to open it in [Google colaboratory](http://colab.research. ### Stable version (recommended) -[![open stable version in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/deshima-dev/deshima-sensitivity/blob/v0.3.1/sensitivity.ipynb) +[![open stable version in colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/deshima-dev/deshima-sensitivity/blob/v0.3.2/sensitivity.ipynb) ### Latest version @@ -29,7 +29,7 @@ In the case of running it in a local Python environment, please follow the requi ## Requirements - **Python:** 3.10, 3.11, 3.12, and 3.13 (tested by the authors) -- **Dependencies:** See [pyproject.toml](https://github.com/deshima-dev/deshima-sensitivity/blob/v0.3.1/pyproject.toml) +- **Dependencies:** See [pyproject.toml](https://github.com/deshima-dev/deshima-sensitivity/blob/v0.3.2/pyproject.toml) ## Installation diff --git a/deshima_sensitivity/__init__.py b/deshima_sensitivity/__init__.py index 28a65ef..d97c307 100644 --- a/deshima_sensitivity/__init__.py +++ b/deshima_sensitivity/__init__.py @@ -14,7 +14,7 @@ """ # flake8: noqa -__version__ = "0.3.1" +__version__ = "0.3.2" # modules diff --git a/pyproject.toml b/pyproject.toml index 814e493..be91cdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "deshima-sensitivity" -version = "0.3.1" +version = "0.3.2" description = "Sensitivity calculator for DESHIMA-type spectrometers" authors = [ "Akira Endo ", diff --git a/sensitivity.ipynb b/sensitivity.ipynb index 9fb92ba..79169fb 100644 --- a/sensitivity.ipynb +++ b/sensitivity.ipynb @@ -23,7 +23,7 @@ "metadata": {}, "outputs": [], "source": [ - "!pip install -q \"deshima-sensitivity==0.3.1\"" + "!pip install -q \"deshima-sensitivity==0.3.2\"" ] }, { diff --git a/tests/test_package.py b/tests/test_package.py index c28359a..8c66662 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == "0.3.1" + assert __version__ == "0.3.2" From 8ea1394fa8531cb7707a3ccfb7be604dbb10e1e0 Mon Sep 17 00:00:00 2001 From: Akio Taniguchi <13254278+astropenguin@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:25:00 +0000 Subject: [PATCH 3/3] #95 Update workflow for testing --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 51fd6a1..f655092 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,10 +5,12 @@ on: branches: - main - deshima2.0 + - v0.3 pull_request: branches: - main - deshima2.0 + - v0.3 jobs: job: @@ -31,6 +33,6 @@ jobs: with: poetry-version: "1.8.3" - run: poetry install - - run: black --check decode docs tests + - run: black --check deshima_sensitivity docs tests - run: pytest -v tests - run: docs/build