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

Try running tests as well #3

Closed
wants to merge 11 commits into from
Closed

Try running tests as well #3

wants to merge 11 commits into from

Conversation

klauer
Copy link
Member

@klauer klauer commented Apr 16, 2020

Checklist

  • Used a fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

  • The test section contained an unexpected subsection name. script is not a valid subsection name.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@klauer
Copy link
Member Author

klauer commented Apr 16, 2020

@conda-forge-admin, please rerender

@github-actions
Copy link

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.

@klauer
Copy link
Member Author

klauer commented Apr 16, 2020

Tests pass on Linux/OSX but are failing on windows with what appears to be a fairly consistent message:

Traceback (most recent call last):
  File "D:\bld\fuzzysearch_1587057106696\test_tmp\tests\test_substitutions_only.py", line 142, in test_all_different
    self.search(substring, text, max_subs=max_subs),
  File "D:\bld\fuzzysearch_1587057106696\test_tmp\tests\test_substitutions_only.py", line 313, in search
    return hnm_subs(subsequence, sequence, max_subs)
  File "D:\bld\fuzzysearch_1587057106696\_test_env\lib\site-packages\fuzzysearch\substitutions_only.py", line 23, in has_near_match_substitutions
    for start_index in search_exact(subsequence, sequence):
  File "D:\bld\fuzzysearch_1587057106696\_test_env\lib\site-packages\fuzzysearch\search_exact.py", line 70, in search_exact
    return search_exact_byteslike(subsequence, sequence,
ValueError: end_index must be non-negative

@klauer
Copy link
Member Author

klauer commented Apr 16, 2020

Related, perhaps: taleinat/fuzzysearch#13

@klauer
Copy link
Member Author

klauer commented Apr 16, 2020

Confusingly, I can't reproduce this with a local windows build of fuzzysearch 0.7.1.

@klauer klauer added bot-rerun Instruct the bot to retry the PR and removed bot-rerun Instruct the bot to retry the PR labels May 7, 2020
@taleinat
Copy link

taleinat commented Jun 25, 2020

Hi @klauer, I just noticed this now...

I'd be happy to help diagnose the failing tests, but unfortunately their outputs are no longer available on Azure Pipelines.

I have a Windows machine available so I'll see if the tests happen to fail for me as well...

@klauer
Copy link
Member Author

klauer commented Jun 25, 2020

@taleinat - no problem. Fixing the merge conflict here should trigger another build - let me know if you still can't see the output from there.

For what it's worth, I had tried a while back to reproduce this locally on a Windows machine and couldn't.

@taleinat
Copy link

So, on the Windows build, for some reason at least one of the Cython modules appears very broken. I'm can't tell why, yet, as I too cannot reproduce this failure on my Windows machine.

BTW, the Cython modules have their C code included in the source. Cython is not required at any stage.

@klauer
Copy link
Member Author

klauer commented Jun 26, 2020

Interesting - I don't think I had noticed the inclusion of the cython-generated C source files. Is that common for cython projects?

I might try a make clean-cython cython && setup.py build out of curiosity to see if it affects the windows builds in this PR.

@taleinat
Copy link

I've started working on this. The issue doesn't seem to be with the Cython-based extensions.

@taleinat
Copy link

@klauer, I've fixed what appears to be the source of this issue. The fix is available in version 0.7.3 which I've just released. Let's try this again with the new version.

@klauer
Copy link
Member Author

klauer commented Jun 29, 2020

Great! Will bump the version and retry.

@taleinat
Copy link

Looks like it's still failing :(

I see build warnings that I don't get when building locally on Windows. I'm using a slightly different version of MSCV: 14.11.25503 vs. version 14.16.27023 used in the Azure DevOps job, perhaps that's the reason?

@klauer
Copy link
Member Author

klauer commented Jun 29, 2020

Hmm :/ it might be, but I don't believe we have control over that in the conda recipes. What's the differing warning you noticed?

Happy to try any other fixes you can think of - patches can be relatively easily applied on top of v0.7.3 without touching the source repo.

@taleinat
Copy link

Is this being built with a standard version of Python or is it somehow customized?

Is there a way to try this manually in a similar environment so that I can to diagnose this?

@klauer
Copy link
Member Author

klauer commented Jun 29, 2020

In the feedstock, there's build-locally.py: https://conda-forge.org/docs/maintainer/updating_pkgs.html#testing-changes-locally which relies on Docker. Windows, sadly, is a different beast: https://conda-forge.org/docs/maintainer/knowledge_base.html#local-testing

conda-forge releases its own Python builds (as does anaconda), but I don't believe they're modified from stock in any significant way.

@klauer
Copy link
Member Author

klauer commented Oct 13, 2020

@conda-forge-admin, please rerender

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@klauer
Copy link
Member Author

klauer commented Jul 7, 2021

@conda-forge-admin, please rerender

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@klauer
Copy link
Member Author

klauer commented Nov 7, 2023

@conda-forge-admin, please rerender

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

@klauer klauer closed this Nov 7, 2023
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.

3 participants