Skip to content

Commit

Permalink
Move slack dependencies to slack extra and rename schedule to ephemeris
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 22, 2024
1 parent 79ec78e commit 34f0906
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install dependencies
run: |
uv sync --no-dev --frozen --extra schedule
uv sync --no-dev --frozen --extra ephemeris slack
- name: Test with pytest
run: |
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Next version

### 💥 Breaking changes

* Moved `lvmopstools.slack` dependencies to `slack` extra.
* Renamed `schedule` extra to `ephemeris`.

### 🚀 New

* Added `Trigger` class.
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ dependencies = [
"aio-pika>=9.5.3",
"pydantic>=2.10.3",
"strenum>=0.4.15",
"aiocache>=0.12.3",
"slack-sdk>=3.34.0",
"aiohttp>=3.11.11",
"jinja2>=3.1.5",
]
Expand All @@ -30,12 +28,16 @@ dependencies = [
ds9 = [ "pyds9>=1.8.1" ]
kubernetes = [ "kubernetes>=31.0.0" ]
influxdb = [ "influxdb-client>=1.47.0" ]
schedule = [
ephemeris = [
"astropy>=6.0.0; python_version<'3.11'",
"astropy>=7.0.0; python_version>='3.11'",
"astroplan>=0.10.1",
"cachetools>=5.5.0"
]
slack = [
"slack-sdk>=3.34.0",
"aiocache>=0.12.3"
]

[project.urls]
Homepage = "https://github.com/sdss/lvmopstools"
Expand Down

0 comments on commit 34f0906

Please sign in to comment.