From 68dd53638ad287d26ce9239d657f3bcf57c937a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sun, 22 Dec 2024 14:56:33 -0800 Subject: [PATCH] Updated management of dev dependencies --- CHANGELOG.md | 4 ++++ pyproject.toml | 5 ++--- uv.lock | 34 ++++++++++++++++++---------------- 3 files changed, 24 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b3a636..81966dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ * Added a more general `send_email` function. * Allow passing subject and other parameters to `send_critical_error_email`. +### ⚙️ Engineering + +* Updated management of dev dependencies. + ## 0.5.0 - December 21, 2024 diff --git a/pyproject.toml b/pyproject.toml index f53848f..5ff3632 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,9 +47,8 @@ Documentation = "https://lvmopstools.readthedocs.org" [project.scripts] lvmopstools = "lvmopstools.__main__:lvmopstools" -[tool.uv] -package = true -dev-dependencies = [ +[dependency-groups] +dev = [ "ipython>=8.0.0", "doc8>=0.8.0", "pytest>=5.2.2", diff --git a/uv.lock b/uv.lock index 33cd53d..1365391 100644 --- a/uv.lock +++ b/uv.lock @@ -954,7 +954,6 @@ version = "0.5.1a0" source = { editable = "." } dependencies = [ { name = "aio-pika" }, - { name = "aiocache" }, { name = "aiohttp" }, { name = "asyncudp" }, { name = "httpx" }, @@ -964,7 +963,6 @@ dependencies = [ { name = "sdss-clu" }, { name = "sdss-drift" }, { name = "sdsstools" }, - { name = "slack-sdk" }, { name = "strenum" }, { name = "typing-extensions" }, ] @@ -973,17 +971,21 @@ dependencies = [ ds9 = [ { name = "pyds9" }, ] +ephemeris = [ + { name = "astroplan" }, + { name = "astropy", version = "6.1.7", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "astropy", version = "7.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "cachetools" }, +] influxdb = [ { name = "influxdb-client" }, ] kubernetes = [ { name = "kubernetes" }, ] -schedule = [ - { name = "astroplan" }, - { name = "astropy", version = "6.1.7", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "astropy", version = "7.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, - { name = "cachetools" }, +slack = [ + { name = "aiocache" }, + { name = "slack-sdk" }, ] [package.dev-dependencies] @@ -1015,13 +1017,13 @@ dev = [ [package.metadata] requires-dist = [ { name = "aio-pika", specifier = ">=9.5.3" }, - { name = "aiocache", specifier = ">=0.12.3" }, + { name = "aiocache", marker = "extra == 'slack'", specifier = ">=0.12.3" }, { name = "aiohttp", specifier = ">=3.11.11" }, - { name = "astroplan", marker = "extra == 'schedule'", specifier = ">=0.10.1" }, - { name = "astropy", marker = "python_full_version >= '3.11' and extra == 'schedule'", specifier = ">=7.0.0" }, - { name = "astropy", marker = "python_full_version < '3.11' and extra == 'schedule'", specifier = ">=6.0.0" }, + { name = "astroplan", marker = "extra == 'ephemeris'", specifier = ">=0.10.1" }, + { name = "astropy", marker = "python_full_version >= '3.11' and extra == 'ephemeris'", specifier = ">=7.0.0" }, + { name = "astropy", marker = "python_full_version < '3.11' and extra == 'ephemeris'", specifier = ">=6.0.0" }, { name = "asyncudp", specifier = ">=0.11.0" }, - { name = "cachetools", marker = "extra == 'schedule'", specifier = ">=5.5.0" }, + { name = "cachetools", marker = "extra == 'ephemeris'", specifier = ">=5.5.0" }, { name = "httpx", specifier = ">=0.27.2" }, { name = "influxdb-client", marker = "extra == 'influxdb'", specifier = ">=1.47.0" }, { name = "jinja2", specifier = ">=3.1.5" }, @@ -1032,7 +1034,7 @@ requires-dist = [ { name = "sdss-clu", specifier = ">=2.2.7" }, { name = "sdss-drift", specifier = ">=1.2.0" }, { name = "sdsstools", specifier = ">=1.8.2" }, - { name = "slack-sdk", specifier = ">=3.34.0" }, + { name = "slack-sdk", marker = "extra == 'slack'", specifier = ">=3.34.0" }, { name = "strenum", specifier = ">=0.4.15" }, { name = "typing-extensions", specifier = ">=4.12.2" }, ] @@ -2547,11 +2549,11 @@ wheels = [ [[package]] name = "urllib3" -version = "2.2.3" +version = "2.3.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ed/63/22ba4ebfe7430b76388e7cd448d5478814d3032121827c12a2cc287e2260/urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9", size = 300677 } +sdist = { url = "https://files.pythonhosted.org/packages/aa/63/e53da845320b757bf29ef6a9062f5c669fe997973f966045cb019c3f4b66/urllib3-2.3.0.tar.gz", hash = "sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d", size = 307268 } wheels = [ - { url = "https://files.pythonhosted.org/packages/ce/d9/5f4c13cecde62396b0d3fe530a50ccea91e7dfc1ccf0e09c228841bb5ba8/urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac", size = 126338 }, + { url = "https://files.pythonhosted.org/packages/c8/19/4ec628951a74043532ca2cf5d97b7b14863931476d117c471e8e2b1eb39f/urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df", size = 128369 }, ] [[package]]