Skip to content

Commit d570d53

Browse files
authored
Add httpx to prod dependencies (#33)
* Add httpx to prod dependencies * Clarify constraint
1 parent 3d7e232 commit d570d53

6 files changed

Lines changed: 724 additions & 614 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ repos:
4545
- id: no-commit-to-branch
4646
args: [--branch, dev, --branch, int, --branch, main]
4747
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: v0.14.6
48+
rev: v0.14.9
4949
hooks:
5050
- id: ruff
5151
args: [--fix, --exit-non-zero-on-fix]
5252
- id: ruff-format
5353
- repo: https://github.com/pre-commit/mirrors-mypy
54-
rev: v1.18.2
54+
rev: v1.19.0
5555
hooks:
5656
- id: mypy
5757
args: [--no-warn-unused-ignores]

.pyproject_generation/pyproject_custom.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[project]
22
name = "ns"
3-
version = "6.0.0"
3+
version = "6.0.1"
44
description = "The Notification Service (NS) handles notification kafka events."
55
dependencies = [
66
"typer>=0.19",
77
"ghga-event-schemas~=11.0",
88
"ghga-service-commons>=5.1",
99
"hexkit[akafka,mongodb]>=7.1",
10+
"httpx>=0.28.1, <1",
1011
]
1112

1213
[project.urls]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ We recommend using the provided Docker container.
3333

3434
A pre-built version is available on [Docker Hub](https://hub.docker.com/repository/docker/ghga/notification-service):
3535
```bash
36-
docker pull ghga/notification-service:6.0.0
36+
docker pull ghga/notification-service:6.0.1
3737
```
3838

3939
Or you can build the container yourself from the [`./Dockerfile`](./Dockerfile):
4040
```bash
4141
# Execute in the repo's root dir:
42-
docker build -t ghga/notification-service:6.0.0 .
42+
docker build -t ghga/notification-service:6.0.1 .
4343
```
4444

4545
For production-ready deployment, we recommend using Kubernetes.
4646
However for simple use cases, you could execute the service using docker
4747
on a single server:
4848
```bash
4949
# The entrypoint is pre-configured:
50-
docker run -p 8080:8080 ghga/notification-service:6.0.0 --help
50+
docker run -p 8080:8080 ghga/notification-service:6.0.1 --help
5151
```
5252

5353
If you prefer not to use containers, you may install the service from source:

0 commit comments

Comments
 (0)