diff --git a/.github/workflows/lint-test-cover-docs.yml b/.github/workflows/lint-test-cover-docs.yml index baa3ad4..baf5548 100644 --- a/.github/workflows/lint-test-cover-docs.yml +++ b/.github/workflows/lint-test-cover-docs.yml @@ -9,9 +9,9 @@ jobs: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] name: "Python ${{ matrix.python-version }}" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Python. - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: x64 diff --git a/.gitignore b/.gitignore index 8aa3178..68bc17f 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,6 @@ parts/ sdist/ var/ wheels/ -pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg @@ -50,6 +49,7 @@ coverage.xml *.py,cover .hypothesis/ .pytest_cache/ +cover/ # Translations *.mo @@ -72,6 +72,7 @@ instance/ docs/_build/ # PyBuilder +.pybuilder/ target/ # Jupyter Notebook @@ -82,7 +83,9 @@ profile_default/ ipython_config.py # pyenv -.python-version +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. @@ -91,7 +94,22 @@ ipython_config.py # install all needed dependencies. #Pipfile.lock -# PEP 582; used by e.g. github.com/David-OConnor/pyflow +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/#use-with-ide +.pdm.toml + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ # Celery stuff @@ -128,5 +146,15 @@ dmypy.json # Pyre type checker .pyre/ -# Coverage reports -cover/ +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ diff --git a/pyproject.toml b/pyproject.toml index 1c677a9..98e4e31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "fe25519" -version = "1.5.0" +version = "2.0.0" description = """\ Pure-Python data structure for working with Ed25519 \ (and Ristretto) field elements and operations.\ @@ -20,11 +20,11 @@ Documentation = "https://fe25519.readthedocs.io" [project.optional-dependencies] docs = [ "toml~=0.10.2", - "sphinx~=4.2.0", - "sphinx-rtd-theme~=1.0.0" + "sphinx~=5.0", + "sphinx-rtd-theme~=1.1.0" ] test = [ - "pytest~=7.2", + "pytest~=7.4", "pytest-cov~=4.0", "parts~=1.7", "bitlist~=1.2", @@ -43,7 +43,7 @@ publish = [ [build-system] requires = [ - "setuptools>=67.6" + "setuptools>=68.0" ] build-backend = "setuptools.build_meta"