Skip to content

Commit ab9f853

Browse files
committed
Updating dependencies to work with python3.12
1 parent edb072b commit ab9f853

3 files changed

Lines changed: 6 additions & 12 deletions

File tree

CodeEntropy/GeometricFunctions.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ def get_beads(data_container, level):
3333
atom_group = "index " + str(atom.index) + " or (name H* and bonded index " + str(atom.index) +")"
3434
list_of_beads.append(data_container.select_atoms(atom_group))
3535

36-
#TODO temporary print
37-
print("list of beads")
38-
print(level)
39-
print(list_of_beads)
40-
4136
return list_of_beads
4237
#END
4338

@@ -125,7 +120,6 @@ def get_avg_pos(atom_set, center):
125120
Input
126121
-----
127122
atoms : MDAnalysis atom group
128-
arg_frame : frame index (integer)
129123
center : position for center of rotation
130124
131125
Output

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@
6363
zip_safe = False,
6464

6565
install_requires=[
66-
'numpy==1.22.4', #updated from 1.22.3 for the MDAnalysis update
66+
'numpy==1.26.4', # updated on 17 Oct 2024 to work with python3.12
6767
'bitarray==2.5.0',
68-
'mdanalysis==2.6.1', #updated from MDAnalysis 2.1.0
69-
'pandas==2.1.0', #updated from 1.4.2 for the MDAnalysis update
70-
'psutil==5.9.5', #with update
68+
'mdanalysis==2.7.0', # updated on 17 Oct 2024
69+
'pandas==2.2.3', # updated on 17 Oct 2024 to work with python3.12
70+
'psutil==5.9.5',
7171
'dill==0.3.5.1',
7272
'pathos==0.2.9',
7373
],

versioneer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,9 @@ def get_config_from_root(root):
339339
# configparser.NoOptionError (if it lacks "VCS="). See the docstring at
340340
# the top of versioneer.py for instructions on writing your setup.cfg .
341341
setup_cfg = os.path.join(root, "setup.cfg")
342-
parser = configparser.SafeConfigParser()
342+
parser = configparser.ConfigParser()
343343
with open(setup_cfg, "r") as f:
344-
parser.readfp(f)
344+
parser.read_file(f)
345345
VCS = parser.get("versioneer", "VCS") # mandatory
346346

347347
def get(parser, name):

0 commit comments

Comments
 (0)