Skip to content

Commit 00e21eb

Browse files
committed
Squashed 'json/' changes from 544f7c3d..b41167c7
b41167c7 Merge pull request #714 from json-schema-org/more-not 4221a55a Add tests for not: {} schemas for all values. c499d1d2 Merge pull request #713 from spacether/patch-1 24a471bd Update README.md git-subtree-dir: json git-subtree-split: b41167c7468403eaaf88f2b05f835dce16c8403f
1 parent 74dfd48 commit 00e21eb

File tree

603 files changed

+1188
-17299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

603 files changed

+1188
-17299
lines changed
File renamed without changes.
File renamed without changes.

.github/FUNDING.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/SECURITY.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/release.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 12 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,126 +1,25 @@
1-
name: CI
1+
name: Test Suite Sanity Checking
22

33
on:
44
push:
55
pull_request:
66
release:
77
types: [published]
88
schedule:
9-
# Daily at 3:21
10-
- cron: "21 3 * * *"
11-
12-
env:
13-
PIP_DISABLE_PIP_VERSION_CHECK: "1"
14-
PIP_NO_PYTHON_VERSION_WARNING: "1"
9+
# Daily at 6:42, arbitrarily as a time that's possibly non-busy
10+
- cron: '42 6 * * *'
1511

1612
jobs:
17-
pre-commit:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: actions/checkout@v4
21-
- uses: actions/setup-python@v5
22-
with:
23-
python-version: "3.x"
24-
- uses: pre-commit/[email protected]
25-
26-
list:
27-
runs-on: ubuntu-latest
28-
outputs:
29-
noxenvs: ${{ steps.noxenvs-matrix.outputs.noxenvs }}
30-
steps:
31-
- uses: actions/checkout@v4
32-
- name: Set up nox
33-
uses: wntrblm/[email protected]
34-
- id: noxenvs-matrix
35-
run: |
36-
echo >>$GITHUB_OUTPUT noxenvs=$(
37-
nox --list-sessions --json | jq '[.[].session]'
38-
)
39-
4013
ci:
41-
needs: list
42-
runs-on: ${{ matrix.os }}
43-
strategy:
44-
fail-fast: false
45-
matrix:
46-
os: [macos-latest, ubuntu-latest, windows-latest]
47-
noxenv: ${{ fromJson(needs.list.outputs.noxenvs) }}
48-
posargs: [""]
49-
include:
50-
- os: ubuntu-latest
51-
noxenv: "tests-3.11(format)"
52-
posargs: coverage github
53-
- os: ubuntu-latest
54-
noxenv: "tests-3.11(no-extras)"
55-
posargs: coverage github
56-
exclude:
57-
- os: windows-latest
58-
noxenv: "docs(dirhtml)"
59-
- os: windows-latest
60-
noxenv: "docs(doctest)"
61-
- os: windows-latest
62-
noxenv: "docs(linkcheck)"
63-
- os: windows-latest
64-
noxenv: "docs(spelling)"
65-
- os: windows-latest
66-
noxenv: "docs(style)"
67-
68-
steps:
69-
- uses: actions/checkout@v4
70-
- name: Install dependencies
71-
run: sudo apt-get update && sudo apt-get install -y libenchant-2-dev
72-
if: runner.os == 'Linux' && startsWith(matrix.noxenv, 'docs')
73-
- name: Install dependencies
74-
run: brew install enchant
75-
if: runner.os == 'macOS' && startsWith(matrix.noxenv, 'docs')
76-
- name: Set up Python
77-
uses: actions/setup-python@v5
78-
with:
79-
python-version: |
80-
3.8
81-
3.9
82-
3.10
83-
3.11
84-
3.12
85-
pypy3.10
86-
allow-prereleases: true
87-
- name: Set up nox
88-
uses: wntrblm/[email protected]
89-
- name: Enable UTF-8 on Windows
90-
run: echo "PYTHONUTF8=1" >> $env:GITHUB_ENV
91-
if: runner.os == 'Windows' && startsWith(matrix.noxenv, 'tests')
92-
- name: Run nox
93-
run: nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }}
94-
95-
packaging:
96-
needs: ci
9714
runs-on: ubuntu-latest
98-
environment:
99-
name: PyPI
100-
url: https://pypi.org/p/jsonschema
101-
permissions:
102-
contents: write
103-
id-token: write
10415

10516
steps:
106-
- uses: actions/checkout@v4
107-
with:
108-
fetch-depth: 0
109-
- name: Set up Python
110-
uses: actions/setup-python@v5
111-
with:
112-
python-version: "3.x"
113-
- name: Install dependencies
114-
run: python -m pip install build
115-
- name: Create packages
116-
run: python -m build .
117-
- name: Publish to PyPI
118-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
119-
uses: pypa/gh-action-pypi-publish@release/v1
120-
- name: Create a Release
121-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
122-
uses: softprops/action-gh-release@v1
123-
with:
124-
files: |
125-
dist/*
126-
generate_release_notes: true
17+
- uses: actions/checkout@v3
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: '3.x'
22+
- name: Install tox
23+
run: python -m pip install tox
24+
- name: Run the sanity checks
25+
run: python -m tox

.github/workflows/documentation-links.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/fuzz.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.gitignore

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,15 @@ ipython_config.py
101101
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102102
#poetry.lock
103103

104-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
104+
# pdm
105+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106+
#pdm.lock
107+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108+
# in version control.
109+
# https://pdm.fming.dev/#use-with-ide
110+
.pdm.toml
111+
112+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
105113
__pypackages__/
106114

107115
# Celery stuff
@@ -145,13 +153,8 @@ dmypy.json
145153
cython_debug/
146154

147155
# PyCharm
148-
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
156+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
149157
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
150158
# and can be added to the global gitignore or merged into this file. For a more nuclear
151159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
152160
#.idea/
153-
154-
# User defined
155-
_cache
156-
_static
157-
_templates

.pre-commit-config.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.pre-commit-hooks.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.readthedocs.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)