antarctica / PolarRoute

Long-distance maritime polar route planning, taking into account complex changing environmental conditions.
MIT License
15 stars 3 forks source link

Fixing version limits #266

Closed hjabbot closed 5 months ago

hjabbot commented 6 months ago

PolarRoute Pull Request Template

Date: 2024-03-26 Version Number: 0.4.0

Description of change

Fixing issues related to pandas deprecation errors. Was required because Python 3.12 changed how pip works. Pandas resolved this, however our version limit on Pandas stopped this from being updated, meaning that PolarRoute was spitting out many warnings with Python 3.12. Some of these have been fixed, but the SettingWithCopyWarning still exists, and will become deprecated by the time Pandas 3.0 comes out. We should push the refactored route planning by then so I don't think it's worth pursuing fixing these for now.

Fixes:

(MeshiPhi issue #37 is most related)

Testing

To ensure that the functionality of the PolarRoute codebase remains consistent throughout the development cycle a testing strategy has been developed, which can be viewed in the document test/testing_strategy.md. This includes a collection of test files which should be run according to which part of the codebase has been altered in a pull request. Please consult the testing strategy to determine which tests need to be run.

Checklist