Skip to content

Commit 1c7ca64

Browse files
Update from copier (2026-08-05T16:40:33)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e0e918e commit 1c7ca64

7 files changed

Lines changed: 130 additions & 25 deletions

File tree

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 99606c7
2+
_commit: 84508d6
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: false
55
add_extension: rust

.github/workflows/build.yaml

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
strategy:
3333
matrix:
3434
os: [ubuntu-latest, macos-latest, windows-latest]
35-
python-version: ["3.11"]
3635

3736
steps:
37+
<<<<<<< before updating
3838
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3939
with:
4040
persist-credentials: false
@@ -124,3 +124,102 @@ jobs:
124124
with:
125125
name: dist-${{matrix.os}}
126126
path: dist
127+
=======
128+
- name: Checkout
129+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
130+
with:
131+
persist-credentials: false
132+
133+
- name: Setup Python
134+
uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446
135+
with:
136+
version: "3.11"
137+
138+
- name: Setup Rust
139+
uses: actions-ext/rust/setup@2db8e3e4c56beb7320c7d730bd2c2d6a6447bf6b
140+
141+
- name: Install dependencies
142+
run: make develop
143+
144+
- name: Lint
145+
run: make lint
146+
147+
- name: Checks
148+
run: make checks
149+
if: matrix.os == 'ubuntu-latest'
150+
151+
- name: Build
152+
run: make build
153+
154+
- name: Test
155+
run: make coverage
156+
157+
- name: Upload test results (Python)
158+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
159+
with:
160+
name: test-results-${{ matrix.os }}
161+
path: '**/junit.xml'
162+
if: always()
163+
164+
- name: Publish test results
165+
uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0
166+
with:
167+
files: '**/junit.xml'
168+
if: matrix.os == 'ubuntu-latest'
169+
170+
- name: Upload coverage
171+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
172+
with:
173+
token: ${{ secrets.CODECOV_TOKEN }}
174+
175+
- name: Set up QEMU
176+
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
177+
with:
178+
platforms: all
179+
if: runner.os == 'Linux' && runner.arch == 'X64'
180+
181+
- name: Free disk space
182+
run: |
183+
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup /usr/share/swift
184+
df -h /
185+
shell: bash
186+
if: matrix.os == 'ubuntu-latest'
187+
188+
- name: Build distributions (Linux)
189+
run: |
190+
rm -rf dist
191+
make dist-rs
192+
make dist-py-sdist
193+
make dist-py-wheel
194+
make dist-check
195+
shell: bash
196+
if: matrix.os == 'ubuntu-latest'
197+
198+
- name: Build distributions (macOS/Windows)
199+
run: |
200+
rm -rf dist
201+
make dist-py-wheel
202+
make dist-check
203+
shell: bash
204+
env:
205+
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
206+
if: matrix.os != 'ubuntu-latest'
207+
208+
- name: Test wheel
209+
uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446
210+
with:
211+
module: nepenthe
212+
if: matrix.os == 'ubuntu-latest'
213+
214+
- name: Test source distribution
215+
uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446
216+
with:
217+
module: nepenthe
218+
if: matrix.os == 'ubuntu-latest'
219+
220+
- name: Upload distributions
221+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
222+
with:
223+
name: dist-${{ matrix.os }}
224+
path: dist
225+
>>>>>>> after updating

.github/workflows/copier.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/wiki.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,25 @@ jobs:
2020
deploy:
2121
runs-on: ubuntu-latest
2222
steps:
23+
<<<<<<< before updating
2324
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2425
with:
2526
persist-credentials: false
2627

2728
- uses: Andrew-Chen-Wang/github-wiki-action@1bbb4280446f9630e8e21a18012cbacf3b0f992e # v5.0.6
2829
with:
2930
path: docs/wiki
31+
=======
32+
- name: Checkout
33+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
34+
with:
35+
persist-credentials: false
36+
37+
- name: Prepare wiki
38+
run: cp README.md docs/wiki/Home.md
39+
40+
- name: Publish wiki
41+
uses: Andrew-Chen-Wang/github-wiki-action@1bbb4280446f9630e8e21a18012cbacf3b0f992e # v5.0.6
42+
with:
43+
path: docs/wiki
44+
>>>>>>> after updating

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ path = "rust/python/lib.rs"
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13+
<<<<<<< before updating
1314
fsspec_rs_bridge = "0.1.2"
1415
nepenthe-core = { path = "rust" }
1516
pyo3 = { version = "0.29.0", features = ["abi3", "extension-module", "multiple-pymethods"] }
1617
tokio = { version = "1.52.3", features = ["rt-multi-thread"] }
18+
=======
19+
nepenthe = { path = "./rust", version = "*" }
20+
pyo3 = { version = "0.29.0", features = ["abi3", "extension-module", "multiple-pymethods"] }
21+
>>>>>>> after updating
1722

1823
[profile.release]
1924
panic = 'abort'

nepenthe/tests/test_all.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
<<<<<<< before updating
12
import nepenthe
3+
=======
4+
from nepenthe import *
5+
>>>>>>> after updating
26

37

48
def test_public_api_surface():

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description = "Forget your environment sorrows"
1616
readme = "README.md"
1717
license = { text = "Apache-2.0" }
1818
version = "0.1.0"
19-
requires-python = ">=3.10"
19+
requires-python = ">=3.11"
2020
keywords = []
2121

2222
classifiers = [
@@ -26,7 +26,6 @@ classifiers = [
2626
"Programming Language :: Python :: Implementation :: CPython",
2727
"Programming Language :: Python :: Implementation :: PyPy",
2828
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
3130
"Programming Language :: Python :: 3.12",
3231
"Programming Language :: Python :: 3.13",
@@ -88,7 +87,7 @@ search = 'version = "{current_version}"'
8887
replace = 'version = "{new_version}"'
8988

9089
[tool.cibuildwheel]
91-
build = "cp310-*"
90+
build = "cp311-*"
9291
test-command = "pytest -vvv {project}/nepenthe/tests"
9392
test-extras = "develop"
9493
audit-command = ""
@@ -129,9 +128,9 @@ fail_under = 50
129128

130129
[tool.hatch.build]
131130
artifacts = [
132-
"project/*.dll",
133-
"project/*.dylib",
134-
"project/*.so",
131+
"nepenthe/*.dll",
132+
"nepenthe/*.dylib",
133+
"nepenthe/*.so",
135134
]
136135

137136
[tool.hatch.build.sources]

0 commit comments

Comments
 (0)