File tree Expand file tree Collapse file tree 8 files changed +22
-9
lines changed Expand file tree Collapse file tree 8 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : 679102d
2+ _commit : 573d8d6
33_src_path : https://github.com/python-project-templates/base.git
44add_extension : rust
55
Original file line number Diff line number Diff line change @@ -14,3 +14,12 @@ updates:
1414 labels :
1515 - " lang: python"
1616 - " part: dependencies"
17+
18+ - package-ecosystem : " cargo"
19+ directory : " /"
20+ schedule :
21+ interval : " monthly"
22+ labels :
23+ - " lang: rust"
24+ - " part: dependencies"
25+
Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ jobs:
117117 run : |
118118 make dist-py-wheel
119119 make dist-check
120+ env :
121+ CIBW_ENVIRONMENT_MACOS : MACOSX_DEPLOYMENT_TARGET=11.0
120122 if : matrix.os != 'ubuntu-latest'
121123
122124 - uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ format: fix
6565# ###############
6666# Other Checks #
6767# ###############
68- .PHONY : check-manifest checks check annotate
68+ .PHONY : check-manifest checks check
6969
7070check-manifest : # # check python sdist manifest with check-manifest
7171 check-manifest -v
@@ -75,9 +75,6 @@ checks: check-manifest
7575# alias
7676check : checks
7777
78- annotate : # # run python type annotation checks with mypy
79- python -m mypy ./python_template_rust
80-
8178# ########
8279# TESTS #
8380# ########
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ A Rust-Python project template
1111## Overview
1212
1313
14- > \ [ !NOTE\ ]
14+ > [ !NOTE]
1515> This library was generated using [ copier] ( https://copier.readthedocs.io/en/stable/ ) from the [ Base Python Project Template repository] ( https://github.com/python-project-templates/base ) .
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ classifiers = [
1818 " Programming Language :: Python :: Implementation :: CPython" ,
1919 " Programming Language :: Python :: Implementation :: PyPy" ,
2020 " Programming Language :: Python :: 3" ,
21- " Programming Language :: Python :: 3.8" ,
2221 " Programming Language :: Python :: 3.9" ,
2322 " Programming Language :: Python :: 3.10" ,
2423 " Programming Language :: Python :: 3.11" ,
@@ -77,6 +76,8 @@ ignore = [
7776 " .copier-answers.yml" ,
7877 " Makefile" ,
7978 " setup.py" ,
79+ " docs/**/*" ,
80+ " rust/.config/*" ,
8081 " rust/Cargo.lock" ,
8182 " rust/README.md" ,
8283]
@@ -95,6 +96,7 @@ archs = "x86_64"
9596
9697[tool .cibuildwheel .macos ]
9798archs = " x86_64 arm64"
99+ environment = {MACOS_DEPLOYMENT_TARGET =11.0 }
98100
99101[tool .cibuildwheel .windows ]
100102environment = {PATH =" $UserProfile\\ .cargo\b in;$PATH" }
Original file line number Diff line number Diff line change 1+ [profile .default .junit ]
2+ path = " junit.xml"
Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ checks: check
2929
3030.PHONY : test tests test-ci tests-ci
3131test : # # run the tests
32- cargo llvm-cov nextest
32+ cargo llvm-cov nextest --cobertura --output-path junit.xml
33+
3334# alias
3435tests : test
3536
3637coverage :
37- cargo llvm-cov --lcov --output-path coverage nextest
38+ cargo llvm-cov nextest --lcov --output-path coverage
3839
3940.PHONY : dist publish
4041dist : # # create dist
You can’t perform that action at this time.
0 commit comments