Skip to content

Commit

Permalink
3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
laszewsk committed Dec 16, 2023
1 parent d70bf4d commit c63ce77
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
8 changes: 1 addition & 7 deletions cloudmesh/common/ssh/authorized_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import itertools
import os.path

from six import itervalues

from cloudmesh.common.Shell import Subprocess
from cloudmesh.common.util import tempdir

Expand Down Expand Up @@ -87,13 +85,9 @@ def remove(self, pubkey):
raise NotImplementedError()

def __str__(self):

sio = io.StringIO()

# TODO: make python 2 and 3 compatible
# old: for fingerprint in self._order.itervalues():

for fingerprint in itervalues(self._order):
for fingerprint in self._order.values():
key = self._keys[fingerprint]
sio.write(key)
sio.write('\n')
Expand Down
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ dependencies:
- pytz
- requests
- simplejson
- six
- tabulate
- tqdm
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "cloudmesh-common"
version = "5.0.20"
description = "A set of useful APIs for cloudmesh"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.11"
license = {file = "LICENSE"}
authors = [
{name = "Gregor von Laszewski", email = "laszewski@gmail.com"}
Expand Down Expand Up @@ -57,7 +57,6 @@ dependencies = [
"python-hostlist",
"requests",
"simplejson",
"six",
"tabulate",
"tqdm",
"pyyaml",
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pyfiglet
python-hostlist
requests
simplejson
six
tabulate
tqdm
pyyaml
Expand Down

0 comments on commit c63ce77

Please sign in to comment.