conda-forge / shapely-feedstock

A conda-smithy repository for shapely.
BSD 3-Clause "New" or "Revised" License
9 stars 20 forks source link

Rebuild for pypy #74

Closed regro-cf-autotick-bot closed 3 years ago

regro-cf-autotick-bot commented 4 years ago

This PR has been triggered in an effort to update pypy.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.

This package has the following downstream children:

And potentially more.

If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. If you would like a local version of this bot, you might consider using rever. Rever is a tool for automating software releases and forms the backbone of the bot's conda-forge PRing capability. Rever is both conda (conda install -c conda-forge rever) and pip (pip install re-ver) installable. Finally, feel free to drop us a line if there are any issues! This PR was generated by , please use this URL for debugging

closes #69

conda-forge-linter commented 4 years ago

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.

xylar commented 4 years ago

Taking a look at setup.py from upstream: https://github.com/Toblerity/Shapely/blob/edcb12a86150dee8c8bf61b43c76231372ca8c38/setup.py#L315-L317 it's clear that the PyPy build of shapely intentionally does not include the speedups or vectorized extensions. I have updated tests accordingly.

xylar commented 4 years ago

@conda-forge-admin, please rerender

mattip commented 3 years ago

The build logs are gone. @conda-forge-admin, please rerender

mattip commented 3 years ago

It seems PyPy's _ctypes implementation falls short:

self = <class 'ctypes.py_object'>, value = None

    def from_param(self, value):
        if isinstance(value, self):
            return value
        try:
            as_parameter = value._as_parameter_
        except AttributeError:
            raise TypeError("expected %s instance instead of %s" % (
>               self.__name__, type(value).__name__))
E           TypeError: expected py_object instance instead of NoneType
regro-cf-autotick-bot commented 3 years ago

Due to the bot-rerun label I'm closing this PR. I will make another one as appropriate. This was generated by