Skip to content

Commit

Permalink
Bump the python-packages group across 1 directory with 9 updates (#348)
Browse files Browse the repository at this point in the history
* Bump the python-packages group across 1 directory with 9 updates

Bumps the python-packages group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [h5py](https://github.com/h5py/h5py) | `3.11.0` | `3.12.1` |
| [xmltodict](https://github.com/martinblech/xmltodict) | `0.13.0` | `0.14.2` |
| [ruff](https://github.com/astral-sh/ruff) | `0.4.8` | `0.9.2` |
| [mypy](https://github.com/python/mypy) | `1.10.0` | `1.14.1` |
| [types-requests](https://github.com/python/typeshed) | `2.32.0.20240914` | `2.32.0.20241016` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.2` | `8.3.4` |
| [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `5.0.0` | `6.0.0` |
| [fastapi[all]](https://github.com/fastapi/fastapi) | `0.111.1` | `0.115.6` |
| [pydantic](https://github.com/pydantic/pydantic) | `2.8.2` | `2.10.5` |



Updates `h5py` from 3.11.0 to 3.12.1
- [Release notes](https://github.com/h5py/h5py/releases)
- [Changelog](https://github.com/h5py/h5py/blob/master/docs/release_guide.rst)
- [Commits](h5py/h5py@3.11.0...3.12.1)

Updates `xmltodict` from 0.13.0 to 0.14.2
- [Changelog](https://github.com/martinblech/xmltodict/blob/master/CHANGELOG.md)
- [Commits](martinblech/xmltodict@v0.13.0...v0.14.2)

Updates `ruff` from 0.4.8 to 0.9.2
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.4.8...0.9.2)

Updates `mypy` from 1.10.0 to 1.14.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.10.0...v1.14.1)

Updates `types-requests` from 2.32.0.20240914 to 2.32.0.20241016
- [Commits](https://github.com/python/typeshed/commits)

Updates `pytest` from 8.2.2 to 8.3.4
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.2.2...8.3.4)

Updates `pytest-cov` from 5.0.0 to 6.0.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v5.0.0...v6.0.0)

Updates `fastapi[all]` from 0.111.1 to 0.115.6
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.111.1...0.115.6)

Updates `pydantic` from 2.8.2 to 2.10.5
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.8.2...v2.10.5)

---
updated-dependencies:
- dependency-name: h5py
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: xmltodict
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: types-requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: fastapi[all]
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Formatting and linting commit

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
dependabot[bot] and github-actions authored Jan 21, 2025
1 parent dbe49a6 commit 0a89e20
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ version = "0.0.1"
requires-python = ">= 3.11"
dependencies = [
"pika==1.3.2",
"h5py==3.11.0",
"xmltodict==0.13.0",
"h5py==3.12.1",
"xmltodict==0.14.2",
"requests==2.32.3"
]

Expand All @@ -19,20 +19,20 @@ run-detection = "rundetection.run_detection:main"

[project.optional-dependencies]
formatting = [
"ruff==0.4.8",
"mypy==1.10.0",
"ruff==0.9.2",
"mypy==1.14.1",
"run-detection[test]",
"types-requests==2.32.0.20240914",
"types-requests==2.32.0.20241016",
"types-xmltodict==0.14.0.20241009"
]

test = [
"pytest==8.2.2",
"pytest-cov==5.0.0",
"pytest==8.3.4",
"pytest-cov==6.0.0",
"requests==2.32.3",
"pytest-random-order==1.1.1",
"fastapi[all]==0.111.1",
"pydantic==2.8.2",
"fastapi[all]==0.115.6",
"pydantic==2.10.5",
]

dev = [
Expand Down
2 changes: 1 addition & 1 deletion test/ingestion/test_extracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from rundetection.job_requests import JobRequest


@pytest.fixture()
@pytest.fixture
def job_request():
"""job_request fixture"""
return JobRequest(
Expand Down
2 changes: 1 addition & 1 deletion test/rules/test_common_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from rundetection.rules.common_rules import CheckIfScatterSANS, EnabledRule, SansSliceWavs, is_y_within_5_percent_of_x


@pytest.fixture()
@pytest.fixture
def job_request():
"""
job_request Fixture
Expand Down
6 changes: 3 additions & 3 deletions test/rules/test_iris_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from rundetection.rules.iris_rules import IrisCalibrationRule, IrisReductionRule


@pytest.fixture()
@pytest.fixture
def job_request():
"""
job request fixture
Expand All @@ -28,13 +28,13 @@ def job_request():
)


@pytest.fixture()
@pytest.fixture
def reflection_rule():
"""Analyser rule fixture"""
return IrisCalibrationRule({"002": "105275", "004": "105276"})


@pytest.fixture()
@pytest.fixture
def iris_mode_rule():
"""Reduction mode rule fixture"""
return IrisReductionRule(True)
Expand Down
6 changes: 3 additions & 3 deletions test/rules/test_mari_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _working_directory_fix():
os.chdir(current_working_directory / ".." / "..")


@pytest.fixture()
@pytest.fixture
def job_request():
"""
job request fixture
Expand All @@ -42,7 +42,7 @@ def job_request():
)


@pytest.fixture()
@pytest.fixture
def mari_stitch_rule_true():
"""
stitch rule fixture for true
Expand All @@ -51,7 +51,7 @@ def mari_stitch_rule_true():
return MariStitchRule(value=True)


@pytest.fixture()
@pytest.fixture
def mari_stitch_rule_false():
"""
Stitch rule fixture for false
Expand Down
6 changes: 3 additions & 3 deletions test/rules/test_osiris_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from rundetection.rules.rule import Rule


@pytest.fixture()
@pytest.fixture
def job_request():
"""
job request fixture
Expand All @@ -42,13 +42,13 @@ def job_request():
)


@pytest.fixture()
@pytest.fixture
def reflection_rule():
"""Analyser rule fixture"""
return OsirisReflectionCalibrationRule({"002": "00148587", "004": "00148587"})


@pytest.fixture()
@pytest.fixture
def osiris_mode_rule():
"""Reduction mode rule fixture"""
return OsirisReductionModeRule(True)
Expand Down
2 changes: 1 addition & 1 deletion test/rules/test_tosca_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from rundetection.rules.common_rules import MolSpecStitchRule


@pytest.fixture()
@pytest.fixture
def job_request():
"""job_request fixture"""
return JobRequest(
Expand Down
6 changes: 3 additions & 3 deletions test/test_specifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from rundetection.specifications import InstrumentSpecification


@pytest.fixture()
@pytest.fixture
def job_request():
"""
JobRequest fixture
Expand All @@ -28,7 +28,7 @@ def job_request():
return JobRequest(1, "larmor", "1", "1", Path("/archive/larmor/1/1,nxs"), "start time", "end time", 1, 1, "user")


@pytest.fixture()
@pytest.fixture
@patch("rundetection.specifications.InstrumentSpecification._load_rules_from_api")
def specification(_) -> InstrumentSpecification:
"""
Expand All @@ -46,7 +46,7 @@ def _set_api_key() -> None:
os.environ["FIA_API_API_KEY"] = "shh"


@pytest.fixture()
@pytest.fixture
def _working_directory_fix():
# Set dir to repo root for purposes of the test.
current_working_directory = Path.cwd()
Expand Down

0 comments on commit 0a89e20

Please sign in to comment.