Skip to content
1 change: 1 addition & 0 deletions .github/workflows/update-pixi-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-24.04
if: github.repository_owner == 'pandas-dev'
permissions:
contents: write
pull-requests: write

steps:
Expand Down
12 changes: 8 additions & 4 deletions pandas/tests/io/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,11 +991,15 @@ def test_dataframe_to_sql(conn, test_frame1, request):
@pytest.mark.parametrize("conn", all_connectable)
def test_dataframe_to_sql_empty(conn, test_frame1, request):
if conn == "postgresql_adbc_conn" and not using_string_dtype():
request.node.add_marker(
pytest.mark.xfail(
reason="postgres ADBC driver < 1.2 cannot insert index with null type",
adbc_pg = pytest.importorskip("adbc_driver_postgresql")
if Version(adbc_pg.__version__) < Version("1.11"):
request.node.add_marker(
pytest.mark.xfail(
reason=(
"postgres ADBC driver < 1.11 cannot insert index with null type"
),
)
)
)

# GH 51086 if conn is sqlite_engine
conn = request.getfixturevalue(conn)
Expand Down
Loading
Loading