diff --git a/.copier-answers.yml b/.copier-answers.yml index e5b78a9..b3b66a0 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,12 +1,12 @@ # This file is managed by Copier; DO NOT EDIT OR REMOVE. -_commit: v0.2.1 +_commit: v0.3.0 _src_path: https://github.com/quantco/copier-template-python-open-source add_autobump_workflow: false author_email: noreply@quantco.com author_name: QuantCo, Inc. github_url: https://github.com/quantco/multiregex github_user: pavelzw -minimal_python_version: py38 +minimal_python_version: py39 project_short_description: Quickly match many regexes against a string. Provides 2-10x speedups over naïve regex matching. project_slug: multiregex diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8da8607..6657128 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,9 +41,5 @@ jobs: with: name: artifact path: dist - - name: Publish package on TestPyPi - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 - with: - repository-url: https://test.pypi.org/legacy/ - name: Publish package on PyPi uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4042d2e..56fc044 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,16 +26,16 @@ jobs: pytest: timeout-minutes: 30 - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: environment: - - py38 - py39 - py310 - py311 - py312 + - py313 os: - ubuntu-latest - macos-latest diff --git a/pixi.toml b/pixi.toml index 3447f45..9d3af01 100644 --- a/pixi.toml +++ b/pixi.toml @@ -7,7 +7,7 @@ platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"] postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ." [dependencies] -python = ">=3.8" +python = ">=3.9" pyahocorasick = "*" [host-dependencies] @@ -26,6 +26,7 @@ test-coverage = "pytest --cov=multiregex --cov-report=xml --cov-report=term-miss [feature.build.dependencies] python-build = "*" twine = "*" +wheel = "*" [feature.build.tasks] build-wheel = "python -m build --no-isolation ." check-wheel = "twine check dist/*" @@ -43,8 +44,6 @@ typos = "*" pre-commit-install = "pre-commit install" pre-commit-run = "pre-commit run -a" -[feature.py38.dependencies] -python = "3.8.*" [feature.py39.dependencies] python = "3.9.*" [feature.py310.dependencies] @@ -53,13 +52,15 @@ python = "3.10.*" python = "3.11.*" [feature.py312.dependencies] python = "3.12.*" +[feature.py313.dependencies] +python = "3.13.*" [environments] default = ["test"] -py38 = ["py38", "test"] py39 = ["py39", "test"] py310 = ["py310", "test"] py311 = ["py311", "test"] py312 = ["py312", "test"] +py313 = ["py313", "test"] build = ["build"] lint = { features = ["lint"], no-default-feature = true } diff --git a/pyproject.toml b/pyproject.toml index e5988ec..4e957fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,13 +15,13 @@ dynamic = ["version"] maintainers = [{ name = "Bela Stoyan", email = "bela.stoyan@quantco.com" }] classifiers = [ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] -requires-python = ">=3.8" +requires-python = ">=3.9" readme = "README.md" dependencies = ["pyahocorasick"] @@ -61,7 +61,7 @@ quote-style = "double" indent-style = "space" [tool.mypy] -python_version = '3.8' +python_version = '3.9' no_implicit_optional = true check_untyped_defs = true allow_redefinition = true