Skip to content

Commit a3cdc01

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fk-attrs
2 parents b0bf5bc + 3e123f7 commit a3cdc01

232 files changed

Lines changed: 718 additions & 8407 deletions

File tree

Some content is hidden

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

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
uv-resolution:
3131
- highest
3232
include:
33-
- os: windows-latest
34-
python-version: "3.9"
35-
uv-resolution: highest
3633
- os: ubuntu-latest
3734
python-version: "3.10"
3835
uv-resolution: lowest-direct

docs/release-notes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22

33
## Latest Changes
44

5+
## 0.0.35
6+
7+
### Breaking Changes
8+
9+
* ➖ Drop support for Python 3.9. PR [#1766](https://github.com/fastapi/sqlmodel/pull/1766) by [@tiangolo](https://github.com/tiangolo).
10+
511
### Internal
612

13+
* 🔨 Add script to remove Python 3.9 files, migrate to Python 3.10. PR [#1767](https://github.com/fastapi/sqlmodel/pull/1767) by [@tiangolo](https://github.com/tiangolo).
714
* ⬆ Bump prek from 0.3.2 to 0.3.3. PR [#1761](https://github.com/fastapi/sqlmodel/pull/1761) by [@dependabot[bot]](https://github.com/apps/dependabot).
815
* ⬆ Bump typer from 0.23.1 to 0.23.2. PR [#1760](https://github.com/fastapi/sqlmodel/pull/1760) by [@dependabot[bot]](https://github.com/apps/dependabot).
916

docs/tutorial/automatic-id-none-refresh.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -342,16 +342,6 @@ And as we created the **engine** with `echo=True`, we can see the SQL statements
342342

343343
////
344344

345-
//// tab | Python 3.9+
346-
347-
```Python
348-
{!./docs_src/tutorial/automatic_id_none_refresh/tutorial002_py39.py!}
349-
```
350-
351-
{!./docs_src/tutorial/automatic_id_none_refresh/annotations/en/tutorial002.md!}
352-
353-
////
354-
355345
And here's all the output generated by running this program, all together:
356346

357347
<div class="termy">

docs/tutorial/create-db-and-table.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -562,16 +562,6 @@ Now, let's give the code a final look:
562562

563563
////
564564

565-
//// tab | Python 3.9+
566-
567-
```{.python .annotate}
568-
{!./docs_src/tutorial/create_db_and_table/tutorial003_py39.py!}
569-
```
570-
571-
{!./docs_src/tutorial/create_db_and_table/annotations/en/tutorial003.md!}
572-
573-
////
574-
575565
/// tip
576566

577567
Review what each line does by clicking each number bubble in the code. 👆

docs/tutorial/delete.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,16 +227,6 @@ Now let's review all that code:
227227

228228
////
229229

230-
//// tab | Python 3.9+
231-
232-
```{ .python .annotate hl_lines="72-90" }
233-
{!./docs_src/tutorial/delete/tutorial002_py39.py!}
234-
```
235-
236-
{!./docs_src/tutorial/delete/annotations/en/tutorial002.md!}
237-
238-
////
239-
240230
/// tip
241231

242232
Check out the number bubbles to see what is done by each line of code.

docs/tutorial/insert.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,6 @@ This is the code we had to create the database and table, nothing new here:
3939

4040
////
4141

42-
//// tab | Python 3.9+
43-
44-
```{.python .annotate hl_lines="22" }
45-
{!./docs_src/tutorial/create_db_and_table/tutorial003_py39.py[ln:1-20]!}
46-
47-
# More code here later 👈
48-
49-
{!./docs_src/tutorial/create_db_and_table/tutorial003_py39.py[ln:23-24]!}
50-
```
51-
52-
{!./docs_src/tutorial/create_db_and_table/annotations/en/tutorial003.md!}
53-
54-
////
55-
5642
Now that we can create the database and the table, we will continue from this point and add more code on the same file to create the data.
5743

5844
## Create Data with SQL
@@ -343,16 +329,6 @@ Let's focus on the new code:
343329

344330
////
345331

346-
//// tab | Python 3.9+
347-
348-
```{.python .annotate }
349-
{!./docs_src/tutorial/insert/tutorial003_py39.py!}
350-
```
351-
352-
{!./docs_src/tutorial/insert/annotations/en/tutorial003.md!}
353-
354-
////
355-
356332
/// tip
357333

358334
Review what each line does by clicking each number bubble in the code. 👆

docs/tutorial/select.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -273,16 +273,6 @@ Let's review the code up to this point:
273273

274274
////
275275

276-
//// tab | Python 3.9+
277-
278-
```{ .python .annotate }
279-
{!./docs_src/tutorial/select/tutorial002_py39.py!}
280-
```
281-
282-
{!./docs_src/tutorial/select/annotations/en/tutorial002.md!}
283-
284-
////
285-
286276
/// tip
287277

288278
Check out the number bubbles to see what is done by each line of code.

docs/tutorial/update.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,6 @@ Now let's review all that code:
236236

237237
////
238238

239-
//// tab | Python 3.9+
240-
241-
```{ .python .annotate hl_lines="44-55" }
242-
{!./docs_src/tutorial/update/tutorial002_py39.py!}
243-
```
244-
245-
{!./docs_src/tutorial/update/annotations/en/tutorial002.md!}
246-
247-
////
248-
249239
/// tip
250240

251241
Check out the number bubbles to see what is done by each line of code.
@@ -272,20 +262,6 @@ This also means that you can update several fields (attributes, columns) at once
272262

273263
////
274264

275-
//// tab | Python 3.9+
276-
277-
```{ .python .annotate hl_lines="15-17 19-21 23" }
278-
# Code above omitted 👆
279-
280-
{!./docs_src/tutorial/update/tutorial004_py39.py[ln:44-70]!}
281-
282-
# Code below omitted 👇
283-
```
284-
285-
{!./docs_src/tutorial/update/annotations/en/tutorial004.md!}
286-
287-
////
288-
289265
/// details | 👀 Full file preview
290266

291267
//// tab | Python 3.10+
@@ -296,14 +272,6 @@ This also means that you can update several fields (attributes, columns) at once
296272

297273
////
298274

299-
//// tab | Python 3.9+
300-
301-
```Python
302-
{!./docs_src/tutorial/update/tutorial004_py39.py!}
303-
```
304-
305-
////
306-
307275
///
308276

309277
/// tip

docs_src/advanced/decimal/tutorial001_py39.py

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

docs_src/advanced/uuid/tutorial001_py39.py

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

0 commit comments

Comments
 (0)