Skip to content

Commit 9b36d0d

Browse files
authored
Merge branch 'master' into pyup-update-sphinx-4.3.2-to-5.0.2
2 parents 0ee5ad3 + 2f70779 commit 9b36d0d

File tree

9 files changed

+23
-27
lines changed

9 files changed

+23
-27
lines changed

.devcontainer/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/python-3/.devcontainer/base.Dockerfile
22

3-
# [Choice] Python version: 3, 3.10, 3.9, 3.8, 3.7
3+
# [Choice] Python version: 3, 3.10, 3.11
44
ARG VARIANT="3"
55
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
66

@@ -19,4 +19,4 @@ RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/shar
1919
# && apt-get -y install --no-install-recommends <your-package-list-here>
2020

2121
# [Optional] Uncomment this line to install global node packages.
22-
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
22+
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1

.devcontainer/devcontainer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"build": {
66
"dockerfile": "Dockerfile",
77
"context": "..",
8-
"args": {
9-
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
8+
"args": {
9+
// Update 'VARIANT' to pick a Python version: 3, 3.10, 3.11
1010
"VARIANT": "3.10",
1111
// Options
1212
"INSTALL_NODE": "false",
@@ -15,7 +15,7 @@
1515
},
1616

1717
// Set *default* container specific settings.json values on container create.
18-
"settings": {
18+
"settings": {
1919
"terminal.integrated.shell.linux": "/bin/bash",
2020
"python.pythonPath": "/usr/local/bin/python",
2121
"python.linting.enabled": true,

.github/workflows/python-package.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [ubuntu-latest, windows-latest, macos-latest]
19-
python-version: ['3.10', '3.9', '3.8', '3.7']
18+
os: [ ubuntu-latest, windows-latest, macos-latest ]
19+
python-version: [ '3.10', '3.11-dev' ]
2020
defaults:
2121
run:
2222
shell: pwsh

.idea/inspectionProfiles/Project_Default.xml

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.mergify.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ pull_request_rules:
88
conditions:
99
- label!=no-mergify
1010
- '#approved-reviews-by>=1'
11-
- status-success=build (ubuntu-latest, 3.8)
12-
- status-success=build (windows-latest, 3.8)
13-
- status-success=build (macos-latest, 3.8)
11+
- status-success=build (ubuntu-latest, 3.10)
12+
- status-success=build (windows-latest, 3.10)
13+
- status-success=build (macos-latest, 3.10)
1414
- status-success=codecov/project
1515
- status-success=pyup.io/safety-ci
1616

@@ -23,19 +23,19 @@ pull_request_rules:
2323
conditions:
2424
- label!=no-mergify
2525
- author=NeonGraal
26-
- status-success=build (ubuntu-latest, 3.8)
27-
- status-success=build (windows-latest, 3.8)
28-
- status-success=build (macos-latest, 3.8)
26+
- status-success=build (ubuntu-latest, 3.10)
27+
- status-success=build (windows-latest, 3.10)
28+
- status-success=build (macos-latest, 3.10)
2929
- status-success=codecov/project
3030
- status-success=pyup.io/safety-ci
3131

3232
- name: Automatic merge for PyUp PRs
3333
conditions:
3434
- label!=no-mergify
3535
- author=pyup-bot
36-
- status-success=build (ubuntu-latest, 3.8)
37-
- status-success=build (windows-latest, 3.8)
38-
- status-success=build (macos-latest, 3.8)
36+
- status-success=build (ubuntu-latest, 3.10)
37+
- status-success=build (windows-latest, 3.10)
38+
- status-success=build (macos-latest, 3.10)
3939
- status-success=codecov/project
4040
- status-success=pyup.io/safety-ci
4141
actions:

CONTRIBUTING.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Before you submit a pull request, check that it meets these guidelines:
102102
2. If the pull request adds functionality, the docs should be updated. Put
103103
your new functionality into a function with a docstring, and add the
104104
feature to the list in README.rst.
105-
3. The pull request should work for Python 3.6, 3.7, 3.8, 3.9, and for PyPy.
105+
3. The pull request should work for Python 3.10, 3.11, and for PyPy.
106106
Check that the tests pass for all supported Python versions.
107107

108108
Tips

requirements_dev.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ pytest-flake8==1.1.0
1313
pytest-mypy==0.9.1
1414
# pytest-annotate==1.0.2
1515
radon==5.1.0
16-
setuptools==62.4.0
17-
setuptools_scm==6.4.2
16+
setuptools==62.6.0
17+
setuptools_scm==7.0.2
1818
Sphinx==5.0.2
1919
tox==3.24.5
2020
types-setuptools==57.4.17

setup.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@
2727
'License :: OSI Approved :: BSD License',
2828
'Natural Language :: English',
2929
'Programming Language :: Python :: 3',
30-
'Programming Language :: Python :: 3.7',
31-
'Programming Language :: Python :: 3.8',
32-
'Programming Language :: Python :: 3.9',
3330
'Programming Language :: Python :: 3.10',
31+
'Programming Language :: Python :: 3.11',
3432
],
3533
description="A python package for script (and command) virtualisation with less typing.",
3634
entry_points={

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py37, py38, py39
2+
envlist = py310, py311
33

44
[testenv]
55
setenv =

0 commit comments

Comments
 (0)