Skip to content
Snippets Groups Projects
Commit effa98c3 authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

Merge branch 'prepare_v1.0' into 'main'

Prepare v1.0

Closes #123

See merge request !290
parents 1aab0fa3 813ebac5
Branches main
Tags v1.0.0
1 merge request!290Prepare v1.0
Pipeline #279258 passed with stages
in 4 minutes and 55 seconds
# Release notes
## [unpublished]
## [v1.0.0]
### Breaking changes
* submodule `modules` renamed to `components` for consistency (!289)
* argument `modules` renamed to `components` in `Composition` for consistency (!289)
* Components now implement `_next_time` instead of the property `next_time` for consistency (!283)
* All fields of `Composition` are now private (!273)
* `Input.source` is private, `Input.get_source()` becomes property `Input.source`, `Input.set_source` becomes a getter (!273)
* `Output.targets` is private, `Output.get_targets()` becomes property `Output.targets` (!273)
......@@ -49,6 +52,7 @@
### Bug fixes
* cells for structured grids in 3D are now created correctly (no negative Volume in VTK/ESMF) (!286)
* cf_units.py was broken for pint>=0.24 (!282)
### Documentation
......@@ -257,7 +261,8 @@
* initial release of FINAM
[unpublished]: https://git.ufz.de/FINAM/finam/-/compare/v0.5.1...main
[unpublished]: https://git.ufz.de/FINAM/finam/-/compare/v1.0.0...main
[v1.0.0]: https://git.ufz.de/FINAM/finam/-/compare/v0.5.1...v1.0.0
[v0.5.1]: https://git.ufz.de/FINAM/finam/-/compare/v0.5.0...v0.5.1
[v0.5.0]: https://git.ufz.de/FINAM/finam/-/compare/v0.4.0...v0.5.0
[v0.4.0]: https://git.ufz.de/FINAM/finam/-/compare/v0.4.0-rc.2...v0.4.0
......
......@@ -4,7 +4,7 @@ FINAM is an open-source component-based model coupling framework for environment
## Copyright Notice
Copyright © 2023, the FINAM developers from Helmholtz-Zentrum für Umweltforschung GmbH - UFZ. All rights reserved.
Copyright © 2021-2025, the FINAM developers from Helmholtz-Zentrum für Umweltforschung GmbH - UFZ. All rights reserved.
***The code is a property of:***
......
......@@ -19,4 +19,4 @@ This approach allows for coupling of models irrespective of their internal struc
## License
LGPLv3, Copyright © 2021-2023, the FINAM developers from Helmholtz-Zentrum für Umweltforschung GmbH - UFZ. All rights reserved.
LGPLv3, Copyright © 2021-2025, the FINAM developers from Helmholtz-Zentrum für Umweltforschung GmbH - UFZ. All rights reserved.
......@@ -116,4 +116,4 @@ about/index
### License
LGPLv3, Copyright © 2021-2023, the FINAM developers from Helmholtz-Zentrum für Umweltforschung GmbH - UFZ. All rights reserved.
LGPLv3, Copyright © 2021-2025, the FINAM developers from Helmholtz-Zentrum für Umweltforschung GmbH - UFZ. All rights reserved.
......@@ -14,10 +14,11 @@ readme = "README.md"
license = "LGPL-3.0"
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: Unix",
......@@ -29,6 +30,9 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: Utilities",
......@@ -93,7 +97,11 @@ packages = ["src/finam"]
exclude = "_version.py"
target-version = [
"py38",
"py39"
"py39",
"py310",
"py311",
"py312",
# "py313",
]
[tool.isort]
......
......@@ -23,9 +23,11 @@ class TestCfUnits(unittest.TestCase):
self.assertEqual(u("degC"), "°C")
self.assertEqual(u("degree_Celsius"), "°C")
self.assertEqual(u(""), "1")
self.assertEqual(u("1"), "1")
self.assertEqual(u("m/m"), "1")
# "dimensionless" representation inconsistent across different pint versions
# will be "1" for newer versions (>=0.24.1) to be in line with cf-conventions
self.assertTrue(u("") in ("1", "dimensionless", ""))
self.assertTrue(u("1") in ("1", "dimensionless", ""))
self.assertTrue(u("m/m") in ("1", "dimensionless", ""))
self.assertEqual(u("m/s"), "m s-1")
self.assertEqual(u("m s-1"), "m s-1")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment