Skip to content

Commit

Permalink
Merge pull request #330 from unum-cloud/302-bug-python-wheel-builds
Browse files Browse the repository at this point in the history
302 bug python wheel builds
  • Loading branch information
ashvardanian authored Apr 15, 2023
2 parents d6b9dd0 + c6eae7f commit 339c674
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
15 changes: 4 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ testpaths = ["python/tests"]
[tool.cibuildwheel]
build-verbosity = 0
before-all = [
"dnf install -y perl-CPAN",
"export PERL_MM_USE_DEFAULT=1",
"cpan -n Pod::Html",
"yum install -y bzip2-devel libffi-devel zlib-devel wget python3-devel perl-IPC-Cmd perl-Test-Simple",
"cd /usr/src && wget https://www.openssl.org/source/openssl-3.1.0.tar.gz",
"tar -zxf openssl-3.1.0.tar.gz && rm openssl-3.1.0.tar.gz && cd /usr/src/openssl-3.1.0",
Expand All @@ -33,15 +30,11 @@ before-build = [
"mkdir -p build/ukv",
]

skip = ["*musllinux*", "*i686*", "pp*", "cp36-*", "cp37-*", "cp38-*"]
skip = ["*musllinux*", "*i686*", "pp*", "cp36-*", "cp311-*"]

test-command = "pytest {project}/python/tests/"
test-requires = ["pandas"]
test-extras = ["test"]
# test-command = "pytest {project}/python/tests/"
# test-requires = ["pandas"]
# test-extras = ["test"]

[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"

archs = ["x86_64", "aarch64"]
repair-wheel-command = "auditwheel repair --lib-sdir . -w {dest_dir} {wheel}"
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def run(self):
'Programming Language :: C++',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',

Expand All @@ -195,5 +197,5 @@ def run(self):
'pyarrow>=10.0.0,<11'
],
extras_require={'test': 'pytest'},
python_requires='>=3.9',
python_requires='>=3.7',
)

0 comments on commit 339c674

Please sign in to comment.