scikit-base 0.10.1__tar.gz → 0.12.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. {scikit_base-0.10.1/scikit_base.egg-info → scikit_base-0.12.0}/PKG-INFO +8 -9
  2. {scikit_base-0.10.1 → scikit_base-0.12.0}/README.md +2 -2
  3. {scikit_base-0.10.1 → scikit_base-0.12.0}/pyproject.toml +7 -8
  4. {scikit_base-0.10.1 → scikit_base-0.12.0/scikit_base.egg-info}/PKG-INFO +8 -9
  5. {scikit_base-0.10.1 → scikit_base-0.12.0}/scikit_base.egg-info/SOURCES.txt +3 -0
  6. {scikit_base-0.10.1 → scikit_base-0.12.0}/scikit_base.egg-info/requires.txt +3 -7
  7. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/__init__.py +1 -1
  8. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/_exceptions.py +2 -3
  9. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_base.py +442 -259
  10. scikit_base-0.12.0/skbase/base/_clone_base.py +129 -0
  11. scikit_base-0.12.0/skbase/base/_clone_plugins.py +215 -0
  12. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/conftest.py +17 -4
  13. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/test_base.py +19 -2
  14. scikit_base-0.12.0/skbase/utils/dependencies/_import.py +28 -0
  15. {scikit_base-0.10.1 → scikit_base-0.12.0}/LICENSE +0 -0
  16. {scikit_base-0.10.1 → scikit_base-0.12.0}/docs/source/conf.py +0 -0
  17. {scikit_base-0.10.1 → scikit_base-0.12.0}/scikit_base.egg-info/dependency_links.txt +0 -0
  18. {scikit_base-0.10.1 → scikit_base-0.12.0}/scikit_base.egg-info/top_level.txt +0 -0
  19. {scikit_base-0.10.1 → scikit_base-0.12.0}/scikit_base.egg-info/zip-safe +0 -0
  20. {scikit_base-0.10.1 → scikit_base-0.12.0}/setup.cfg +0 -0
  21. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/_nopytest_tests.py +0 -0
  22. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/__init__.py +0 -0
  23. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_meta.py +0 -0
  24. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_pretty_printing/__init__.py +0 -0
  25. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_pretty_printing/_object_html_repr.py +0 -0
  26. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_pretty_printing/_pprint.py +0 -0
  27. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_pretty_printing/tests/__init__.py +0 -0
  28. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_pretty_printing/tests/test_pprint.py +0 -0
  29. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/base/_tagmanager.py +0 -0
  30. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/lookup/__init__.py +0 -0
  31. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/lookup/_lookup.py +0 -0
  32. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/lookup/tests/__init__.py +0 -0
  33. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/lookup/tests/test_lookup.py +0 -0
  34. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/testing/__init__.py +0 -0
  35. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/testing/test_all_objects.py +0 -0
  36. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/testing/utils/__init__.py +0 -0
  37. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/testing/utils/_conditional_fixtures.py +0 -0
  38. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/testing/utils/inspect.py +0 -0
  39. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/__init__.py +0 -0
  40. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/mock_package/__init__.py +0 -0
  41. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/mock_package/test_mock_package.py +0 -0
  42. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/test_baseestimator.py +0 -0
  43. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/test_exceptions.py +0 -0
  44. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/tests/test_meta.py +0 -0
  45. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/__init__.py +0 -0
  46. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/_check.py +0 -0
  47. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/_iter.py +0 -0
  48. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/_nested_iter.py +0 -0
  49. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/_utils.py +0 -0
  50. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/deep_equals/__init__.py +0 -0
  51. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/deep_equals/_common.py +0 -0
  52. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/deep_equals/_deep_equals.py +0 -0
  53. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/dependencies/__init__.py +0 -0
  54. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/dependencies/_dependencies.py +0 -0
  55. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/dependencies/tests/__init__.py +0 -0
  56. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/dependencies/tests/test_check_dependencies.py +0 -0
  57. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/random_state.py +0 -0
  58. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/stderr_mute.py +0 -0
  59. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/stdout_mute.py +0 -0
  60. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/__init__.py +0 -0
  61. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/test_check.py +0 -0
  62. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/test_deep_equals.py +0 -0
  63. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/test_iter.py +0 -0
  64. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/test_nested_iter.py +0 -0
  65. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/test_random_state.py +0 -0
  66. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/test_std_mute.py +0 -0
  67. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/utils/tests/test_utils.py +0 -0
  68. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/validate/__init__.py +0 -0
  69. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/validate/_named_objects.py +0 -0
  70. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/validate/_types.py +0 -0
  71. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/validate/tests/__init__.py +0 -0
  72. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/validate/tests/test_iterable_named_objects.py +0 -0
  73. {scikit_base-0.10.1 → scikit_base-0.12.0}/skbase/validate/tests/test_type_validations.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scikit-base
3
- Version: 0.10.1
3
+ Version: 0.12.0
4
4
  Summary: Base classes for sklearn-like parametric objects
5
5
  Author-email: sktime developers <sktime.toolbox@gmail.com>
6
6
  Maintainer: Franz Király
@@ -50,20 +50,19 @@ Classifier: Operating System :: Microsoft :: Windows
50
50
  Classifier: Operating System :: POSIX
51
51
  Classifier: Operating System :: Unix
52
52
  Classifier: Operating System :: MacOS
53
- Classifier: Programming Language :: Python :: 3.8
54
53
  Classifier: Programming Language :: Python :: 3.9
55
54
  Classifier: Programming Language :: Python :: 3.10
56
55
  Classifier: Programming Language :: Python :: 3.11
57
56
  Classifier: Programming Language :: Python :: 3.12
58
57
  Classifier: Programming Language :: Python :: 3.13
59
- Requires-Python: <3.14,>=3.8
58
+ Requires-Python: <3.14,>=3.9
60
59
  Description-Content-Type: text/markdown
61
60
  License-File: LICENSE
62
61
  Provides-Extra: all-extras
63
62
  Requires-Dist: numpy; extra == "all-extras"
64
63
  Requires-Dist: pandas; extra == "all-extras"
65
64
  Provides-Extra: dev
66
- Requires-Dist: scikit-learn>=0.24.0; (python_version < "3.13" or sys_platform != "win32") and extra == "dev"
65
+ Requires-Dist: scikit-learn>=0.24.0; extra == "dev"
67
66
  Requires-Dist: pre-commit; extra == "dev"
68
67
  Requires-Dist: pytest; extra == "dev"
69
68
  Requires-Dist: pytest-cov; extra == "dev"
@@ -90,8 +89,8 @@ Requires-Dist: myst-parser; extra == "docs"
90
89
  Requires-Dist: nbsphinx>=0.8.6; extra == "docs"
91
90
  Requires-Dist: numpydoc; extra == "docs"
92
91
  Requires-Dist: pydata-sphinx-theme; extra == "docs"
93
- Requires-Dist: sphinx-issues<5.0.0; extra == "docs"
94
- Requires-Dist: sphinx-gallery<0.18.0; extra == "docs"
92
+ Requires-Dist: sphinx-issues<6.0.0; extra == "docs"
93
+ Requires-Dist: sphinx-gallery<0.19.0; extra == "docs"
95
94
  Requires-Dist: sphinx-panels; extra == "docs"
96
95
  Requires-Dist: sphinx-design<0.7.0; extra == "docs"
97
96
  Requires-Dist: Sphinx!=7.2.0,<9.0.0; extra == "docs"
@@ -104,7 +103,7 @@ Requires-Dist: safety; extra == "test"
104
103
  Requires-Dist: numpy; extra == "test"
105
104
  Requires-Dist: scipy; extra == "test"
106
105
  Requires-Dist: pandas; extra == "test"
107
- Requires-Dist: scikit-learn>=0.24.0; (python_version < "3.13" or sys_platform != "win32") and extra == "test"
106
+ Requires-Dist: scikit-learn>=0.24.0; extra == "test"
108
107
 
109
108
  <a href="https://skbase.readthedocs.io/en/latest/"><img src="https://github.com/sktime/skbase/blob/main/docs/source/images/skbase-logo-with-name.png" width="175" align="right" /></a>
110
109
 
@@ -115,7 +114,7 @@ Requires-Dist: scikit-learn>=0.24.0; (python_version < "3.13" or sys_platform !=
115
114
  `skbase` provides base classes for creating scikit-learn-like parametric objects,
116
115
  along with tools to make it easier to build your own packages that follow these design patterns.
117
116
 
118
- :rocket: Version 0.10.1 is now available. Check out our
117
+ :rocket: Version 0.12.0 is now available. Check out our
119
118
  [release notes](https://skbase.readthedocs.io/en/latest/changelog.html).
120
119
 
121
120
  | Overview | |
@@ -141,7 +140,7 @@ For trouble shooting or more information, see our
141
140
  [detailed installation instructions](https://skbase.readthedocs.io/en/latest/user_documentation/installation.html).
142
141
 
143
142
  - **Operating system**: macOS X · Linux · Windows 8.1 or higher
144
- - **Python version**: Python 3.8, 3.9, 3.10, 3.11 and 3.12
143
+ - **Python version**: Python 3.9, 3.10, 3.11, 3.12, and 3.13
145
144
  - **Package managers**: [pip]
146
145
 
147
146
  [pip]: https://pip.pypa.io/en/stable/
@@ -7,7 +7,7 @@
7
7
  `skbase` provides base classes for creating scikit-learn-like parametric objects,
8
8
  along with tools to make it easier to build your own packages that follow these design patterns.
9
9
 
10
- :rocket: Version 0.10.1 is now available. Check out our
10
+ :rocket: Version 0.12.0 is now available. Check out our
11
11
  [release notes](https://skbase.readthedocs.io/en/latest/changelog.html).
12
12
 
13
13
  | Overview | |
@@ -33,7 +33,7 @@ For trouble shooting or more information, see our
33
33
  [detailed installation instructions](https://skbase.readthedocs.io/en/latest/user_documentation/installation.html).
34
34
 
35
35
  - **Operating system**: macOS X · Linux · Windows 8.1 or higher
36
- - **Python version**: Python 3.8, 3.9, 3.10, 3.11 and 3.12
36
+ - **Python version**: Python 3.9, 3.10, 3.11, 3.12, and 3.13
37
37
  - **Package managers**: [pip]
38
38
 
39
39
  [pip]: https://pip.pypa.io/en/stable/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scikit-base"
3
- version = "0.10.1"
3
+ version = "0.12.0"
4
4
  description = "Base classes for sklearn-like parametric objects"
5
5
  authors = [
6
6
  {name = "sktime developers", email = "sktime.toolbox@gmail.com"},
@@ -26,24 +26,23 @@ classifiers = [
26
26
  "Operating System :: POSIX",
27
27
  "Operating System :: Unix",
28
28
  "Operating System :: MacOS",
29
- "Programming Language :: Python :: 3.8",
30
29
  "Programming Language :: Python :: 3.9",
31
30
  "Programming Language :: Python :: 3.10",
32
31
  "Programming Language :: Python :: 3.11",
33
32
  "Programming Language :: Python :: 3.12",
34
33
  "Programming Language :: Python :: 3.13",
35
34
  ]
36
- requires-python = ">=3.8,<3.14"
35
+ requires-python = ">=3.9,<3.14"
37
36
  dependencies = []
38
37
 
39
38
  [project.optional-dependencies]
40
39
  all_extras = ["numpy", "pandas"]
41
40
 
42
41
  dev = [
43
- 'scikit-learn>=0.24.0; python_version < "3.13" or sys_platform != "win32"', # todo 0.11.0 - check if windows 3.13 works, if yes, remove markers
42
+ "scikit-learn>=0.24.0",
44
43
  "pre-commit",
45
44
  "pytest",
46
- "pytest-cov"
45
+ "pytest-cov",
47
46
  ]
48
47
 
49
48
  linters = [
@@ -71,8 +70,8 @@ docs = [
71
70
  "nbsphinx>=0.8.6",
72
71
  "numpydoc",
73
72
  "pydata-sphinx-theme",
74
- "sphinx-issues<5.0.0",
75
- "sphinx-gallery<0.18.0",
73
+ "sphinx-issues<6.0.0",
74
+ "sphinx-gallery<0.19.0",
76
75
  "sphinx-panels",
77
76
  "sphinx-design<0.7.0",
78
77
  "Sphinx!=7.2.0,<9.0.0",
@@ -87,7 +86,7 @@ test = [
87
86
  "numpy",
88
87
  "scipy",
89
88
  "pandas",
90
- 'scikit-learn>=0.24.0; python_version < "3.13" or sys_platform != "win32"', # todo 0.11.0 - check if windows 3.13 works, if yes, remove markers
89
+ "scikit-learn>=0.24.0",
91
90
  ]
92
91
 
93
92
  [project.urls]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scikit-base
3
- Version: 0.10.1
3
+ Version: 0.12.0
4
4
  Summary: Base classes for sklearn-like parametric objects
5
5
  Author-email: sktime developers <sktime.toolbox@gmail.com>
6
6
  Maintainer: Franz Király
@@ -50,20 +50,19 @@ Classifier: Operating System :: Microsoft :: Windows
50
50
  Classifier: Operating System :: POSIX
51
51
  Classifier: Operating System :: Unix
52
52
  Classifier: Operating System :: MacOS
53
- Classifier: Programming Language :: Python :: 3.8
54
53
  Classifier: Programming Language :: Python :: 3.9
55
54
  Classifier: Programming Language :: Python :: 3.10
56
55
  Classifier: Programming Language :: Python :: 3.11
57
56
  Classifier: Programming Language :: Python :: 3.12
58
57
  Classifier: Programming Language :: Python :: 3.13
59
- Requires-Python: <3.14,>=3.8
58
+ Requires-Python: <3.14,>=3.9
60
59
  Description-Content-Type: text/markdown
61
60
  License-File: LICENSE
62
61
  Provides-Extra: all-extras
63
62
  Requires-Dist: numpy; extra == "all-extras"
64
63
  Requires-Dist: pandas; extra == "all-extras"
65
64
  Provides-Extra: dev
66
- Requires-Dist: scikit-learn>=0.24.0; (python_version < "3.13" or sys_platform != "win32") and extra == "dev"
65
+ Requires-Dist: scikit-learn>=0.24.0; extra == "dev"
67
66
  Requires-Dist: pre-commit; extra == "dev"
68
67
  Requires-Dist: pytest; extra == "dev"
69
68
  Requires-Dist: pytest-cov; extra == "dev"
@@ -90,8 +89,8 @@ Requires-Dist: myst-parser; extra == "docs"
90
89
  Requires-Dist: nbsphinx>=0.8.6; extra == "docs"
91
90
  Requires-Dist: numpydoc; extra == "docs"
92
91
  Requires-Dist: pydata-sphinx-theme; extra == "docs"
93
- Requires-Dist: sphinx-issues<5.0.0; extra == "docs"
94
- Requires-Dist: sphinx-gallery<0.18.0; extra == "docs"
92
+ Requires-Dist: sphinx-issues<6.0.0; extra == "docs"
93
+ Requires-Dist: sphinx-gallery<0.19.0; extra == "docs"
95
94
  Requires-Dist: sphinx-panels; extra == "docs"
96
95
  Requires-Dist: sphinx-design<0.7.0; extra == "docs"
97
96
  Requires-Dist: Sphinx!=7.2.0,<9.0.0; extra == "docs"
@@ -104,7 +103,7 @@ Requires-Dist: safety; extra == "test"
104
103
  Requires-Dist: numpy; extra == "test"
105
104
  Requires-Dist: scipy; extra == "test"
106
105
  Requires-Dist: pandas; extra == "test"
107
- Requires-Dist: scikit-learn>=0.24.0; (python_version < "3.13" or sys_platform != "win32") and extra == "test"
106
+ Requires-Dist: scikit-learn>=0.24.0; extra == "test"
108
107
 
109
108
  <a href="https://skbase.readthedocs.io/en/latest/"><img src="https://github.com/sktime/skbase/blob/main/docs/source/images/skbase-logo-with-name.png" width="175" align="right" /></a>
110
109
 
@@ -115,7 +114,7 @@ Requires-Dist: scikit-learn>=0.24.0; (python_version < "3.13" or sys_platform !=
115
114
  `skbase` provides base classes for creating scikit-learn-like parametric objects,
116
115
  along with tools to make it easier to build your own packages that follow these design patterns.
117
116
 
118
- :rocket: Version 0.10.1 is now available. Check out our
117
+ :rocket: Version 0.12.0 is now available. Check out our
119
118
  [release notes](https://skbase.readthedocs.io/en/latest/changelog.html).
120
119
 
121
120
  | Overview | |
@@ -141,7 +140,7 @@ For trouble shooting or more information, see our
141
140
  [detailed installation instructions](https://skbase.readthedocs.io/en/latest/user_documentation/installation.html).
142
141
 
143
142
  - **Operating system**: macOS X · Linux · Windows 8.1 or higher
144
- - **Python version**: Python 3.8, 3.9, 3.10, 3.11 and 3.12
143
+ - **Python version**: Python 3.9, 3.10, 3.11, 3.12, and 3.13
145
144
  - **Package managers**: [pip]
146
145
 
147
146
  [pip]: https://pip.pypa.io/en/stable/
@@ -14,6 +14,8 @@ skbase/_exceptions.py
14
14
  skbase/_nopytest_tests.py
15
15
  skbase/base/__init__.py
16
16
  skbase/base/_base.py
17
+ skbase/base/_clone_base.py
18
+ skbase/base/_clone_plugins.py
17
19
  skbase/base/_meta.py
18
20
  skbase/base/_tagmanager.py
19
21
  skbase/base/_pretty_printing/__init__.py
@@ -51,6 +53,7 @@ skbase/utils/deep_equals/_common.py
51
53
  skbase/utils/deep_equals/_deep_equals.py
52
54
  skbase/utils/dependencies/__init__.py
53
55
  skbase/utils/dependencies/_dependencies.py
56
+ skbase/utils/dependencies/_import.py
54
57
  skbase/utils/dependencies/tests/__init__.py
55
58
  skbase/utils/dependencies/tests/test_check_dependencies.py
56
59
  skbase/utils/tests/__init__.py
@@ -7,21 +7,19 @@ pandas
7
7
  jupyter
8
8
 
9
9
  [dev]
10
+ scikit-learn>=0.24.0
10
11
  pre-commit
11
12
  pytest
12
13
  pytest-cov
13
14
 
14
- [dev:python_version < "3.13" or sys_platform != "win32"]
15
- scikit-learn>=0.24.0
16
-
17
15
  [docs]
18
16
  jupyter
19
17
  myst-parser
20
18
  nbsphinx>=0.8.6
21
19
  numpydoc
22
20
  pydata-sphinx-theme
23
- sphinx-issues<5.0.0
24
- sphinx-gallery<0.18.0
21
+ sphinx-issues<6.0.0
22
+ sphinx-gallery<0.19.0
25
23
  sphinx-panels
26
24
  sphinx-design<0.7.0
27
25
  Sphinx!=7.2.0,<9.0.0
@@ -51,6 +49,4 @@ safety
51
49
  numpy
52
50
  scipy
53
51
  pandas
54
-
55
- [test:python_version < "3.13" or sys_platform != "win32"]
56
52
  scikit-learn>=0.24.0
@@ -6,4 +6,4 @@
6
6
  The included functionality makes it easy to reuse scikit-learn and
7
7
  sktime design principles in your project.
8
8
  """
9
- __version__: str = "0.10.1"
9
+ __version__: str = "0.12.0"
@@ -21,11 +21,10 @@ class FixtureGenerationError(Exception):
21
21
  class NotFittedError(ValueError, AttributeError):
22
22
  """Exception class to raise if estimator is used before fitting.
23
23
 
24
- This class inherits from both ValueError and AttributeError to help with
24
+ This class inherits from both ``ValueError`` and ``AttributeError`` to help with
25
25
  exception handling.
26
26
 
27
27
  References
28
28
  ----------
29
- [1] scikit-learn's NotFittedError
30
- [2] sktime's NotFittedError
29
+ .. [1] Based on scikit-learn's NotFittedError
31
30
  """