Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version and update lock file #59

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ repos:
- id: debug-statements
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -60,7 +60,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.7.1
hooks:
- id: mypy
args: [--no-warn-unused-ignores]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,21 @@ We recommend using the provided Docker container.

A pre-build version is available at [docker hub](https://hub.docker.com/repository/docker/ghga/metldata):
```bash
docker pull ghga/metldata:1.0.0
docker pull ghga/metldata:1.1.0
```

Or you can build the container yourself from the [`./Dockerfile`](./Dockerfile):
```bash
# Execute in the repo's root dir:
docker build -t ghga/metldata:1.0.0 .
docker build -t ghga/metldata:1.1.0 .
```

For production-ready deployment, we recommend using Kubernetes, however,
for simple use cases, you could execute the service using docker
on a single server:
```bash
# The entrypoint is preconfigured:
docker run -p 8080:8080 ghga/metldata:1.0.0 --help
docker run -p 8080:8080 ghga/metldata:1.1.0 --help
```

If you prefer not to use containers, you may install the service from source:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "metldata"
version = "1.0.0"
version = "1.1.0"
description = "metldata - A framework for handling metadata based on ETL, CQRS, and event sourcing."
readme = "README.md"
authors = [
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

# additional requirements can be listed here
hexkit[test-mongodb]
pytest-asyncio < 0.23.0
2,135 changes: 1,100 additions & 1,035 deletions requirements-dev.txt

Large diffs are not rendered by default.

1,940 changes: 1,029 additions & 911 deletions requirements.txt

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/metldata/artifacts_rest/artifact_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ def load_artifact_info(


def get_artifact_info_dict(
*, artifact_infos: list[ArtifactInfo]
*,
artifact_infos: list[ArtifactInfo],
) -> dict[str, ArtifactInfo]:
"""Build a dictionary from artifact name to artifact info."""
# check if artifact names are unique:
Expand Down
2 changes: 1 addition & 1 deletion src/metldata/model_utils/anchors.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def lookup_anchor_point(


def invert_anchor_points_by_target(
anchor_points_by_target: dict[str, AnchorPoint]
anchor_points_by_target: dict[str, AnchorPoint],
) -> dict[str, str]:
"""Convert the anchor points by target dict into an class by anchor point dict."""
return {
Expand Down
3 changes: 2 additions & 1 deletion tests/fixtures/transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def _read_all_test_cases_for_a_transformation(


def _read_all_test_cases(
*, transformations_by_name: dict[str, TransformationDefinition]
*,
transformations_by_name: dict[str, TransformationDefinition],
) -> list[TransformationTestCase]:
"""Read all test cases for the specified transformations."""

Expand Down
3 changes: 2 additions & 1 deletion tests/fixtures/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def _read_all_test_cases_for_a_workflow(


def _read_all_test_cases(
*, workflows_by_name: dict[str, WorkflowDefinition]
*,
workflows_by_name: dict[str, WorkflowDefinition],
) -> list[WorkflowTestCase]:
"""Read all test cases for the specified workflows."""

Expand Down