It seems that we cannot include a direct git dependency for building the package for publishing:
Publishing coupledmodeldriver (1.5.0) to PyPI
- Uploading coupledmodeldriver-1.5.0-py3-none-any.whl 0%
- Uploading coupledmodeldriver-1.5.0-py3-none-any.whl 1[8](https://github.com/noaa-ocs-modeling/CoupledModelDriver/runs/6696377333?check_suite_focus=true#step:7:9)%
- Uploading coupledmodeldriver-1.5.0-py3-none-any.whl [10](https://github.com/noaa-ocs-modeling/CoupledModelDriver/runs/6696377333?check_suite_focus=true#step:7:11)0%
UploadError
HTTP Error 400: Invalid value for requires_dist. Error: Can't have direct dependency: 'pyschism @ git+https://github.com/schism-dev/pyschism.git@main'
The problem is pyschism has not been published since September last year, and there has been significant updates made in the main branch. Maybe the easy approach to solve this is to just remove the pyschism dependency from pyproject.toml file and explicitly install it for tests. Also ask the users to install it (?). Though this last part would be very messy!
@zacharyburnett, when I tried to publish
v1.5
, I got this error: https://github.com/noaa-ocs-modeling/CoupledModelDriver/runs/6696377333It seems that we cannot include a direct git dependency for building the package for publishing:
The problem is
pyschism
has not been published since September last year, and there has been significant updates made in themain
branch. Maybe the easy approach to solve this is to just remove thepyschism
dependency frompyproject.toml
file and explicitly install it for tests. Also ask the users to install it (?). Though this last part would be very messy!What do you think?