Skip to content

Commit 181c72c

Browse files
committed
Merge branch 'v1.1' into dev
2 parents 865e3c4 + ea8a1fb commit 181c72c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Add support for defining Simvue run defaults using `tool.simvue` in a project `pyproject.toml` file.
66
* Drop support for INI based configuration files.
77
* Retrieve all metric values if `max_points` is unspecified or set to `None`.
8-
8+
* Fixed bug with `requirements.txt` metadata read.
99
## [v1.1.2](https://github.com/simvue-io/client/releases/tag/v1.1.2) - 2024-11-06
1010

1111
* Fix bug in offline mode directory retrieval.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "simvue"
3-
version = "1.1.2"
3+
version = "1.1.3"
44
description = "Simulation tracking and monitoring"
55
authors = ["Simvue Development Team <[email protected]>"]
66
license = "Apache v2"

simvue/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _python_env(repository: pathlib.Path) -> dict[str, typing.Any]:
8282
req_meta: dict[str, str] = {}
8383

8484
if (reqfile := pathlib.Path(repository).joinpath("requirements.txt")).exists():
85-
with reqfile.open("w") as in_req:
85+
with reqfile.open() as in_req:
8686
requirement_lines = in_req.readlines()
8787
req_meta = {}
8888

0 commit comments

Comments
 (0)