Skip to content

Commit

Permalink
skip musllinux
Browse files Browse the repository at this point in the history
  • Loading branch information
bertaveira committed Apr 27, 2024
1 parent b9b6cea commit a2682db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 36 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ jobs:

- uses: pypa/cibuildwheel@v2.17
env:
CIBW_SKIP: "*musllinux*"
CIBW_ARCHS_MACOS: universal2
CIBW_ARCHS_WINDOWS: auto ARM64
CIBW_BEFORE_ALL_LINUX: apt-get install -y libpcl-dev libeigen3-dev
CIBW_BEFORE_ALL_LINUX: yum install -y pcl-devel eigen3-devel
CIBW_BEFORE_ALL_MACOS: brew install pcl eigen
with:
package-dir: ${{github.workspace}}/python/
Expand Down
40 changes: 5 additions & 35 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,42 +46,12 @@ testpaths = ["tests"]
[tool.cibuildwheel]
test-command = "pytest {project}/tests"
test-extras = ["test"]
test-skip = ["*universal2:arm64"]
build-verbosity = 1
archs = ["auto64"]
skip = ["*-musllinux*", "pp*", "cp36-*"]


[tool.ruff]
src = ["src"]

[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF", # Ruff-specific
"SIM", # flake8-simplify
"T20", # flake8-print
"UP", # pyupgrade
"YTT", # flake8-2020
"EXE", # flake8-executable
"NPY", # NumPy specific rules
"PD", # pandas-vet
]
ignore = [
"PLR09", # Too many X
"PLR2004", # Magic comparison
]
isort.required-imports = ["from __future__ import annotations"]
[tool.cibuildwheel.macos]
environment = "MACOSX_DEPLOYMENT_TARGET=10.14"
archs = ["auto64", "arm64"]

[tool.ruff.lint.per-file-ignores]
"tests/**" = ["T20"]

0 comments on commit a2682db

Please sign in to comment.