diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 905fc9767..79bb69943 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,18 +8,18 @@ jobs: fail-fast: false max-parallel: 20 matrix: - os: [ubuntu-latest, macos-14, windows-latest] - python-version: ["3.9", "3.12"] + os: [windows-latest, ubuntu-latest, macos-latest] + python: ["3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python }} - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 7fddce0eb..ec3739dee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ maintainers = [ ] description = "Monty is the missing complement to Python." readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.9,<=3.13" classifiers = [ "Programming Language :: Python :: 3", "Development Status :: 4 - Beta", @@ -20,7 +20,7 @@ classifiers = [ ] dependencies = [ "ruamel.yaml", - "numpy<2.0.0", + "numpy", ] version = "2024.10.21" @@ -43,8 +43,10 @@ json = [ "orjson>=3.6.1", "pandas", "pydantic", - "pint", - "torch", + # https://github.com/hgrecco/pint/issues/2065 + "pint; python_version<'3.13'", + # Note: need torch>=2.3.0 for numpy 2 # 719 + "torch; python_version<'3.13'", # python 3.13 not supported yet ] multiprocessing = ["tqdm"] optional = ["monty[dev,json,multiprocessing,serialization]"]