uarray 0.9.2__tar.gz → 0.9.4__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.
- {uarray-0.9.2 → uarray-0.9.4}/.github/workflows/build.yaml +38 -38
- {uarray-0.9.2 → uarray-0.9.4}/.gitignore +3 -1
- {uarray-0.9.2/src/uarray.egg-info → uarray-0.9.4}/PKG-INFO +12 -42
- uarray-0.9.4/meson.build +48 -0
- uarray-0.9.4/pixi.lock +958 -0
- {uarray-0.9.2 → uarray-0.9.4}/pyproject.toml +51 -29
- {uarray-0.9.2 → uarray-0.9.4}/src/CMakeLists.txt +0 -2
- {uarray-0.9.2 → uarray-0.9.4}/src/_uarray_dispatch.cxx +19 -24
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/__init__.py +3 -2
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/_uarray.pyi +1 -4
- uarray-0.9.4/src/uarray/_version.py +1 -0
- uarray-0.9.4/src/uarray/_version.pyi +2 -0
- uarray-0.9.4/src/uarray/meson.build +36 -0
- uarray-0.9.4/src/uarray/tests/meson.build +8 -0
- uarray-0.9.4/tools/gitversion.py +31 -0
- uarray-0.9.2/PKG-INFO +0 -88
- uarray-0.9.2/pixi.lock +0 -867
- uarray-0.9.2/setup.cfg +0 -4
- uarray-0.9.2/setup.py +0 -3
- uarray-0.9.2/src/uarray/_version.py +0 -16
- uarray-0.9.2/src/uarray.egg-info/SOURCES.txt +0 -71
- uarray-0.9.2/src/uarray.egg-info/dependency_links.txt +0 -1
- uarray-0.9.2/src/uarray.egg-info/requires.txt +0 -17
- uarray-0.9.2/src/uarray.egg-info/top_level.txt +0 -1
- uarray-0.9.2/src/vectorcall.cxx +0 -235
- uarray-0.9.2/src/vectorcall.h +0 -51
- {uarray-0.9.2 → uarray-0.9.4}/.clang-format +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/.gitattributes +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/.github/dependabot.yml +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/CODE_OF_CONDUCT.md +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/CONTRIBUTING.md +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/LICENSE +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/README.md +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/_templates/autosummary/base.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/_templates/autosummary/class.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/_templates/autosummary/module.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/conf.py +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/enduser_docs.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.BackendNotImplementedError.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.Dispatchable.__init__.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.Dispatchable.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.all_of_type.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.clear_backends.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.create_multimethod.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.generate_multimethod.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.get_state.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.mark_as.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.register_backend.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.reset_state.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.set_backend.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.set_global_backend.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.set_state.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.skip_backend.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/generated/uarray.wrap_single_convertor.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/glossary.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/gsoc/2020/ideas.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/index.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/libauthor_docs.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/logo.png +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/docs/multimethod_docs.rst +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/notebooks/01_user_facing.ipynb +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/notebooks/02_basic_dev_tutorial.ipynb +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/notebooks/fruit-puzzle.jpg +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/readthedocs.yml +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/requirements/all.txt +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/requirements/docs.txt +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/requirements/optional.txt +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/requirements/tests.txt +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/requirements.txt +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/small_dynamic_array.h +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/.coveragerc +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/_backend.py +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/_typing.pyi +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/conftest.py +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/py.typed +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/pytest.ini +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/tests/__init__.py +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/tests/example_helpers.py +0 -0
- {uarray-0.9.2 → uarray-0.9.4}/src/uarray/tests/test_uarray.py +0 -0
|
@@ -16,20 +16,36 @@ on:
|
|
|
16
16
|
|
|
17
17
|
jobs:
|
|
18
18
|
build_wheels:
|
|
19
|
-
name:
|
|
19
|
+
name: Wheels ${{ matrix.os }} ${{ matrix.archs }}
|
|
20
20
|
runs-on: ${{ matrix.os }}
|
|
21
21
|
strategy:
|
|
22
22
|
matrix:
|
|
23
|
-
os: [ubuntu-latest, windows-latest
|
|
23
|
+
os: [ubuntu-latest, windows-latest]
|
|
24
|
+
archs: [auto32, auto64]
|
|
25
|
+
include:
|
|
26
|
+
- os: macos-latest
|
|
27
|
+
archs: x86_64
|
|
28
|
+
- os: macos-latest
|
|
29
|
+
archs: arm64
|
|
30
|
+
fail-fast: false
|
|
24
31
|
|
|
25
32
|
steps:
|
|
26
|
-
- uses: actions/checkout@
|
|
33
|
+
- uses: actions/checkout@v6
|
|
27
34
|
with:
|
|
28
35
|
fetch-depth: 0
|
|
29
|
-
|
|
36
|
+
- name: Setup MSVC (win32)
|
|
37
|
+
if: ${{ matrix.os == 'windows-latest' && matrix.archs == 'auto32' }}
|
|
38
|
+
uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
|
|
39
|
+
with:
|
|
40
|
+
architecture: 'x86'
|
|
41
|
+
- name: Remove unwanted linker (win32)
|
|
42
|
+
if: ${{ matrix.os == 'windows-latest' && matrix.archs == 'auto32' }}
|
|
43
|
+
run: rm "c:\Program Files\Git\usr\bin\link.exe"
|
|
30
44
|
- name: Build wheels
|
|
31
|
-
uses: pypa/cibuildwheel@
|
|
32
|
-
|
|
45
|
+
uses: pypa/cibuildwheel@v4.0.0
|
|
46
|
+
env:
|
|
47
|
+
CIBW_ARCHS: ${{ matrix.archs }}
|
|
48
|
+
- uses: actions/upload-artifact@v7
|
|
33
49
|
with:
|
|
34
50
|
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
|
|
35
51
|
path: ./wheelhouse/*.whl
|
|
@@ -38,18 +54,18 @@ jobs:
|
|
|
38
54
|
name: Make SDist
|
|
39
55
|
runs-on: ubuntu-latest
|
|
40
56
|
steps:
|
|
41
|
-
- uses: actions/checkout@
|
|
57
|
+
- uses: actions/checkout@v6
|
|
42
58
|
with:
|
|
43
59
|
fetch-depth: 0
|
|
44
60
|
|
|
45
61
|
- name: Build SDist
|
|
46
62
|
run: pipx run build --sdist
|
|
47
63
|
|
|
48
|
-
- uses: actions/upload-artifact@
|
|
64
|
+
- uses: actions/upload-artifact@v7
|
|
49
65
|
with:
|
|
50
66
|
name: cibw-sdist
|
|
51
67
|
path: dist/*.tar.gz
|
|
52
|
-
|
|
68
|
+
|
|
53
69
|
upload_all:
|
|
54
70
|
needs: [build_wheels, make_sdist]
|
|
55
71
|
permissions:
|
|
@@ -57,7 +73,7 @@ jobs:
|
|
|
57
73
|
runs-on: ubuntu-latest
|
|
58
74
|
if: github.ref_type == 'tag'
|
|
59
75
|
steps:
|
|
60
|
-
- uses: actions/download-artifact@
|
|
76
|
+
- uses: actions/download-artifact@v8
|
|
61
77
|
with:
|
|
62
78
|
pattern: cibw-*
|
|
63
79
|
path: dist
|
|
@@ -69,13 +85,13 @@ jobs:
|
|
|
69
85
|
name: Documentation, Linting and Coverage
|
|
70
86
|
runs-on: ubuntu-latest
|
|
71
87
|
steps:
|
|
72
|
-
- uses: actions/checkout@
|
|
88
|
+
- uses: actions/checkout@v6
|
|
73
89
|
with:
|
|
74
90
|
fetch-depth: 0
|
|
75
|
-
- uses: actions/setup-python@
|
|
91
|
+
- uses: actions/setup-python@v6
|
|
76
92
|
with:
|
|
77
93
|
# Update according to NEP-29
|
|
78
|
-
python-version: '3.
|
|
94
|
+
python-version: '3.11'
|
|
79
95
|
cache: 'pip'
|
|
80
96
|
- name: Install package
|
|
81
97
|
run: |
|
|
@@ -84,7 +100,7 @@ jobs:
|
|
|
84
100
|
run: |
|
|
85
101
|
sphinx-build -W -b html docs/ _build/html
|
|
86
102
|
- name: Upload documentation
|
|
87
|
-
uses: actions/upload-artifact@
|
|
103
|
+
uses: actions/upload-artifact@v7
|
|
88
104
|
with:
|
|
89
105
|
name: Documentation
|
|
90
106
|
path: _build/html
|
|
@@ -95,50 +111,34 @@ jobs:
|
|
|
95
111
|
run: |
|
|
96
112
|
mypy src/uarray
|
|
97
113
|
- name: Run clang-format style check for C/C++ code.
|
|
98
|
-
uses: jidicula/clang-format-action@v4.
|
|
114
|
+
uses: jidicula/clang-format-action@v4.18.0
|
|
99
115
|
with:
|
|
100
116
|
clang-format-version: '19'
|
|
101
117
|
check-path: 'src'
|
|
102
118
|
- name: Upload coverage to Codecov
|
|
103
|
-
uses: codecov/codecov-action@
|
|
119
|
+
uses: codecov/codecov-action@v7
|
|
104
120
|
with:
|
|
105
121
|
directory: 'coverage/coverage*.xml'
|
|
106
122
|
env_vars: OS,PYTHON
|
|
107
123
|
fail_ci_if_error: false
|
|
108
124
|
verbose: true
|
|
109
125
|
|
|
110
|
-
pypy3:
|
|
111
|
-
name: Tests for PyPy3
|
|
112
|
-
runs-on: ubuntu-latest
|
|
113
|
-
steps:
|
|
114
|
-
- uses: actions/checkout@v4
|
|
115
|
-
with:
|
|
116
|
-
fetch-depth: 0
|
|
117
|
-
- uses: actions/setup-python@v5
|
|
118
|
-
with:
|
|
119
|
-
python-version: 'pypy-3.10'
|
|
120
|
-
cache: 'pip'
|
|
121
|
-
- name: Install package
|
|
122
|
-
run: |
|
|
123
|
-
pip install -v .[tests]
|
|
124
|
-
- name: Run tests
|
|
125
|
-
run: |
|
|
126
|
-
pytest --pyargs uarray
|
|
127
|
-
|
|
128
126
|
scipy_fft:
|
|
129
127
|
name: Run SciPy FFT tests
|
|
130
128
|
runs-on: ubuntu-latest
|
|
131
129
|
steps:
|
|
132
|
-
- uses: actions/checkout@
|
|
133
|
-
|
|
130
|
+
- uses: actions/checkout@v6
|
|
131
|
+
with:
|
|
132
|
+
fetch-depth: 0
|
|
133
|
+
- uses: actions/setup-python@v6
|
|
134
134
|
with:
|
|
135
135
|
# Update according to NEP-29
|
|
136
|
-
python-version: '3.
|
|
136
|
+
python-version: '3.11'
|
|
137
137
|
cache: 'pip'
|
|
138
138
|
- name: Install package
|
|
139
139
|
run: |
|
|
140
140
|
pip install -v .[tests] pytest"<7"
|
|
141
|
-
pip install scipy==1.
|
|
141
|
+
pip install scipy==1.9.3
|
|
142
142
|
- name: SciPy tests
|
|
143
143
|
run: |
|
|
144
144
|
import scipy.fft
|
|
@@ -1,59 +1,28 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: uarray
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.4
|
|
4
4
|
Summary: Array interface object for Python with pluggable backends and a multiple-dispatch mechanism for defining down-stream functions
|
|
5
|
-
Maintainer-email: Hameer Abbasi <habbasi@quansight.com>
|
|
6
|
-
License: BSD 3-Clause License
|
|
7
|
-
|
|
8
|
-
Copyright (c) 2018, Quansight-Labs
|
|
9
|
-
All rights reserved.
|
|
10
|
-
|
|
11
|
-
Redistribution and use in source and binary forms, with or without
|
|
12
|
-
modification, are permitted provided that the following conditions are met:
|
|
13
|
-
|
|
14
|
-
* Redistributions of source code must retain the above copyright notice, this
|
|
15
|
-
list of conditions and the following disclaimer.
|
|
16
|
-
|
|
17
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
|
18
|
-
this list of conditions and the following disclaimer in the documentation
|
|
19
|
-
and/or other materials provided with the distribution.
|
|
20
|
-
|
|
21
|
-
* Neither the name of the copyright holder nor the names of its
|
|
22
|
-
contributors may be used to endorse or promote products derived from
|
|
23
|
-
this software without specific prior written permission.
|
|
24
|
-
|
|
25
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
26
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
28
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
29
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
30
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
31
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
32
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
33
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
34
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35
|
-
|
|
36
|
-
Project-URL: Documentation, https://uarray.org/
|
|
37
|
-
Project-URL: Source, https://github.com/Quansight-Labs/uarray/
|
|
38
|
-
Project-URL: Repository, https://github.com/Quansight-Labs/uarray.git
|
|
39
|
-
Project-URL: Issue Tracker, https://github.com/Quansight-Labs/uarray/issues
|
|
40
5
|
Keywords: uarray,scipy,multiple-dispatch
|
|
6
|
+
Maintainer-Email: Hameer Abbasi <habbasi@openteams.com>
|
|
7
|
+
License-Expression: BSD-3-Clause
|
|
8
|
+
License-File: LICENSE
|
|
41
9
|
Classifier: Development Status :: 2 - Pre-Alpha
|
|
42
10
|
Classifier: Operating System :: OS Independent
|
|
43
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
44
11
|
Classifier: Programming Language :: Python
|
|
45
12
|
Classifier: Programming Language :: Python :: 3
|
|
46
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
47
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
48
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
49
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
50
17
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
51
18
|
Classifier: Intended Audience :: Developers
|
|
52
19
|
Classifier: Intended Audience :: Science/Research
|
|
53
20
|
Classifier: Typing :: Typed
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
21
|
+
Project-URL: Documentation, https://uarray.org/
|
|
22
|
+
Project-URL: Source, https://github.com/Quansight-Labs/uarray/
|
|
23
|
+
Project-URL: Repository, https://github.com/Quansight-Labs/uarray.git
|
|
24
|
+
Project-URL: Issue Tracker, https://github.com/Quansight-Labs/uarray/issues
|
|
25
|
+
Requires-Python: >=3.11
|
|
57
26
|
Provides-Extra: docs
|
|
58
27
|
Requires-Dist: sphinx; extra == "docs"
|
|
59
28
|
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
@@ -67,6 +36,7 @@ Provides-Extra: all
|
|
|
67
36
|
Requires-Dist: uarray[docs]; extra == "all"
|
|
68
37
|
Requires-Dist: uarray[tests]; extra == "all"
|
|
69
38
|
Requires-Dist: uarray[optional]; extra == "all"
|
|
39
|
+
Description-Content-Type: text/markdown
|
|
70
40
|
|
|
71
41
|
# `uarray` - A back-end mechanism geared towards array computing
|
|
72
42
|
|
uarray-0.9.4/meson.build
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
project(
|
|
2
|
+
'uarray',
|
|
3
|
+
'cpp',
|
|
4
|
+
version: run_command(['tools/gitversion.py'], check: true).stdout().strip(),
|
|
5
|
+
license: 'BSD-3-Clause',
|
|
6
|
+
license_files: ['LICENSE'],
|
|
7
|
+
default_options: 'cpp_std=c++17',
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
fs = import('fs')
|
|
11
|
+
py = import('python').find_installation(pure: false)
|
|
12
|
+
|
|
13
|
+
# Sources variable definitions #
|
|
14
|
+
|
|
15
|
+
# NOTE: downstream projects may rely on these variable names when vendoring,
|
|
16
|
+
# do not change them without consulting with downstream projects
|
|
17
|
+
python_sources = {
|
|
18
|
+
'uarray': files(
|
|
19
|
+
'src/uarray/__init__.py',
|
|
20
|
+
'src/uarray/_backend.py',
|
|
21
|
+
'src/uarray/_typing.pyi',
|
|
22
|
+
'src/uarray/_typing.pyi',
|
|
23
|
+
'src/uarray/_version.pyi',
|
|
24
|
+
)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if fs.exists('src/uarray/_version.py')
|
|
28
|
+
python_sources = python_sources + {
|
|
29
|
+
'uarray': python_sources['uarray'] + files('src/uarray/_version.py')
|
|
30
|
+
}
|
|
31
|
+
endif
|
|
32
|
+
|
|
33
|
+
cpp_sources = files('src/_uarray_dispatch.cxx')
|
|
34
|
+
include_dirs = include_directories('src')
|
|
35
|
+
|
|
36
|
+
# Installation
|
|
37
|
+
|
|
38
|
+
if not meson.is_subproject()
|
|
39
|
+
py.extension_module('_uarray',
|
|
40
|
+
cpp_sources,
|
|
41
|
+
cpp_args: meson.get_compiler('cpp').get_supported_arguments('-Wno-terminate'),
|
|
42
|
+
include_directories: include_dirs,
|
|
43
|
+
install: true,
|
|
44
|
+
subdir: 'uarray',
|
|
45
|
+
)
|
|
46
|
+
endif
|
|
47
|
+
|
|
48
|
+
subdir('src/uarray')
|