Skip to content

Commit c2ca5e2

Browse files
Merge branch 'main' into edgarrmondragon/refactor/capabilities
2 parents 5b4a7e6 + 39e1619 commit c2ca5e2

File tree

111 files changed

+3118
-1896
lines changed

Some content is hidden

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

111 files changed

+3118
-1896
lines changed

.flake8

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

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
attributes:
1414
label: Singer SDK Version
1515
description: Version of the library you are using
16-
placeholder: "0.38.0"
16+
placeholder: "0.39.1"
1717
validations:
1818
required: true
1919
- type: checkboxes

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ updates:
66
interval: weekly
77
time: "12:00"
88
reviewers: [meltano/engineering]
9-
labels: [deps]
9+
labels: [Dependencies]
1010
groups:
1111
development-dependencies:
1212
dependency-type: development
@@ -21,7 +21,7 @@ updates:
2121
interval: weekly
2222
time: "12:00"
2323
reviewers: [meltano/engineering]
24-
labels: [deps]
24+
labels: [Dependencies]
2525
groups:
2626
ci:
2727
patterns:
@@ -31,7 +31,7 @@ updates:
3131
schedule:
3232
interval: weekly
3333
reviewers: [meltano/engineering]
34-
labels: [deps]
34+
labels: [Dependencies]
3535
groups:
3636
actions:
3737
patterns:

.github/semantic.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ types:
1515
- docs
1616
- feat
1717
- fix
18+
- packaging
1819
- perf
1920
- refactor
2021
- revert

.github/workflows/api-changes.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: API Changes
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- singer_sdk/**
7+
- .github/workflows/api-changes.yml
8+
- CHANGELOG.md
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13+
cancel-in-progress: true
14+
15+
permissions: # added using https://github.com/step-security/secure-repo
16+
contents: read
17+
18+
jobs:
19+
check-api-changes:
20+
name: Check API Changes
21+
runs-on: ubuntu-latest
22+
env:
23+
NOXSESSION: api
24+
steps:
25+
- name: Check out the repository
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Setup Python
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: 3.12
34+
35+
- name: Install tools
36+
env:
37+
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
38+
run: |
39+
python -Im pip install -U pip
40+
pipx install griffe nox
41+
pipx inject nox nox-poetry
42+
pipx list
43+
44+
- name: Set REF
45+
id: set-ref
46+
if: always() && !startsWith(github.head_ref, 'release/')
47+
run: |
48+
echo "ref=${{ github.event.pull_request.base.sha }}" >> $GITHUB_OUTPUT
49+
50+
# Check API against the latest commit on the base branch
51+
- name: Run Nox
52+
run: |
53+
nox -- ${{ steps.set-ref.outputs.ref }}

.github/workflows/codspeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
--with benchmark
4949
--all-extras
5050
51-
- uses: CodSpeedHQ/action@v2
51+
- uses: CodSpeedHQ/action@v3
5252
with:
5353
token: ${{ secrets.CODSPEED_TOKEN }}
5454
run: pytest tests/ --codspeed

.github/workflows/constraints.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
pip==24.1.2
1+
griffe==0.48.0
2+
pip==24.2
23
poetry==1.8.3
34
poetry-plugin-export==1.8.0
45
poetry-dynamic-versioning==1.4.0
5-
pre-commit==3.7.1
6+
pre-commit==3.8.0
67
nox==2024.4.15
78
nox-poetry==1.0.3

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ jobs:
113113
SAMPLE_TAP_GITLAB_GROUP_IDS: ${{ secrets.SAMPLE_TAP_GITLAB_GROUP_IDS }}
114114
SAMPLE_TAP_GITLAB_PROJECT_IDS: ${{ secrets.SAMPLE_TAP_GITLAB_PROJECT_IDS }}
115115
SAMPLE_TAP_GITLAB_START_DATE: "2022-01-01T00:00:00Z"
116-
SAMPLE_TAP_GOOGLE_ANALYTICS_CLIENT_EMAIL: ${{ secrets.SAMPLE_TAP_GOOGLE_ANALYTICS_CLIENT_EMAIL }}
117-
SAMPLE_TAP_GOOGLE_ANALYTICS_PRIVATE_KEY: ${{ secrets.SAMPLE_TAP_GOOGLE_ANALYTICS_PRIVATE_KEY }}
118-
SAMPLE_TAP_GOOGLE_ANALYTICS_VIEW_ID: ${{ secrets.SAMPLE_TAP_GOOGLE_ANALYTICS_VIEW_ID }}
119116

120117
steps:
121118
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ repos:
4343
)$
4444
4545
- repo: https://github.com/python-jsonschema/check-jsonschema
46-
rev: 0.29.0
46+
rev: 0.29.1
4747
hooks:
4848
- id: check-dependabot
4949
- id: check-github-workflows
5050
- id: check-readthedocs
5151

5252
- repo: https://github.com/astral-sh/ruff-pre-commit
53-
rev: v0.5.2
53+
rev: v0.5.7
5454
hooks:
5555
- id: ruff
5656
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
@@ -64,18 +64,6 @@ repos:
6464
cookiecutter/.*
6565
)$
6666
67-
- repo: https://github.com/pycqa/flake8
68-
rev: 7.1.0
69-
hooks:
70-
- id: flake8
71-
additional_dependencies:
72-
- darglint==1.8.1
73-
files: |
74-
(?x)^(
75-
singer_sdk/.*|
76-
samples/.*
77-
)$
78-
7967
- repo: https://github.com/python-poetry/poetry
8068
rev: 1.8.0
8169
hooks:

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.11"
6+
python: "3.12"
77

88
sphinx:
99
builder: html

0 commit comments

Comments
 (0)