Skip to content

Commit 70e74c1

Browse files
committed
bug: fix distutils LooseVersion import
Problem: distutils was removed python 3.12 Solution: import from packaging Signed-off-by: vsoch <[email protected]>
1 parent cd2630e commit 70e74c1

Some content is hidden

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

63 files changed

+68
-113
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,16 @@ jobs:
1313
container_tech: [podman, singularity, docker]
1414
steps:
1515
- name: Install Dependencies
16+
run: sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev tcsh
17+
18+
# https://github.com/actions/runner-images/issues/10443
19+
- name: Update Unshare Permission
20+
if: ${{ matrix.container_tech == 'singularity' }}
1621
run: |
17-
sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev tcsh
22+
cp /etc/sysctl.conf ./sysctl.conf
23+
echo "kernel.unprivileged_userns_clone=1" >> ./sysctl.conf
24+
sudo mv ./sysctl.conf /etc/sysctl.conf
25+
sudo sysctl -p
1826
1927
- name: Install Environment Modules
2028
if: ${{ matrix.module[0] == 'tcl' }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

shpc/client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
__author__ = "Vanessa Sochat"
4-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
4+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
55
__license__ = "MPL 2.0"
66

77
import argparse

shpc/client/add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
2+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

55
import shpc.utils

shpc/client/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
2+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

55
import shpc.utils

shpc/client/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
2+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

55
import sys

shpc/client/docgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
2+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

55
import shpc.utils

shpc/client/get.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
2+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

55
import shpc.utils

shpc/client/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
2+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

55

shpc/client/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Vanessa Sochat"
2-
__copyright__ = "Copyright 2021-2024, Vanessa Sochat"
2+
__copyright__ = "Copyright 2021-2025, Vanessa Sochat"
33
__license__ = "MPL 2.0"
44

55
import shpc.utils

0 commit comments

Comments
 (0)