Skip to content

Commit 62dd6aa

Browse files
authored
Merge pull request #3660 from effigies/feat/script-deps
chore: Add inline dependencies for Python scripts
2 parents 1ac41c7 + 68fbf97 commit 62dd6aa

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

scripts/dataset-owner-query.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# /// script
2+
# requires-python = ">=3.13"
3+
# dependencies = [
4+
# "pymongo",
5+
# ]
6+
# ///
17
import argparse
28
import csv
39
from pymongo import MongoClient

scripts/s3-acl-fix.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# /// script
2+
# requires-python = ">=3.13"
3+
# dependencies = [
4+
# "boto3",
5+
# ]
6+
# ///
17
import argparse
28
import os
39
import re

scripts/s3-delete-all-versions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# /// script
2+
# requires-python = ">=3.13"
3+
# dependencies = [
4+
# "boto3",
5+
# ]
6+
# ///
17
import argparse
28
import logging
39

0 commit comments

Comments
 (0)