Skip to content

Commit fe37121

Browse files
authored
INTPYTHON-555 Fix usage of auditwheel (#287)
1 parent 111ed3a commit fe37121

File tree

4 files changed

+1
-119
lines changed

4 files changed

+1
-119
lines changed

bindings/python/MANIFEST.in

Lines changed: 0 additions & 30 deletions
This file was deleted.

bindings/python/THIRD-PARTY-NOTICES

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,3 @@ The attached notices are provided for information only.
1010

1111
For any licenses that require disclosure of source, sources are available at
1212
https://github.com/mongodb-labs/mongo-arrow/.
13-
14-
15-
1) License Notice for addtags.py
16-
--------------------------------
17-
18-
The addtags.py file was adapted from auditwheel (https://github.com/pypa/auditwheel).
19-
20-
The MIT License
21-
22-
Copyright (c) 2016 Robert T. McGibbon <[email protected]>
23-
24-
Permission is hereby granted, free of charge, to any person obtaining a copy
25-
of this software and associated documentation files (the "Software"), to deal
26-
in the Software without restriction, including without limitation the rights
27-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
28-
copies of the Software, and to permit persons to whom the Software is
29-
furnished to do so, subject to the following conditions:
30-
31-
The above copyright notice and this permission notice shall be included in
32-
all copies or substantial portions of the Software.
33-
34-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
40-
THE SOFTWARE.

bindings/python/addtags.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

bindings/python/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ manylinux-x86_64-image = "manylinux_2_28"
8888
manylinux-aarch64-image = "manylinux_2_28"
8989
repair-wheel-command = [
9090
"pip install \"auditwheel>=6,<7\"",
91-
"python addtags.py {wheel} {dest_dir}"
91+
"auditwheel repair -w {dest_dir} --exclude libarrow* {wheel}"
9292
]
9393

9494
[tool.cibuildwheel.macos]
@@ -142,7 +142,6 @@ exclude = [
142142
]
143143

144144
[tool.ruff.lint.per-file-ignores]
145-
"addtags.py" = ["T201", "PTH"]
146145
"setup.py" = ["PTH", "EM", "B", "S", "E501"]
147146
"docs/source/conf.py" = ["E501", "S", "PTH"]
148147
"benchmarks.py" = ["T201", "E501", "C4"]

0 commit comments

Comments
 (0)