Skip to content

Commit 1a35228

Browse files
Updated files with 'repo_helper'. (#82)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 463ee31 commit 1a35228

File tree

10 files changed

+38
-20
lines changed

10 files changed

+38
-20
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ search = version = "{current_version}"
2222
replace = version = "{new_version}"
2323

2424
[bumpversion:file:.github/workflows/conda_ci.yml]
25+
search = ={current_version}=py_1
26+
replace = ={new_version}=py_1

.github/workflows/conda_ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
tests:
1414
name: "Conda"
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-22.04
1616
defaults:
1717
run:
1818
shell: bash -l {0}
@@ -30,7 +30,9 @@ jobs:
3030
uses: conda-incubator/setup-miniconda@v2
3131
with:
3232
activate-environment: env
33-
conda-build-version: 3.21.0
33+
conda-build-version: 3.23.3
34+
python-version: "3.8"
35+
miniforge-variant: Mambaforge
3436

3537
- name: Install dependencies 🔧
3638
run: |

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-beta.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
37-
- {python-version: "3.12.0-alpha.3", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
37+
- {python-version: "3.12.0-beta.2", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
3838
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0,8.1},build", experimental: False}
3939
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: True}
4040
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: True}

.github/workflows/python_ci_linux.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-beta.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -35,7 +35,7 @@ jobs:
3535
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3737
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
38-
- {python-version: "3.12.0-alpha.3", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
38+
- {python-version: "3.12.0-beta.2", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
3939
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0,8.1},build", experimental: False}
4040
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: True}
4141
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: True}
@@ -178,7 +178,7 @@ jobs:
178178

179179
Conda:
180180
needs: deploy
181-
runs-on: "ubuntu-18.04"
181+
runs-on: ubuntu-22.04
182182
if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
183183
steps:
184184
- name: Checkout 🛎️
@@ -193,7 +193,9 @@ jobs:
193193
uses: conda-incubator/setup-miniconda@v2
194194
with:
195195
activate-environment: env
196-
conda-build-version: 3.21.0
196+
conda-build-version: 3.23.3
197+
python-version: "3.8"
198+
miniforge-variant: Mambaforge
197199

198200
- name: Install dependencies 🔧
199201
run: |

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.3,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-beta.2,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
37-
- {python-version: "3.12.0-alpha.3", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
37+
- {python-version: "3.12.0-beta.2", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: True}
3939
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: True}
4040
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7.1,8.0,8.1}", experimental: True}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repos:
5454
- id: flake2lint
5555

5656
- repo: https://github.com/pre-commit/pygrep-hooks
57-
rev: v1.9.0
57+
rev: v1.10.0
5858
hooks:
5959
- id: python-no-eval
6060
- id: rst-backticks
@@ -70,7 +70,7 @@ repos:
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks
73-
rev: v1.3.1
73+
rev: v1.5.1
7474
hooks:
7575
- id: remove-crlf
7676
- id: forbid-crlf
@@ -87,7 +87,7 @@ repos:
8787
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
8888

8989
- repo: https://github.com/domdfcoding/dep_checker
90-
rev: v0.7.0
90+
rev: v0.7.1
9191
hooks:
9292
- id: dep_checker
9393
args:

.readthedocs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ formats:
99
- pdf
1010
- htmlzip
1111
python:
12-
version: 3.8
1312
install:
1413
- requirements: requirements.txt
1514
- requirements: doc-source/requirements.txt
16-
- method: pip
17-
path: .
18-
extra_requirements:
19-
- all
15+
build:
16+
os: ubuntu-20.04
17+
tools:
18+
python: '3.9'
19+
jobs:
20+
post_create_environment:
21+
- pip install .[all]

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ consolekit
108108
:target: https://github.com/domdfcoding/consolekit/commit/master
109109
:alt: GitHub last commit
110110

111-
.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
111+
.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
112112
:alt: Maintenance
113113

114114
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/consolekit

doc-source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ consolekit
114114
:last-commit:
115115
:alt: GitHub last commit
116116

117-
.. |maintained| maintained-shield:: 2022
117+
.. |maintained| maintained-shield:: 2023
118118
:alt: Maintenance
119119

120120
.. |pypi-downloads| pypi-shield::

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# You may add new sections, but any changes made to the following sections will be lost:
33
# * tox
44
# * envlists
5+
# * testenv:.package
56
# * testenv:py312-dev
67
# * testenv:docs
78
# * testenv:build
@@ -54,6 +55,11 @@ test =
5455
qa = mypy, lint
5556
cov = py36-click7.1, coverage
5657

58+
[testenv:.package]
59+
setenv =
60+
PYTHONDEVMODE=1
61+
PIP_DISABLE_PIP_VERSION_CHECK=1
62+
5763
[testenv:py312-dev]
5864
setenv =
5965
PYTHONDEVMODE=1
@@ -69,12 +75,16 @@ deps = -r{toxinidir}/doc-source/requirements.txt
6975
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
7076

7177
[testenv:build]
78+
setenv =
79+
PYTHONDEVMODE=1
80+
PIP_DISABLE_PIP_VERSION_CHECK=1
7281
skip_install = True
7382
changedir = {toxinidir}
7483
deps =
7584
build[virtualenv]>=0.3.1
7685
check-wheel-contents>=0.1.0
7786
twine>=3.2.0
87+
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7888
commands =
7989
python -m build --sdist --wheel "{toxinidir}"
8090
twine check dist/*.tar.gz dist/*.whl

0 commit comments

Comments
 (0)