Skip to content

Conversation

jpolton
Copy link
Collaborator

@jpolton jpolton commented Mar 4, 2025

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (./build.sh) was run locally and no errors reported. NB not sure about this requirement: GitActions test this
  • Lint (pylint .) has passed locally and any fixes were made for failures. NB not sure about this requirement: GitActions test this with black

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue URL: #675

What is the new behavior?

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing (pip install . && pytest unit_testing/unit_test.py -s)
  • Extended the README / documentation, if necessary
  • Added myself / the copyright holder to the AUTHORS file

Does this introduce a breaking change?

  • Yes
  • No

Other information

@jpolton jpolton linked an issue Mar 4, 2025 that may be closed by this pull request
1 task
@jpolton jpolton linked an issue Mar 4, 2025 that may be closed by this pull request
1 task
@jpolton jpolton self-assigned this Mar 4, 2025
@jpolton
Copy link
Collaborator Author

jpolton commented Mar 4, 2025

WIP. Segmentation fault during:

pytest unit_testing/test_gridded_initialisation.py -s

Fails during the test for loading multiple files.

@jpolton
Copy link
Collaborator Author

jpolton commented Mar 14, 2025

The following build works, using the setup.py file, where I have heavily specified packages to use the last "old" scipy==1.14 but also made changes to use the new cumulative_trapezoid functions

cd COAsT
conda create -n coast-15mar10 python==3.10 pip
conda activate coast-15mar10
pip install -e .
pip install cartopy #(got 0.24.1)
pip install 'pandas<=1.5.2'  # compatibility issue with old xr.resample() otherwise 

pytest unit_testing/unit_test.py

Works! With the last old scipy=1.14 but new scipy commands
@chrispeq

@jpolton
Copy link
Collaborator Author

jpolton commented Mar 17, 2025

Code passes tests on my local machine.
Next steps:
. investigate failing git Actions
. release as bug fix COAsT==3.3.1

Then investigate dependency package updates...

jpolton and others added 10 commits March 17, 2025 14:58
Install packages using conda command and environment.yml file
Remove python version 3.8 and swap pip install command by conda install command to download/install packages using environment.yml file
Add conda commands to create environment, install dependencies and then activate environment
Add conda init command
Swap conda commands order
MagdaJuarez and others added 29 commits June 6, 2025 10:49
Swap develop branch for 675_scipy_integrate_cumtrapz_update branch and fix typo to step name
Swap develop branch for 675_scipy_integrate_cumtrapz_update branch and fix typo to step name
Swap develop branch for 675_scipy_integrate_cumtrapz_update branch
Update specific version to dask and requests dependencies
Update specific version of dask dependency
Swap develop branch for 675_scipy_integrate_cumtrapz_update branch and fix typo to step name
Update setup config to require python 3.9 and 3.10
Update specific version of dask dependencies
Update step to checkout current branch
Update step to checkout current branch
Update versions of some dependencies so environment.yml and setup.py have same dependencies versions
Format file setup.py
Update script to set conda log's verbosity to level 3
Update workflow to set conda log's verbosity to level 3
Set conda log's verbosity to level 3
Set conda log's verbosity to level 3
Add conda command to remove unused packages and caches
Add conda command to remove unused packages and caches
Remove conda command which removes unused packages and caches
Remove conda command which removes unused packages and caches
Update version of scipy dependency
Add python 3.10 as dependency to setup.py. Update version to scikit-image dependency to both config files
Remove python dependency from install_requires section
Update version for pydap dependency in setup.py and environment.yml
Update version for cartopy dependency
Update version for zarr dependency
Remove conda command to set log verbosity to level 3
@MagdaJuarez MagdaJuarez merged commit decba75 into develop Jun 17, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coast.transect: scipy.integrate.cumtrapz deprecated
2 participants