Skip to content

Commit 9d1aab5

Browse files
Bump version
1 parent 1b72496 commit 9d1aab5

File tree

15 files changed

+725
-36
lines changed

15 files changed

+725
-36
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ project_name: softboiler_github_io
1010
project_owner_github_username: softboiler
1111
project_owner_name: Blake Naccarato
1212
project_version: 0.0.0
13-
python_version: '3.11'
13+
python_version: '3.10'
1414
year_of_project_creation: 2024

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "7.4.1"
77
},
88
"ghcr.io/devcontainers/features/python:1.6.2": {
9-
"version": "3.11"
9+
"version": "3.10"
1010
},
1111
"ghcr.io/devcontainers/features/desktop-lite:1.2.0": {
1212
"noVncVersion": "1.4.0"

.github/workflows/changerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
runner: ["ubuntu-22.04"]
18-
python: ["3.11"]
18+
python: ["3.10"]
1919
permissions:
2020
contents: "write"
2121
runs-on: "${{ matrix.runner }}"

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
runner: ["ubuntu-22.04"]
22-
python: ["3.11"]
22+
python: ["3.10"]
2323
runs-on: "${{ matrix.runner }}"
2424
steps:
2525
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
runner: ["ubuntu-22.04"]
45-
python: ["3.11"]
45+
python: ["3.10"]
4646
runs-on: "${{ matrix.runner }}"
4747
steps:
4848
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
matrix:
7272
runner: ["ubuntu-22.04"]
73-
python: ["3.11"]
73+
python: ["3.10"]
7474
environment:
7575
name: "github-pages"
7676
url: "${{ steps.deployment.outputs.page_url }}"
@@ -83,7 +83,7 @@ jobs:
8383
strategy:
8484
matrix:
8585
runner: ["ubuntu-22.04"]
86-
python: ["3.11"]
86+
python: ["3.10"]
8787
runs-on: "${{ matrix.runner }}"
8888
steps:
8989
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -106,7 +106,7 @@ jobs:
106106
strategy:
107107
matrix:
108108
runner: ["ubuntu-22.04"]
109-
python: ["3.11"]
109+
python: ["3.10"]
110110
runs-on: "${{ matrix.runner }}"
111111
steps:
112112
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -129,7 +129,7 @@ jobs:
129129
strategy:
130130
matrix:
131131
runner: ["ubuntu-22.04"]
132-
python: ["3.11"]
132+
python: ["3.10"]
133133
runs-on: "${{ matrix.runner }}"
134134
steps:
135135
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -177,7 +177,7 @@ jobs:
177177
- run: "scripts/Sync-Py.ps1 -Version '${{ matrix.python }}'"
178178
# ! https://github.com/pytest-dev/pytest-cov/issues/479#issuecomment-1247444988
179179
- run: ". scripts/Initialize-Shell.ps1; pytest --cov --cov-config pyproject.toml"
180-
- if: startsWith(matrix.runner, 'ubuntu') && matrix.python == '3.11'
180+
- if: startsWith(matrix.runner, 'ubuntu') && matrix.python == '3.10'
181181
uses: "codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673" # v4.5.0
182182
env:
183183
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
@@ -192,7 +192,7 @@ jobs:
192192
strategy:
193193
matrix:
194194
runner: ["ubuntu-22.04"]
195-
python: ["3.11"]
195+
python: ["3.10"]
196196
runs-on: "${{ matrix.runner }}"
197197
steps:
198198
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7

.github/workflows/contrib.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- "macos-13"
3030
- "ubuntu-22.04"
3131
- "windows-2022"
32-
python: ["3.11"]
32+
python: ["3.10"]
3333
runs-on: "${{ matrix.runner }}"
3434
steps:
3535
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -42,15 +42,15 @@ jobs:
4242
- uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0
4343
with:
4444
python-version: "${{ matrix.python }}"
45-
- run: "scripts/Sync-Py.ps1 -Version '3.11'"
45+
- run: "scripts/Sync-Py.ps1 -Version '3.10'"
4646
spaces-in-path:
4747
strategy:
4848
matrix:
4949
runner:
5050
- "macos-13"
5151
- "ubuntu-22.04"
5252
- "windows-2022"
53-
python: ["3.11"]
53+
python: ["3.10"]
5454
runs-on: "${{ matrix.runner }}"
5555
steps:
5656
- run: "New-Item -ItemType Directory 'repo path with spaces'"
@@ -66,4 +66,4 @@ jobs:
6666
with:
6767
python-version: "${{ matrix.python }}"
6868
- working-directory: "repo path with spaces"
69-
run: "scripts/Sync-Py.ps1 -Version '3.11'"
69+
run: "scripts/Sync-Py.ps1 -Version '3.10'"

.github/workflows/high.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
runner: ["ubuntu-22.04"]
19-
python: ["3.11"]
19+
python: ["3.10"]
2020
runs-on: "${{ matrix.runner }}"
2121
steps:
2222
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
matrix:
3737
runner: ["ubuntu-22.04"]
38-
python: ["3.11"]
38+
python: ["3.10"]
3939
runs-on: "${{ matrix.runner }}"
4040
steps:
4141
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -55,7 +55,7 @@ jobs:
5555
strategy:
5656
matrix:
5757
runner: ["ubuntu-22.04"]
58-
python: ["3.11"]
58+
python: ["3.10"]
5959
runs-on: "${{ matrix.runner }}"
6060
steps:
6161
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -74,7 +74,7 @@ jobs:
7474
strategy:
7575
matrix:
7676
runner: ["ubuntu-22.04"]
77-
python: ["3.11"]
77+
python: ["3.10"]
7878
runs-on: "${{ matrix.runner }}"
7979
steps:
8080
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -93,7 +93,7 @@ jobs:
9393
strategy:
9494
matrix:
9595
runner: ["ubuntu-22.04"]
96-
python: ["3.11"]
96+
python: ["3.10"]
9797
runs-on: "${{ matrix.runner }}"
9898
steps:
9999
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
@@ -143,7 +143,7 @@ jobs:
143143
strategy:
144144
matrix:
145145
runner: ["ubuntu-22.04"]
146-
python: ["3.11"]
146+
python: ["3.10"]
147147
runs-on: "${{ matrix.runner }}"
148148
steps:
149149
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
runner: ["ubuntu-22.04"]
21-
python: ["3.11"]
21+
python: ["3.10"]
2222
runs-on: "${{ matrix.runner }}"
2323
environment:
2424
name: "release"

.sourcery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ ignore:
1414
- ".*"
1515

1616
rule_settings:
17-
python_version: "3.11"
17+
python_version: "3.10"
1818
enable: ["default"]

docs/contributing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This project and its guide are set up to smooth out that learning curve for you
4444
4545
To make a new contribution, fork this repository, clone it, switch to a new branch (please don't commit directly to `main`), run [`scripts/Sync-Py.ps1`](<https://github.com/softboiler/softboiler.github.io/blob/main/scripts/Sync-Py.ps1>), make changes, commit and push them, and open a Pull Request targeting `main`. You may also open a draft Pull Request if you want feedback before your branch is ready to merge, but remember to mention (`@`) us. In more detail:
4646

47-
- Perform first-time setup, including installing [cross-platform PowerShell](#cross-platform-powershell) and Python 3.11 [(details)](#first-time-setup).
47+
- Perform first-time setup, including installing [cross-platform PowerShell](#cross-platform-powershell) and Python 3.10 [(details)](#first-time-setup).
4848
- Fork the repository by selecting "Fork" near the top-right corner of the project page on GitHub. Clone your fork and open it locally, e.g. in VSCode [(details)](#fork-and-clone).
4949
- If using VSCode, consider installing the recommended extensions when prompted [(details)](#installing-recommended-extensions-in-vscode).
5050
- Create a new branch and switch to it, e.g. `git checkout -b my-new-feature` or in VSCode or select `+` in the GitLens branches view ([Palette: `GitLens: Show Branches View`](#vscode-command-palette)).
@@ -208,15 +208,15 @@ If you're on Windows, paste the script detailed in the [first-time setup script
208208

209209
### Installing Python
210210

211-
If no [system Python](#system-python-environment) matches Python 3.11 needed for contributing, [the necessary Python version will be sourced](#source-for-different-system-python-versions). However, if you don't have any version of Python installed, or would prefer to source Python 3.11 yourself, you may install Python as follows.
211+
If no [system Python](#system-python-environment) matches Python 3.10 needed for contributing, [the necessary Python version will be sourced](#source-for-different-system-python-versions). However, if you don't have any version of Python installed, or would prefer to source Python 3.10 yourself, you may install Python as follows.
212212

213213
#### Windows or MacOS
214214

215-
If you're on Windows or MacOS, consider installing Python 3.11 from <https://www.python.org/downloads/> rather than from the Windows Store or Homebrew! These are built by the CPython team, and they know best when it comes to setting the right compiler flags when building for your operating system. Select the latest version of Python 3.11 in the "Looking for a specific release?" section, then select the appropriate installer in the "Files" section of the resulting page.
215+
If you're on Windows or MacOS, consider installing Python 3.10 from <https://www.python.org/downloads/> rather than from the Windows Store or Homebrew! These are built by the CPython team, and they know best when it comes to setting the right compiler flags when building for your operating system. Select the latest version of Python 3.10 in the "Looking for a specific release?" section, then select the appropriate installer in the "Files" section of the resulting page.
216216

217217
#### Linux, Ubuntu, or other UNIX-like systems
218218

219-
If you're on Linux, Ubuntu, or another UNIX-like systems, you could compile and install Python from source at <https://www.python.org/downloads/>, but consider installing Python from [deadsnakes](https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa) instead. This allows you to install Python with necessary extras, e.g. `sudo apt install python3.11 python3.11-dev python3.11-venv python3.11-distutils python3.11-tk`. Make sure you at least install `python#.##-venv` for your chosen Python.
219+
If you're on Linux, Ubuntu, or another UNIX-like systems, you could compile and install Python from source at <https://www.python.org/downloads/>, but consider installing Python from [deadsnakes](https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa) instead. This allows you to install Python with necessary extras, e.g. `sudo apt install python3.10 python3.10-dev python3.10-venv python3.10-distutils python3.10-tk`. Make sure you at least install `python#.##-venv` for your chosen Python.
220220

221221
[back](#first-time-setup)
222222

@@ -250,7 +250,7 @@ If done via the VSCode UI, click `Open` when prompted to open your newly-created
250250
If you missed your chance on initial setup, you can still set the Python interpreter at any point. This will select the [virtual environment](#virtual-environment) for the workspace folder, and allow your Python scripts to leverage the packages we have installed from `requirements.txt`.
251251

252252
- Open the main script in your Gist, e.g. `example.py`
253-
- Check for `venv` in the bottom-right corner of VSCode, e.g. `3.11.# 64-bit (.venv: venv)`
253+
- Check for `venv` in the bottom-right corner of VSCode, e.g. `3.10.# 64-bit (.venv: venv)`
254254
- If you don't see `venv`, click the version number to select the option with `.venv` in it
255255

256256
[Workflow](#workflow)
@@ -316,7 +316,7 @@ In short, in Python dependency specifications, `<3` doesn't have the same heart-
316316

317317
### Source for different system Python versions
318318

319-
This project looks for Python 3.11 on your system to generate the [virtual environment](#virtual-environment) used for development. See how to [install Python](#installing-python) if you don't have Python installed at all. If your system has any version of Python pre-installed other than Python 3.11 used for development, a temporary virtual environment with `zstandard` is installed and [`scripts/install.py`](<https://github.com/softboiler/softboiler.github.io/blob/main/scripts/install.py>) used to source the necessary Python version from [`indygreg/python-build-standalone`](https://github.com/indygreg/python-build-standalone). This approach is derived from the one used by the [`uv`](https://github.com/astral-sh/uv) team to source Python binaries for their tooling!
319+
This project looks for Python 3.10 on your system to generate the [virtual environment](#virtual-environment) used for development. See how to [install Python](#installing-python) if you don't have Python installed at all. If your system has any version of Python pre-installed other than Python 3.10 used for development, a temporary virtual environment with `zstandard` is installed and [`scripts/install.py`](<https://github.com/softboiler/softboiler.github.io/blob/main/scripts/install.py>) used to source the necessary Python version from [`indygreg/python-build-standalone`](https://github.com/indygreg/python-build-standalone). This approach is derived from the one used by the [`uv`](https://github.com/astral-sh/uv) team to source Python binaries for their tooling!
320320

321321
looks for any system Python on your machine, and uses it directly to create a development [virtual environment](#virtual-environment) if it's the correct version, or sources the expected version of Python (in a project-local `bin`)
322322

@@ -421,7 +421,7 @@ One-time setup for Python dev tools on Windows. Installs Python, VSCode, Windows
421421
#>
422422
423423
# Install Python
424-
winget install --id 'Python.Python.3.11' --override '/quiet PrependPath=0'
424+
winget install --id 'Python.Python.3.10' --override '/quiet PrependPath=0'
425425
# Install VSCode
426426
winget install --id 'Microsoft.VisualStudioCode'
427427
# Install Windows Terminal

0 commit comments

Comments
 (0)