opencobra / cobrapy

COBRApy is a package for constraint-based modeling of metabolic networks.
http://opencobra.github.io/cobrapy/
GNU General Public License v2.0
467 stars 218 forks source link

Fix the GPR copy in Python 3.13 #1412

Closed cdiener closed 3 days ago

cdiener commented 1 week ago

Implements a clean copy overwrite instead of relying on deepcopy magic using the state. Not sure why this is popping up now and not before as there seem to have been no changes to copying in Python 3.13 :man_shrugging:

cdiener commented 1 week ago

We also need to switch the CI to test 3.9 & 3.13 instead.