diff --git a/Makefile b/Makefile index 40a08827..0683eb01 100644 --- a/Makefile +++ b/Makefile @@ -13,18 +13,18 @@ export PODMAN_VERSION ?= "5.2.0" .PHONY: podman podman: rm dist/* || : - $(PYTHON) -m pip install --user -r requirements.txt + $(PYTHON) -m pip install --user .[testing] PODMAN_VERSION=$(PODMAN_VERSION) \ - $(PYTHON) setup.py sdist bdist bdist_wheel + $(PYTHON) -m hatch build -.PHONY: lint +.PHONY: fix lint: tox - $(PYTHON) -m tox -e black,pylint + $(PYTHON) -m tox -e fix .PHONY: tests tests: tox # see tox.ini for environment variable settings - $(PYTHON) -m tox -e coverage,py36,py38,py39,py310,py311 + $(PYTHON) -m tox -e coverage,py36,py38,py39,py310,py311,py312 .PHONY: unittest unittest: @@ -39,9 +39,9 @@ integration: .PHONY: tox tox: ifeq (, $(shell which dnf)) - brew install python@3.8 python@3.9 python@3.10 python@3.11 + brew install python@3.8 python@3.9 python@3.10 python@3.11 python@3.12 else - -dnf install -y python3 python3.6 python3.8 python3.9 + -dnf install -y python3 python3.6 python3.8 python3.9 python3.10 python3.11 python3.12 endif # ensure tox is available. It will take care of other testing requirements $(PYTHON) -m pip install --user tox