public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-sqlmodel] rawhide: Update to 0.0.39 upstream release
@ 2026-06-26  8:33 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-26  8:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-sqlmodel
            Branch : rawhide
            Commit : 1f8175276ee8e5d96bbabfa1056383bb1c7adcf3
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-06-26T07:39:32+01:00
            Stats  : +25/-22 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-sqlmodel/c/1f8175276ee8e5d96bbabfa1056383bb1c7adcf3?branch=rawhide

            Log:
            Update to 0.0.39 upstream release

- Resolves: rhbz#2492930

Upstream tag: 0.0.39
Upstream commit: 8c684aa0

Commit co-authored by Packit automation (https://packit.dev/)

---
diff --git a/.gitignore b/.gitignore
index 1110dad..296fe3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /sqlmodel-0.0.24.tar.gz
 /sqlmodel-0.0.37.tar.gz
 /sqlmodel-0.0.38.tar.gz
+/sqlmodel-0.0.39.tar.gz

diff --git a/0001-Downstream-only-Patch-for-running-tests-without-cove.patch b/0001-Downstream-only-Patch-for-running-tests-without-cove.patch
index 691ec89..57d572f 100644
--- a/0001-Downstream-only-Patch-for-running-tests-without-cove.patch
+++ b/0001-Downstream-only-Patch-for-running-tests-without-cove.patch
@@ -1,19 +1,26 @@
-From cd5a1024b023eb5a2cfeb2089a5da0a0b453b8da Mon Sep 17 00:00:00 2001
+From ce50e8f2cb9e8edb495ee2282664b4701763741c Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Sun, 13 Oct 2024 09:33:29 -0400
 Subject: [PATCH] Downstream-only: Patch for running tests without coverage
 
 https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
 ---
- tests/conftest.py                                            | 5 +----
- .../test_app_testing/test_tutorial001_tests_main.py          | 5 ++---
- 2 files changed, 3 insertions(+), 7 deletions(-)
+ tests/conftest.py                                           | 6 ++----
+ .../test_app_testing/test_tutorial001_tests_main.py         | 5 ++---
+ 2 files changed, 4 insertions(+), 7 deletions(-)
 
 diff --git a/tests/conftest.py b/tests/conftest.py
-index 1ad80db..8d8946b 100644
+index 9e241eb..31a79c0 100644
 --- a/tests/conftest.py
 +++ b/tests/conftest.py
-@@ -38,10 +38,7 @@ def cov_tmp_path(tmp_path: Path) -> Generator[Path, None, None]:
+@@ -1,5 +1,6 @@
+ import shutil
+ import subprocess
++import sys
+ from collections.abc import Callable, Generator
+ from dataclasses import dataclass, field
+ from pathlib import Path
+@@ -37,10 +38,7 @@ def cov_tmp_path(tmp_path: Path) -> Generator[Path, None, None]:
  def coverage_run(*, module: str, cwd: str | Path) -> subprocess.CompletedProcess:
      result = subprocess.run(
          [
@@ -26,7 +33,7 @@ index 1ad80db..8d8946b 100644
              module,
          ],
 diff --git a/tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py b/tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py
-index e41d4ac..7970cc8 100644
+index 56650ab..b2294b3 100644
 --- a/tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py
 +++ b/tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py
 @@ -1,6 +1,7 @@
@@ -37,7 +44,7 @@ index e41d4ac..7970cc8 100644
  from types import ModuleType
  
  import pytest
-@@ -26,9 +27,7 @@ def test_run_tests(module: ModuleType):
+@@ -24,9 +25,7 @@ def test_run_tests(module: ModuleType):
      top_level_path = Path(__file__).resolve().parent.parent.parent.parent.parent
      result = subprocess.run(
          [
@@ -49,5 +56,5 @@ index e41d4ac..7970cc8 100644
              "pytest",
              test_path,
 -- 
-2.53.0
+2.54.0
 

diff --git a/README.packit b/README.packit
index ef3579c..dd0af79 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.15.2.post1.dev4+g26d226709.
+The file was generated using packit 1.16.1.

diff --git a/python-sqlmodel.spec b/python-sqlmodel.spec
index 7bc9a58..67172e8 100644
--- a/python-sqlmodel.spec
+++ b/python-sqlmodel.spec
@@ -1,5 +1,5 @@
 Name:           python-sqlmodel
-Version:        0.0.38
+Version:        0.0.39
 Release:        %autorelease
 Summary:        SQL databases in Python, designed for simplicity, compatibility, and robustness
 
@@ -23,25 +23,20 @@ BuildArch:      noarch
 # to patch pyproject.toml. We preserve upstream’s lower bounds but remove upper
 # bounds, as we must try to make do with what we have.
 #
-# Since requirements-tests.txt and requirements-docs-tests.txt contain
-# overly-strict version bounds and many unwanted
-# linting/coverage/typechecking/formatting dependencies
-# (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters),
-# we just list the test dependencies we *do* want manually rather than trying
-# to patch the requirements files. We preserve upstream’s lower bounds but
-# remove upper bounds, as we must try to make do with what we have.
-#
 # tests:
 # - Omitted due to
 #   https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters:
-#   black, coverage[toml], mypy, pre-commit, ruff
+#   black, coverage[toml], ruff, ty, typer
 # - Already a direct dependency, perhaps with different version bounds:
 #   typing-extensions
 # - Only needed for ignored tests/test_select_gen.py: black, jinja2
 BuildRequires:  %{py3_dist dirty-equals} >= 0.11
 BuildRequires:  %{py3_dist fastapi} >= 0.128
-BuildRequires:  %{py3_dist httpx} >= 0.28.1
+# Upstream asks for httpx >= 0.28.1, but this is just an indirect dependency
+# via Starlette, and Starlette has deprecated httpx in favor of httpx2.
+BuildRequires:  %{py3_dist httpx2}
 BuildRequires:  %{py3_dist pytest} >= 7.0.1
+BuildRequires:  %{py3_dist typer} >= 0.24.1
 
 %global common_description %{expand:
 SQLModel is a library for interacting with SQL databases from Python code, with

diff --git a/sources b/sources
index eccbf7a..71fab6f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sqlmodel-0.0.38.tar.gz) = c838864a13dfa937d441e2ae7a2700e5bc6fafa1721fe0cc9df9050e6cffe52da47bcd9511530474d6be3909e517886e4e1922b3c24ebdbeaaeadb8ab23a9858
+SHA512 (sqlmodel-0.0.39.tar.gz) = 24b20b7848539a115ca97551b6c2bab712ead44d2573857d0b269833b625ee1a80e1ed7532c6be64ed220b85bd466ba0ec5ca1751de5e32d0d91c4b27b8d6b1b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-26  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26  8:33 [rpms/python-sqlmodel] rawhide: Update to 0.0.39 upstream release Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox