Skip to content

Commit 164cb9d

Browse files
Update copier template to v0.3.0
1 parent 173a7a6 commit 164cb9d

File tree

5 files changed

+34
-10
lines changed

5 files changed

+34
-10
lines changed

.copier-answers.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# This file is managed by Copier; DO NOT EDIT OR REMOVE.
2-
_commit: v0.2.1
2+
_commit: v0.3.0
33
_src_path: https://github.com/quantco/copier-template-python-open-source
44
add_autobump_workflow: false
55
author_email: noreply@quantco.com
66
author_name: QuantCo, Inc.
77
github_url: https://github.com/quantco/multiregex
88
github_user: pavelzw
9-
minimal_python_version: py38
9+
minimal_python_version: py39
1010
project_short_description: Quickly match many regexes against a string. Provides 2-10x
1111
speedups over naïve regex matching.
1212
project_slug: multiregex

.github/workflows/build.yml

+11
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,23 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717
- name: Set up pixi
18+
<<<<<<< before updating
1819
uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
20+
=======
21+
uses: prefix-dev/setup-pixi@0f64e482e3d251f735019b1bc7fb0413ead75b2c # v0.8.2
22+
>>>>>>> after updating
1923
with:
2024
environments: build
2125
- name: Build project
2226
run: pixi run -e build build-wheel
2327
- name: Check package
2428
run: pixi run -e build check-wheel
2529
- name: Upload package
30+
<<<<<<< before updating
2631
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
32+
=======
33+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
34+
>>>>>>> after updating
2735
with:
2836
name: artifact
2937
path: dist/*
@@ -41,9 +49,12 @@ jobs:
4149
with:
4250
name: artifact
4351
path: dist
52+
<<<<<<< before updating
4453
- name: Publish package on TestPyPi
4554
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
4655
with:
4756
repository-url: https://test.pypi.org/legacy/
57+
=======
58+
>>>>>>> after updating
4859
- name: Publish package on PyPi
4960
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4

.github/workflows/ci.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,28 @@ jobs:
1818
- name: Checkout branch
1919
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020
- name: Set up pixi
21+
<<<<<<< before updating
2122
uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
23+
=======
24+
uses: prefix-dev/setup-pixi@0f64e482e3d251f735019b1bc7fb0413ead75b2c # v0.8.2
25+
>>>>>>> after updating
2226
with:
2327
environments: default lint
2428
- name: pre-commit
2529
run: pixi run pre-commit-run --color=always --show-diff-on-failure
2630

2731
pytest:
2832
timeout-minutes: 30
29-
runs-on: ubuntu-latest
33+
runs-on: ${{ matrix.os }}
3034
strategy:
3135
fail-fast: false
3236
matrix:
3337
environment:
34-
- py38
3538
- py39
3639
- py310
3740
- py311
3841
- py312
42+
- py313
3943
os:
4044
- ubuntu-latest
4145
- macos-latest
@@ -46,7 +50,11 @@ jobs:
4650
with:
4751
fetch-depth: 0
4852
- name: Set up pixi
53+
<<<<<<< before updating
4954
uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
55+
=======
56+
uses: prefix-dev/setup-pixi@0f64e482e3d251f735019b1bc7fb0413ead75b2c # v0.8.2
57+
>>>>>>> after updating
5058
with:
5159
environments: ${{ matrix.environment }}
5260
- name: Install repository

pixi.toml

+8-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
77
postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ."
88

99
[dependencies]
10+
<<<<<<< before updating
1011
python = ">=3.8"
1112
pyahocorasick = "*"
13+
=======
14+
python = ">=3.9"
15+
>>>>>>> after updating
1216

1317
[host-dependencies]
1418
pip = "*"
@@ -26,6 +30,7 @@ test-coverage = "pytest --cov=multiregex --cov-report=xml --cov-report=term-miss
2630
[feature.build.dependencies]
2731
python-build = "*"
2832
twine = "*"
33+
wheel = "*"
2934
[feature.build.tasks]
3035
build-wheel = "python -m build --no-isolation ."
3136
check-wheel = "twine check dist/*"
@@ -43,8 +48,6 @@ typos = "*"
4348
pre-commit-install = "pre-commit install"
4449
pre-commit-run = "pre-commit run -a"
4550

46-
[feature.py38.dependencies]
47-
python = "3.8.*"
4851
[feature.py39.dependencies]
4952
python = "3.9.*"
5053
[feature.py310.dependencies]
@@ -53,13 +56,15 @@ python = "3.10.*"
5356
python = "3.11.*"
5457
[feature.py312.dependencies]
5558
python = "3.12.*"
59+
[feature.py313.dependencies]
60+
python = "3.13.*"
5661

5762
[environments]
5863
default = ["test"]
59-
py38 = ["py38", "test"]
6064
py39 = ["py39", "test"]
6165
py310 = ["py310", "test"]
6266
py311 = ["py311", "test"]
6367
py312 = ["py312", "test"]
68+
py313 = ["py313", "test"]
6469
build = ["build"]
6570
lint = { features = ["lint"], no-default-feature = true }

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ dynamic = ["version"]
1515
maintainers = [{ name = "Bela Stoyan", email = "bela.stoyan@quantco.com" }]
1616
classifiers = [
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.8",
1918
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
2221
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2323
]
24-
requires-python = ">=3.8"
24+
requires-python = ">=3.9"
2525
readme = "README.md"
2626
dependencies = ["pyahocorasick"]
2727

@@ -61,7 +61,7 @@ quote-style = "double"
6161
indent-style = "space"
6262

6363
[tool.mypy]
64-
python_version = '3.8'
64+
python_version = '3.9'
6565
no_implicit_optional = true
6666
check_untyped_defs = true
6767
allow_redefinition = true

0 commit comments

Comments
 (0)