Skip to content

Commit 608d08f

Browse files
committed
Merge skeleton
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
2 parents b4fa534 + 5c3e935 commit 608d08f

File tree

8 files changed

+80
-372
lines changed

8 files changed

+80
-372
lines changed

.github/workflows/docs-ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88

99
strategy:
1010
max-parallel: 4
@@ -20,9 +20,6 @@ jobs:
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

23-
- name: Give permission to run scripts
24-
run: chmod +x ./docs/scripts/doc8_style_check.sh
25-
2623
- name: Install Dependencies
2724
run: pip install -e .[docs]
2825

.github/workflows/pypi-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ on:
2121
jobs:
2222
build-pypi-distribs:
2323
name: Build and publish library to PyPI
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-22.04
2525

2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- name: Set up Python
2929
uses: actions/setup-python@v4
3030
with:
@@ -47,7 +47,7 @@ jobs:
4747
name: Create GH release
4848
needs:
4949
- build-pypi-distribs
50-
runs-on: ubuntu-20.04
50+
runs-on: ubuntu-22.04
5151

5252
steps:
5353
- name: Download built archives
@@ -67,7 +67,7 @@ jobs:
6767
name: Create PyPI release
6868
needs:
6969
- create-gh-release
70-
runs-on: ubuntu-20.04
70+
runs-on: ubuntu-22.04
7171

7272
steps:
7373
- name: Download built archives

azure-pipelines.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,54 +11,62 @@ jobs:
1111
parameters:
1212
job_name: ubuntu20_cpython
1313
image_name: ubuntu-20.04
14-
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
14+
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
1515
test_suites:
1616
all: venv/bin/pytest -n 2 -vvs --reruns 2
1717

1818
- template: etc/ci/azure-posix.yml
1919
parameters:
2020
job_name: ubuntu22_cpython
2121
image_name: ubuntu-22.04
22-
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
22+
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
2323
test_suites:
2424
all: venv/bin/pytest -n 2 -vvs --reruns 2
2525

2626
- template: etc/ci/azure-posix.yml
2727
parameters:
28-
job_name: macos11_cpython
29-
image_name: macOS-11
30-
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
28+
job_name: macos12_cpython
29+
image_name: macOS-12
30+
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
3131
test_suites:
3232
all: venv/bin/pytest -n 2 -vvs --reruns 2
3333

3434
- template: etc/ci/azure-posix.yml
3535
parameters:
36-
job_name: macos12_cpython
37-
image_name: macOS-12
38-
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
36+
job_name: macos13_cpython
37+
image_name: macOS-13
38+
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
3939
test_suites:
4040
all: venv/bin/pytest -n 2 -vvs --reruns 2
4141

4242
- template: etc/ci/azure-posix.yml
4343
parameters:
44-
job_name: macos13_cpython
45-
image_name: macos-13
46-
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
44+
job_name: macos14_cpython_arm64
45+
image_name: macOS-14
46+
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
47+
test_suites:
48+
all: venv/bin/pytest -n 2 -vvs
49+
50+
- template: etc/ci/azure-posix.yml
51+
parameters:
52+
job_name: macos14_cpython
53+
image_name: macOS-14-large
54+
python_versions: ['3.8', '3.8', '3.9', '3.10', '3.12']
4755
test_suites:
4856
all: venv/bin/pytest -n 2 -vvs --reruns 2
4957

5058
- template: etc/ci/azure-win.yml
5159
parameters:
5260
job_name: win2019_cpython
5361
image_name: windows-2019
54-
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
62+
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
5563
test_suites:
5664
all: venv\Scripts\pytest -n 2 -vvs --reruns 2
5765

5866
- template: etc/ci/azure-win.yml
5967
parameters:
6068
job_name: win2022_cpython
6169
image_name: windows-2022
62-
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
70+
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
6371
test_suites:
6472
all: venv\Scripts\pytest -n 2 -vvs --reruns 2

docs/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# from the environment for the first two.
66
SPHINXOPTS ?=
77
SPHINXBUILD ?= sphinx-build
8+
SPHINXAUTOBUILD = sphinx-autobuild
89
SOURCEDIR = source
910
BUILDDIR = build
1011

@@ -14,6 +15,13 @@ help:
1415

1516
.PHONY: help Makefile
1617

18+
# Run the development server using sphinx-autobuild
19+
docs:
20+
@echo
21+
@echo "Starting up the docs server..."
22+
@echo
23+
$(SPHINXAUTOBUILD) --port 8000 --watch ${SOURCEDIR} $(SOURCEDIR) "$(BUILDDIR)/html" $(SPHINXOPTS) $(O)
24+
1725
# Catch-all target: route all unknown targets to Sphinx using the new
1826
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1927
%: Makefile

docs/make.bat

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ REM Command file for Sphinx documentation
77
if "%SPHINXBUILD%" == "" (
88
set SPHINXBUILD=sphinx-build
99
)
10+
if "%SPHINXAUTOBUILD%" == "" (
11+
set SPHINXAUTOBUILD=sphinx-autobuild
12+
)
1013
set SOURCEDIR=source
1114
set BUILDDIR=build
1215

1316
if "%1" == "" goto help
1417

18+
if "%1" == "docs" goto docs
19+
1520
%SPHINXBUILD% >NUL 2>NUL
1621
if errorlevel 9009 (
1722
echo.
@@ -28,6 +33,13 @@ if errorlevel 9009 (
2833
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
2934
goto end
3035

36+
:docs
37+
@echo
38+
@echo Starting up the docs server...
39+
@echo
40+
%SPHINXAUTOBUILD% --port 8000 --watch %SOURCEDIR% %SOURCEDIR% %BUILDDIR%\html %SPHINXOPTS% %O%
41+
goto end
42+
3143
:help
3244
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
3345

0 commit comments

Comments
 (0)