diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 6a1568d..e076bea 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -36,4 +36,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b27d123..2277e05 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.12 @@ -21,6 +21,6 @@ jobs: python -m build - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.10 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: password: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 49b2668..7461921 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a27d3db..82153a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,10 +9,10 @@ repos: hooks: - id: flake8 - repo: https://github.com/psf/black.git - rev: 24.3.0 + rev: 24.4.2 hooks: - id: black - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: - - id: isort \ No newline at end of file + - id: isort diff --git a/setup.py b/setup.py index 86c7d51..a9e0e3d 100644 --- a/setup.py +++ b/setup.py @@ -6,6 +6,7 @@ license="BSD", description="Collection of persistent (disk-based) and non-persistent (memory-based) queues", long_description=open("README.rst").read(), + long_description_content_type="text/x-rst", author="Scrapy project", author_email="info@scrapy.org", url="https://github.com/scrapy/queuelib", diff --git a/tox.ini b/tox.ini index 5e1e824..f25ed04 100644 --- a/tox.ini +++ b/tox.ini @@ -18,23 +18,23 @@ commands = basepython = python3 deps = {[testenv]deps} - pylint==3.0.2 + pylint==3.1.0 commands = pylint {posargs:queuelib setup.py} [testenv:typing] basepython = python3 deps = - mypy==1.7.0 - pytest==7.4.3 + mypy==1.10.0 + pytest==8.2.0 commands = mypy --strict {posargs:queuelib} [testenv:twinecheck] basepython = python3 deps = - twine==4.0.2 - build==1.0.3 + twine==5.0.0 + build==1.2.1 commands = python -m build --sdist twine check dist/*