Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ python3 -m pip install olefile
python3 -m pip install -U pytest
python3 -m pip install -U pytest-cov
python3 -m pip install -U pytest-timeout
python3 -m pip install pyroma
# optional test dependencies, only install if there's a binary package.
python3 -m pip install --only-binary=:all: numpy || true
python3 -m pip install --only-binary=:all: pyarrow || true
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/macos-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ python3 -m pip install olefile
python3 -m pip install -U pytest
python3 -m pip install -U pytest-cov
python3 -m pip install -U pytest-timeout
python3 -m pip install pyroma
# optional test dependencies, only install if there's a binary package.
python3 -m pip install --only-binary=:all: numpy || true
python3 -m pip install --only-binary=:all: pyarrow || true
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ repos:
hooks:
- id: tox-ini-fmt

- repo: https://github.com/regebro/pyroma
rev: 5.0.1
hooks:
- id: pyroma
additional_dependencies: [check-manifest]
stages: [manual]

- repo: meta
hooks:
- id: check-hooks-apply
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ release-test:
python3 -m pytest Tests
python3 -m pip install .
python3 -m pytest -qq
python3 -m check_manifest
python3 -m pyroma .
$(MAKE) readme

.PHONY: sdist
Expand Down
1 change: 1 addition & 0 deletions Tests/test_image_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ class TestEmbeddable:
@pytest.mark.xfail(not (sys.version_info >= (3, 13)), reason="failing test")
@pytest.mark.skipif(not is_win32(), reason="requires Windows")
def test_embeddable(self) -> None:
pytest.importorskip("setuptools", reason="setuptools not installed")
import ctypes

from setuptools.command import build_ext
Expand Down
55 changes: 0 additions & 55 deletions Tests/test_pyroma.py

This file was deleted.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,16 @@ optional-dependencies.test-arrow = [
"pyarrow",
]
optional-dependencies.tests = [
"check-manifest",
"coverage>=7.4.2",
"defusedxml",
"markdown2",
"olefile",
"packaging",
"pyroma>=5",
"pytest",
"pytest-cov",
"pytest-timeout",
"pytest-xdist",
"setuptools",
"trove-classifiers>=2024.10.12",
]
optional-dependencies.xmp = [
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pass_env =
PREK_COLOR
commands =
prek run --all-files --show-diff-on-failure
check-manifest
prek run --all-files --show-diff-on-failure pyroma

[testenv:mypy]
skip_install = true
Expand Down
Loading