Skip to content

Commit c44cbe3

Browse files
PokhodenkoSAElena Totmenina
andauthored
Fix DeprecationWarning when use version.parse() [cherry picked from #639] (#642)
* Fix version (#639) (cherry picked from commit 61fb187) * Update CHANGELOG Co-authored-by: Elena Totmenina <elena.totmenina@intel.com>
1 parent f9f850d commit c44cbe3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
### Fixed
1212
* Enable offloading for `numba.njit` in `dpctl.deveice_context` (#630)
1313
* Fix upload conditions for main and release branches (#610)
14+
* Fix DeprecationWarning when use `version.parse()` [cherry picked from #639] (#642)
1415

1516
## [0.17.2] - 2021-11-15
1617

numba_dppy/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DpctlMinimumVersionRequiredError(Exception):
3636

3737
# Versions of dpctl lower than 0.8.0 are not compatible with current main
3838
# of numba_dppy.
39-
if version.parse(dpctl.__version__) < version.parse("0.8.*"):
39+
if version.parse(dpctl.__version__) < version.parse("0.8.0"):
4040
raise DpctlMinimumVersionRequiredError
4141

4242
# For the Numba_dppy extension to work, we should have at least one

0 commit comments

Comments
 (0)