From 81dadda06a331a84ba30b72a3b25eb4280ef1d7e Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Fri, 13 Sep 2024 10:38:15 -0700 Subject: [PATCH] Create 0.4.1 patch release --- .github/workflows/test.yml | 2 +- .github/workflows/wheels.yml | 2 +- CHANGELOG.md | 4 ++++ ml_dtypes/__init__.py | 2 +- pyproject.toml | 5 ++--- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f9038eef..b86a88cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: os: ["ubuntu-latest"] python-version: ["3.9", "3.10", "3.11", "3.12"] include: - - os: macOS-11 + - os: macOS-12 python-version: "3.11" - os: windows-2019 python-version: "3.11" diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 4d96082c..a5034ffa 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, macOS-11, windows-2019] + os: [ubuntu-20.04, macOS-12, windows-2019] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 618fe20b..cf199bd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,10 @@ To release a new version (e.g. from `1.0.0` -> `2.0.0`): ## [Unreleased] +## [0.4.1] - 2024-09-13 + +* Updates build requirements to use NumPy 2.0 release + ## [0.4.0] - 2024-04-1 * Updates `ml_dtypes` for compatibility with future NumPy 2.0 release. diff --git a/ml_dtypes/__init__.py b/ml_dtypes/__init__.py index afacab49..9d6c7db4 100644 --- a/ml_dtypes/__init__.py +++ b/ml_dtypes/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "0.4.0" # Keep in sync with pyproject.toml:version +__version__ = "0.4.1" # Keep in sync with pyproject.toml:version __all__ = [ "__version__", "bfloat16", diff --git a/pyproject.toml b/pyproject.toml index d96d4800..5b704239 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ml_dtypes" -version = "0.4.0" # Keep in sync with ml_dtypes/__init__.py:__version__ +version = "0.4.1" # Keep in sync with ml_dtypes/__init__.py:__version__ description = "" readme = "README.md" requires-python = ">=3.9" @@ -48,8 +48,7 @@ pyink-use-majority-quotes = true [build-system] requires = [ - # TODO(phawkins): update this to 2.0.0 after its release. - "numpy==2.0.0rc1", + "numpy~=2.0", "setuptools~=68.1.0", ] build-backend = "setuptools.build_meta"