Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.22.0] - 2027-MM-DD

This release drops support for Python 3.10, making Python 3.11 the minimum required version.

### Added

* Added support for boolean input in `dpnp.positive` and the `+` operator of `dpnp.ndarray` [#3128](https://github.com/IntelPython/dpnp/pull/3128)
Expand All @@ -30,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed

* Removed the unused `FourZeroOffsets_Indexer`, `FixedDimStridedIndexer` and `ThreeOffsets_FixedDimStridedIndexer` from the libtensor header `utils/offset_utils.hpp` [#3131](https://github.com/IntelPython/dpnp/pull/3131)
* Dropped support for Python 3.10 [#3173](https://github.com/IntelPython/dpnp/pull/3173)

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ find_package(oneDPL REQUIRED PATHS ${path_to_cmake_dir})
include(GNUInstallDirs)

# find Python before enabling pybind11
find_package(Python 3.10...<3.16 REQUIRED COMPONENTS Development.Module NumPy)
find_package(Python 3.11...<3.16 REQUIRED COMPONENTS Development.Module NumPy)

# Fetch pybind11
include(FetchContent)
Expand Down
2 changes: 1 addition & 1 deletion cmake/dpnp-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#

if(NOT Dpnp_FOUND)
find_package(Python 3.10 REQUIRED COMPONENTS Interpreter Development.Module)
find_package(Python 3.11 REQUIRED COMPONENTS Interpreter Development.Module)

if(Python_EXECUTABLE)
execute_process(
Expand Down
2 changes: 0 additions & 2 deletions conda-recipe-cf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ requirements:
- cython >=3.1.0
- numpy >=1.26.0
- versioneer ==0.29
# versioneer dependency
- tomli # [py<311]
- dpctl >={{ required_dpctl_version }}
- mkl-devel-dpcpp >={{ required_compiler_and_mkl_version }}
- onedpl-devel
Expand Down
2 changes: 0 additions & 2 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ requirements:
- {{ dep|replace('_','-') }}
{% endif %}
{% endfor %}
# versioneer dependency
- tomli # [py<311]
# Do not use pyproject.toml for setting dependencies on OneAPI packages
- mkl-devel-dpcpp >={{ required_mkl_version }},<{{ max_compiler_and_mkl_version }}
- onedpl-devel
Expand Down
3 changes: 0 additions & 3 deletions conda-recipe/rattler_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ requirements:
- setuptools>=79.0.1
- wheel>=0.45.1
- versioneer ==0.29
# versioneer dependency
- if: match(python, "<3.11")
then: tomli
# Do not use pyproject.toml for setting dependencies on OneAPI packages
- mkl-devel-dpcpp >=${{ required_mkl_version }},<${{ max_compiler_and_mkl_version }}
- onedpl-devel
Expand Down
2 changes: 1 addition & 1 deletion doc/quick_start_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Follow device driver installation instructions to complete the step.
Python Interpreter
==================

You will need Python 3.10, 3.11, 3.12, 3.13, 3.14 or 3.15 installed on your system.
You will need Python 3.11, 3.12, 3.13, 3.14 or 3.15 installed on your system.
If you do not have one yet the easiest way to do that is to install
`Intel Distribution for Python*`_. It installs all essential Python numerical
and machine learning packages optimized for the Intel hardware, including
Expand Down
2 changes: 1 addition & 1 deletion dpnp/tests/test_fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def test_error(self, xp):
a = xp.ones((4, 3))
if xp == dpnp:
# dpnp and stock NumPy raise TypeError
# Intel NumPy raises SystemError for Python 3.10 and 3.11
# Intel NumPy raises SystemError for Python 3.11
assert_raises(TypeError, xp.fft.fft, a, n=5.0)

# Invalid number of FFT point for incorrect n value
Expand Down
3 changes: 1 addition & 2 deletions dpnp/tests/third_party/cupy/testing/_loops.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
def _format_exception(exc):
if exc is None:
return None
# TODO(kataoka): Use traceback.format_exception(exc) in Python 3.10
return "".join(traceback.TracebackException.from_exception(exc).format())
return "".join(traceback.format_exception(exc))


def _call_func(impl, args, kw):
Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ classifiers = [
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down Expand Up @@ -73,7 +72,7 @@ license-files = ["LICENSE.txt"]
maintainers = [{ name = "Intel Corporation" }]
name = "dpnp"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10,<3.16"
requires-python = ">=3.11,<3.16"

[project.optional-dependencies]
benchmark = ["asv>=0.6", "scipy"]
Expand All @@ -83,8 +82,7 @@ coverage = [
"llvm",
"pytest",
"pytest-cov",
"scipy",
"tomli"
"scipy"
]
docs = [
"Cython",
Expand All @@ -109,7 +107,7 @@ Repository = "https://github.com/IntelPython/dpnp.git"

[tool.black]
line-length = 80
target-version = ['py310', 'py311', 'py312', 'py313', 'py314', 'py315']
target-version = ['py311', 'py312', 'py313', 'py314', 'py315']

[tool.codespell]
builtin = "clear,rare,informal,names"
Expand Down
Loading