diff --git a/.github/workflows/test-lint-go.yml b/.github/workflows/test-lint-go.yml index e862a10..15ae07e 100644 --- a/.github/workflows/test-lint-go.yml +++ b/.github/workflows/test-lint-go.yml @@ -15,6 +15,7 @@ jobs: - '3.10' - '3.11' - '3.12' + - '3.13' name: Run tests on Python ${{ matrix.python-version }} (${{ matrix.os }}) steps: - uses: actions/checkout@v4 diff --git a/.python-version b/.python-version index e4fba21..24ee5b1 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.12 +3.13 diff --git a/mockito/utils.py b/mockito/utils.py index e5a37c7..430326b 100644 --- a/mockito/utils.py +++ b/mockito/utils.py @@ -7,7 +7,8 @@ NEEDS_OS_PATH_HACK = ( - sys.platform == "win32" and (3, 12) <= sys.version_info < (3, 13)) + sys.platform == "win32" and sys.version_info >= (3, 12) +) def contains_strict(seq, element): diff --git a/pyproject.toml b/pyproject.toml index 8cc4b99..ce03be9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ build-backend = "hatchling.build" managed = true dev-dependencies = [ "pytest>=4.6.11", - "numpy>=1.16.6", + "numpy>=2.1.3", "bump2version>=0.5.11", "Sphinx>=5.3.0", "sphinx-autobuild>=2021.3.14", diff --git a/requirements-dev.lock b/requirements-dev.lock index 7f1a3fc..37cd8a9 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -6,6 +6,8 @@ # features: [] # all-features: false # with-sources: false +# generate-hashes: false +# universal: false -e file:. alabaster==0.7.13 @@ -35,7 +37,7 @@ livereload==2.6.3 # via sphinx-autobuild markupsafe==2.1.3 # via jinja2 -numpy==1.26.2 +numpy==2.1.3 packaging==23.2 # via pytest # via sphinx @@ -46,6 +48,8 @@ pygments==2.16.1 pytest==7.4.3 requests==2.31.0 # via sphinx +setuptools==69.1.1 + # via babel six==1.16.0 # via livereload snowballstemmer==2.2.0 @@ -74,5 +78,3 @@ tornado==6.3.3 # via livereload urllib3==2.1.0 # via requests -setuptools==69.1.1 - # via babel diff --git a/requirements.lock b/requirements.lock index 8f23096..505fd45 100644 --- a/requirements.lock +++ b/requirements.lock @@ -6,5 +6,7 @@ # features: [] # all-features: false # with-sources: false +# generate-hashes: false +# universal: false -e file:.