diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e69777..7032662 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,9 +23,9 @@ jobs: TEST_RABBIT_URL: amqp://127.0.0.1:${{ job.services.rabbitmq.ports[5672] }} shell: bash run: | - coverage run --append --source=yapw -m pytest + coverage run --source=yapw --append -m pytest pip install orjson - coverage run --append --source=yapw -m pytest + coverage run --source=yapw --append -m pytest pip uninstall -y orjson - if: matrix.python-version != '3.10' name: Test @@ -33,9 +33,9 @@ jobs: TEST_RABBIT_URL: amqp://127.0.0.1:${{ job.services.rabbitmq.ports[5672] }} shell: bash run: | - coverage run --append --source=yapw -m pytest -W error -W ignore::ResourceWarning + coverage run --source=yapw --append -m pytest -W error -W ignore::ResourceWarning pip install orjson - coverage run --append --source=yapw -m pytest -W error -W ignore::ResourceWarning + coverage run --source=yapw --append -m pytest -W error -W ignore::ResourceWarning pip uninstall -y orjson - uses: coverallsapp/github-action@v2 services: diff --git a/pyproject.toml b/pyproject.toml index 0d93963..665eb43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,8 +6,10 @@ build-backend = "setuptools.build_meta" name = "yapw" version = "0.1.4" authors = [{name = "Open Contracting Partnership", email = "data@open-contracting.org"}] -license = {text = "BSD"} description = "A Pika wrapper with error handling, signal handling and good defaults." +readme = "README.rst" +license = {text = "BSD"} +urls = {Homepage = "https://github.com/open-contracting/yapw"} classifiers = [ "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux", @@ -16,35 +18,23 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", ] -urls = {Homepage = "https://github.com/open-contracting/yapw"} requires-python = ">=3.10" dependencies = [ "pika>=1.2.0", "typing-extensions;python_version<'3.8'", ] -[project.readme] -file = "README.rst" -content-type = "text/x-rst" - [project.optional-dependencies] perf = ["orjson"] test = [ - "coveralls", + "coverage", "pytest", - "pytest-cov", ] types = [ "mypy", "types-orjson", "types-pika", ] -docs = [ - "furo", - "sphinx", - "sphinx-autobuild", - "sphinx-design", -] [tool.setuptools.packages.find] exclude = [