Skip to content

Commit

Permalink
Dependencies: require python 3.9. Closes rucio#6251
Browse files Browse the repository at this point in the history
  • Loading branch information
Radu Carpa authored and bari12 committed Jul 20, 2023
1 parent 90d2ea6 commit 70ccd56
Show file tree
Hide file tree
Showing 22 changed files with 71 additions and 679 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Use rucio/containers Dockerfile for integration tests
shell: bash
run: |
sed -i 's;RUN git clone .*;COPY ./rucio /tmp/rucio;' $GITHUB_WORKSPACE/dev/Dockerfile
sed -i 's;RUN git clone .*;COPY ./rucio /tmp/rucio;' $GITHUB_WORKSPACE/dev/alma9.Dockerfile
- name: Build rucio-dev images
id: images
shell: bash
Expand Down
6 changes: 2 additions & 4 deletions bin/rucio-admin
Original file line number Diff line number Diff line change
Expand Up @@ -1341,10 +1341,8 @@ def get_parser():
"""
oparser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]), add_help=True)

required_arg = {}
if sys.version_info >= (3, 7):
# required argument was added in Python 3.7 and restores the Python 2 behavior
required_arg = {'required': True}
# required argument was added in Python 3.7 and restores the Python 2 behavior
required_arg = {'required': True}

subparsers = oparser.add_subparsers(dest='subcommand', **required_arg)

Expand Down
4 changes: 2 additions & 2 deletions etc/docker/dev/docker-compose-storage-alldb.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
rucioclient:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
command: ["sleep", "infinity"]
volumes:
- ../../certs/rucio_ca.pem:/etc/grid-security/certificates/5fca1cb1.0:z
Expand All @@ -20,7 +20,7 @@ services:
- X509_USER_KEY=/opt/rucio/etc/userkey.pem
- RDBMS=postgres14
rucio:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
ports:
- "127.0.0.1:8443:443"
volumes:
Expand Down
4 changes: 2 additions & 2 deletions etc/docker/dev/docker-compose-storage-externalmetadata.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.5"
services:
rucioclient:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
command: ["sleep", "infinity"]
volumes:
- ../../certs/rucio_ca.pem:/etc/grid-security/certificates/5fca1cb1.0:z
Expand All @@ -20,7 +20,7 @@ services:
- X509_USER_KEY=/opt/rucio/etc/userkey.pem
- RDBMS=postgres14
rucio:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
ports:
- "127.0.0.1:8443:443"
volumes:
Expand Down
4 changes: 2 additions & 2 deletions etc/docker/dev/docker-compose-storage-monit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
rucioclient:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
command: ["sleep", "infinity"]
volumes:
- ../../certs/rucio_ca.pem:/etc/grid-security/certificates/5fca1cb1.0:z
Expand All @@ -20,7 +20,7 @@ services:
- X509_USER_KEY=/opt/rucio/etc/userkey.pem
- RDBMS=postgres14
rucio:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
ports:
- "127.0.0.1:8443:443"
volumes:
Expand Down
4 changes: 2 additions & 2 deletions etc/docker/dev/docker-compose-storage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
rucioclient:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
command: ["sleep", "infinity"]
volumes:
- ../../certs/rucio_ca.pem:/etc/grid-security/certificates/5fca1cb1.0:z
Expand All @@ -20,7 +20,7 @@ services:
- X509_USER_KEY=/opt/rucio/etc/userkey.pem
- RDBMS=postgres14
rucio:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
ports:
- "127.0.0.1:8443:443"
volumes:
Expand Down
4 changes: 2 additions & 2 deletions etc/docker/dev/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
rucioclient:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
command: ["sleep", "infinity"]
volumes:
- ../../certs/rucio_ca.pem:/etc/grid-security/certificates/5fca1cb1.0:z
Expand All @@ -20,7 +20,7 @@ services:
- X509_USER_KEY=/opt/rucio/etc/userkey.pem
- RDBMS=postgres14
rucio:
image: docker.io/rucio/rucio-dev
image: docker.io/rucio/rucio-dev:latest-alma9
ports:
- "127.0.0.1:8443:443"
volumes:
Expand Down
176 changes: 0 additions & 176 deletions etc/docker/test/alma8.Dockerfile

This file was deleted.

91 changes: 0 additions & 91 deletions etc/docker/test/centos7.Dockerfile

This file was deleted.

Loading

0 comments on commit 70ccd56

Please sign in to comment.