Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ build:
python: "3"

commands:
Comment on lines 10 to 12
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the Docs’ Ubuntu 22.04 image may ship with an older pip that doesn’t support pip install --group ..., which would make the docs build fail. Consider explicitly upgrading pip (and optionally setuptools/wheel) before this command, and/or pinning build.tools.python to 3.12 to match requires-python = ">=3.12" in pyproject.toml.

Suggested change
python: "3"
commands:
python: "3.12"
commands:
- python -m pip install --upgrade pip setuptools wheel

Copilot uses AI. Check for mistakes.
- python -m pip install '.[docs]'
- python -m pip install --group docs .
- make -C docs html JOBS=$(nproc) BUILDDIR=_readthedocs
- mv docs/_readthedocs _readthedocs
151 changes: 151 additions & 0 deletions fixtures/events.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
[
{
"model": "events.calendar",
"pk": 1,
"fields": {
"created": "2024-10-08T18:43:33.081Z",
"updated": "2024-10-08T18:43:33.123Z",
"creator": [
"admin"
],
"last_modified_by": null,
"url": null,
"rss": "http://python.org/downloads/feed.rss",
"embed": null,
"twitter": "https://x.com/ThePSF",
Comment thread
JacobCoffee marked this conversation as resolved.
"name": "python-events",
"slug": "python-events",
"description": "Example"
}
},
{
"model": "events.eventcategory",
"pk": 1,
"fields": {
"name": "test category",
"slug": "test-category",
"calendar": 1
}
},
{
"model": "events.eventlocation",
"pk": 1,
"fields": {
"calendar": 1,
"name": "Location",
"address": "123 Python Way",
"url": null
}
},
{
"model": "events.event",
"pk": 1,
"fields": {
"created": "2024-10-08T18:45:00.226Z",
"updated": "2024-10-08T18:45:00.243Z",
"creator": [
"admin"
],
"last_modified_by": null,
"uid": null,
"title": "Example event",
"calendar": 1,
"description": "Example event",
"description_markup_type": "restructuredtext",
"venue": null,
"_description_rendered": "<p>Example event</p>\n",
"featured": true,
"categories": [
1
]
}
},
{
"model": "events.event",
"pk": 2,
"fields": {
"created": "2024-10-08T18:45:16.377Z",
"updated": "2024-10-08T18:45:16.387Z",
"creator": [
"admin"
],
"last_modified_by": null,
"uid": null,
"title": "Example event 2",
"calendar": 1,
"description": "event",
"description_markup_type": "restructuredtext",
"venue": null,
"_description_rendered": "<p>event</p>\n",
"featured": false,
"categories": [
1
]
}
},
{
"model": "events.event",
"pk": 3,
"fields": {
"created": "2024-10-08T18:47:21.240Z",
"updated": "2024-10-08T18:47:21.249Z",
"creator": [
"admin"
],
"last_modified_by": null,
"uid": null,
"title": "Example event 3",
"calendar": 1,
"description": "event",
"description_markup_type": "restructuredtext",
"venue": null,
"_description_rendered": "<p>event</p>\n",
"featured": false,
"categories": []
}
},
{
"model": "events.occurringrule",
"pk": 1,
"fields": {
"event": 1,
"dt_start": "2024-10-07T18:42:45Z",
"dt_end": "2030-10-08T18:42:45Z",
"all_day": true
}
},
{
"model": "events.occurringrule",
"pk": 2,
"fields": {
"event": 2,
"dt_start": "2020-10-08T18:45:00Z",
"dt_end": "2023-10-08T18:45:00Z",
"all_day": false
}
},
{
"model": "events.occurringrule",
"pk": 3,
"fields": {
"event": 3,
"dt_start": "2025-10-08T18:45:16Z",
"dt_end": "2025-10-31T18:45:16Z",
"all_day": false
}
},
{
"model": "events.recurringrule",
"pk": 1,
"fields": {
"event": 3,
"begin": "2024-10-08T18:45:16Z",
"finish": "2024-10-09T18:45:16Z",
"duration_internal": "00:15:00",
"duration": "15 min",
"interval": 1,
"frequency": 3,
"all_day": false
}
}
]
Loading