Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes for parcels in python3.8 #753

Merged
merged 8 commits into from
Mar 19, 2020
Merged

Bug fixes for parcels in python3.8 #753

merged 8 commits into from
Mar 19, 2020

Conversation

erikvansebille
Copy link
Member

@erikvansebille erikvansebille commented Feb 19, 2020

As reported in #752, parcels does not currently work with python3.8. To address this, we need to implement at least the following fixes

Copy link
Contributor

@CKehl CKehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, apart from possibly resetting the environment string from '3.8' to '>=3.4'

environment_py3_osx.yml Outdated Show resolved Hide resolved
@erikvansebille erikvansebille merged commit b514922 into master Mar 19, 2020
@erikvansebille erikvansebille deleted the python3.8-fix branch March 19, 2020 13:36
erikvansebille added a commit that referenced this pull request Sep 7, 2020
…ated

As reported in #910, the ast fix for python3.8 in #753 only appeared to work when the docstring was on the top of the concatinated kernel.

Now, we assume that all strings are docstrings or comments by default and can be removed. The only exception is the string 'parcels_customed_Cfunc_pointer_args', which is needed when c kernels are included (see tests/test_kernel_language.py -> test_c_kernel)

This fixes #910
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.

None yet

2 participants