Skip to content

Commit

Permalink
Release/0.2.0 (#409)
Browse files Browse the repository at this point in the history
## Purpose

This PR bumps versions to 0.2.0 in preparation for release. It also bumps pace.util to version 0.10.0.

It also adds bumpversion control for every package but util (which is on a different version schedule).
  • Loading branch information
mcgibbon authored Dec 20, 2022
1 parent e1acf15 commit 1df321f
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 22 deletions.
2 changes: 1 addition & 1 deletion driver/pace/driver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
from .state import DriverState, TendencyState


__version__ = "0.1.0"
__version__ = "0.2.0"
2 changes: 1 addition & 1 deletion driver/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
packages=find_namespace_packages(include=["pace.*"]),
include_package_data=True,
url="https://github.com/ai2cm/pace",
version="0.1.0",
version="0.2.0",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion dsl/pace/dsl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"GT_CACHE_DIR_NAME", f".gt_cache_{MPI.COMM_WORLD.Get_rank():06}"
)

__version__ = "0.1.0"
__version__ = "0.2.0"
2 changes: 1 addition & 1 deletion dsl/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
packages=find_namespace_packages(include=["pace.*"]),
include_package_data=True,
url="https://github.com/ai2cm/pace",
version="0.1.0",
version="0.2.0",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion fv3core/pace/fv3core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .stencils.fv_subgridz import DryConvectiveAdjustment


__version__ = "0.1.0"
__version__ = "0.2.0"
2 changes: 1 addition & 1 deletion fv3core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/ai2cm/fv3core",
version="0.1.0",
version="0.2.0",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion physics/pace/physics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from .stencils.physics import Physics


__version__ = "0.1.0"
__version__ = "0.2.0"
2 changes: 1 addition & 1 deletion physics/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/ai2cm/pace",
version="0.1.0",
version="0.2.0",
zip_safe=False,
)
53 changes: 45 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[bumpversion]
current_version = 0.2.0
commit = True

[bdist_wheel]
universal = 1

Expand All @@ -20,18 +24,51 @@ sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party = fv3core,fv3gfs,pace
known_third_party = f90nml,pytest,xarray,numpy,mpi4py,gt4py

# args: [
# --no-strict-optional,
# # --ignore-missing-imports,
# --follow-imports, skip, # needed so we only test enabled files
# --namespace-packages
# ]

[mypy]
ignore_missing_imports = True
follow_imports = normal
namespace_packages = True
strict_optional = False
mypy_path=driver:dsl:fv3core:physics:stencils:util
mypy_path = driver:dsl:fv3core:physics:stencils:util
warn_unreachable = True
explicit_package_bases = True

[bumpversion:file:driver/pace/driver/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:driver/setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:dsl/pace/dsl/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:dsl/setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:fv3core/pace/fv3core/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:fv3core/setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:physics/pace/physics/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:physics/setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:stencils/pace/stencils/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[bumpversion:file:stencils/setup.py]
search = version="{current_version}"
replace = version="{new_version}"
2 changes: 1 addition & 1 deletion stencils/pace/stencils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0"
__version__ = "0.2.0"
2 changes: 1 addition & 1 deletion stencils/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
packages=find_namespace_packages(include=["pace.*"]),
include_package_data=True,
url="https://github.com/ai2cm/pace",
version="0.1.0",
version="0.2.0",
zip_safe=False,
)
3 changes: 2 additions & 1 deletion util/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ History
latest
------


v0.10.0
-------

Major changes:
- Added the following attributes/methods to Communicator: `tile`, `halo_update`, `boundaries`, `start_halo_update`, `vector_halo_update`, `start_vector_halo_update`, `synchronize_vector_interfaces`, `start_synchronize_vector_interfaces`, `get_scalar_halo_updater`, and `get_vector_halo_updater`
Expand Down
2 changes: 1 addition & 1 deletion util/pace/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@
from .units import UnitsError, ensure_equal_units, units_are_equal


__version__ = "0.9.0"
__version__ = "0.10.0"
__all__ = list(key for key in locals().keys() if not key.startswith("_"))
2 changes: 1 addition & 1 deletion util/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.0
current_version = 0.10.0
commit = True

[bdist_wheel]
Expand Down
2 changes: 1 addition & 1 deletion util/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
packages=find_namespace_packages(include=["pace.*"]),
include_package_data=True,
url="https://github.com/ai2cm/pace",
version="0.9.0",
version="0.10.0",
zip_safe=False,
)

0 comments on commit 1df321f

Please sign in to comment.