Skip to content

Commit c85f0be

Browse files
committed
bump artifact actions to v4
1 parent 433f700 commit c85f0be

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
CIBW_ARCHS_LINUX: "auto aarch64"
4848
run: python -m cibuildwheel
4949

50-
- uses: actions/upload-artifact@v3
50+
- uses: actions/upload-artifact@v4
5151
with:
5252
path: ./wheelhouse/*.whl
5353

@@ -72,7 +72,7 @@ jobs:
7272
CIBW_ARCHS_MACOS: "x86_64 arm64"
7373
run: python -m cibuildwheel
7474

75-
- uses: actions/upload-artifact@v3
75+
- uses: actions/upload-artifact@v4
7676
with:
7777
path: ./wheelhouse/*.whl
7878

@@ -98,7 +98,7 @@ jobs:
9898
SCOUT_DISABLE_EXTENSIONS: "1"
9999
run: python setup.py bdist_wheel
100100

101-
- uses: actions/upload-artifact@v3
101+
- uses: actions/upload-artifact@v4
102102
with:
103103
path: dist/*.whl
104104

@@ -116,7 +116,7 @@ jobs:
116116
- name: Build sdist
117117
run: python setup.py sdist
118118

119-
- uses: actions/upload-artifact@v3
119+
- uses: actions/upload-artifact@v4
120120
with:
121121
path: dist/*.tar.gz
122122

src/scout_apm/core/sampler.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def __init__(self, config):
3232
self.ignore_endpoints = set(
3333
config.value("ignore_endpoints") + config.value("ignore")
3434
)
35-
self.legacy_ignore = set(config.value("ignore"))
3635
self.ignore_jobs = set(config.value("ignore_jobs"))
3736
self.endpoint_sample_rate = config.value("endpoint_sample_rate")
3837
self.job_sample_rate = config.value("job_sample_rate")
@@ -49,7 +48,6 @@ def _any_sampling(self):
4948
or self.sample_endpoints
5049
or self.sample_jobs
5150
or self.ignore_endpoints
52-
or self.legacy_ignore
5351
or self.ignore_jobs
5452
or self.endpoint_sample_rate is not None
5553
or self.job_sample_rate is not None

0 commit comments

Comments
 (0)