Skip to content

Commit 680ffee

Browse files
authored
Merge pull request #6 from jason-famedly/jason/psycopg-merge-develop
2 parents dcc4b5a + 99ff2ac commit 680ffee

292 files changed

Lines changed: 10341 additions & 10686 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.

.ci/before_build_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if command -v yum &> /dev/null; then
77
fi
88

99
# Install a Rust toolchain
10-
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.82.0 -y --profile minimal
10+
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y --profile minimal

.ci/scripts/auditwheel_wrapper.py

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

.ci/scripts/prepare_old_deps.sh

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

.github/dependabot.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,92 @@
11
version: 2
2+
# As dependabot is currently only run on a weekly basis, we raise the
3+
# open-pull-requests-limit to 10 (from the default of 5) to better ensure we
4+
# don't continuously grow a backlog of updates.
25
updates:
36
- # "pip" is the correct setting for poetry, per https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
47
package-ecosystem: "pip"
58
directory: "/"
9+
open-pull-requests-limit: 10
610
schedule:
711
interval: "weekly"
12+
# Group patch updates to packages together into a single PR, as they rarely
13+
# if ever contain breaking changes that need to be reviewed separately.
14+
#
15+
# Less PRs means a streamlined review process.
16+
#
17+
# Python packages follow semantic versioning, and tend to only introduce
18+
# breaking changes in major version bumps. Thus, we'll group minor and patch
19+
# versions together.
20+
groups:
21+
minor-and-patches:
22+
applies-to: version-updates
23+
patterns:
24+
- "*"
25+
update-types:
26+
- "minor"
27+
- "patch"
28+
# Prevent pulling packages that were recently updated to help mitigate
29+
# supply chain attacks. 14 days was taken from the recommendation at
30+
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
31+
# where the author noted that 9/10 attacks would have been mitigated by a
32+
# two week cooldown.
33+
#
34+
# The cooldown only applies to general updates; security updates will still
35+
# be pulled in as soon as possible.
36+
cooldown:
37+
default-days: 14
838

939
- package-ecosystem: "docker"
1040
directory: "/docker"
41+
open-pull-requests-limit: 10
1142
schedule:
1243
interval: "weekly"
44+
# For container versions, breaking changes are also typically only introduced in major
45+
# package bumps.
46+
groups:
47+
minor-and-patches:
48+
applies-to: version-updates
49+
patterns:
50+
- "*"
51+
update-types:
52+
- "minor"
53+
- "patch"
54+
cooldown:
55+
default-days: 14
1356

1457
- package-ecosystem: "github-actions"
1558
directory: "/"
59+
open-pull-requests-limit: 10
1660
schedule:
1761
interval: "weekly"
62+
# Similarly for GitHub Actions, breaking changes are typically only introduced in major
63+
# package bumps.
64+
groups:
65+
minor-and-patches:
66+
applies-to: version-updates
67+
patterns:
68+
- "*"
69+
update-types:
70+
- "minor"
71+
- "patch"
72+
cooldown:
73+
default-days: 14
1874

1975
- package-ecosystem: "cargo"
2076
directory: "/"
77+
open-pull-requests-limit: 10
2178
versioning-strategy: "lockfile-only"
2279
schedule:
2380
interval: "weekly"
81+
# The Rust ecosystem is special in that breaking changes are often introduced
82+
# in minor version bumps, as packages typically stay pre-1.0 for a long time.
83+
# Thus we specifically keep minor version bumps separate in their own PRs.
84+
groups:
85+
patches:
86+
applies-to: version-updates
87+
patterns:
88+
- "*"
89+
update-types:
90+
- "patch"
91+
cooldown:
92+
default-days: 14

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
steps:
2929
- name: Set up Docker Buildx
3030
id: buildx
31-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
31+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3232

3333
- name: Checkout repository
34-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535

3636
- name: Extract version from pyproject.toml
3737
# Note: explicitly requesting bash will mean bash is invoked with `-eo pipefail`, see
@@ -75,7 +75,7 @@ jobs:
7575
touch "${{ runner.temp }}/digests/${digest#sha256:}"
7676
7777
- name: Upload digest
78-
uses: actions/upload-artifact@v5
78+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7979
with:
8080
name: digests-${{ matrix.suffix }}
8181
path: ${{ runner.temp }}/digests/*
@@ -95,7 +95,7 @@ jobs:
9595
- build
9696
steps:
9797
- name: Download digests
98-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
98+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
9999
with:
100100
path: ${{ runner.temp }}/digests
101101
pattern: digests-*
@@ -117,13 +117,13 @@ jobs:
117117
password: ${{ secrets.GITHUB_TOKEN }}
118118

119119
- name: Set up Docker Buildx
120-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
120+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
121121

122122
- name: Install Cosign
123123
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
124124

125125
- name: Calculate docker image tag
126-
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
126+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
127127
with:
128128
images: ${{ matrix.repository }}
129129
flavor: |

.github/workflows/docs-pr-netlify.yaml

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

0 commit comments

Comments
 (0)