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

Re-enable ppc64le build #63

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Re-enable ppc64le build #63

merged 3 commits into from
Dec 11, 2023

Conversation

t20100
Copy link
Contributor

@t20100 t20100 commented Sep 27, 2023

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • 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.

ppc64le build has been disabled in PR #35 (commit b560977).
This PR aims at re-enabling it.

@conda-forge-webservices
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.

@@ -3,17 +3,15 @@ bot:
automerge: true
build_platform:
linux_aarch64: linux_64
linux_ppc64le: linux_64
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Use cross-compilation

win: azure
test_on_native_only: true
test: native_and_emulated
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has been deprecated in favor of the test top-level field. It is now mapped to test: native_and_emulated.

https://conda-forge.org/docs/maintainer/conda_forge_yml.html#test-on-native-only

@t20100
Copy link
Contributor Author

t20100 commented Sep 27, 2023

@conda-forge-admin, please rerender

@t20100
Copy link
Contributor Author

t20100 commented Sep 27, 2023

CI fails for pypy with the following error when importing statsmodels:

Logs:
import: 'statsmodels'
Traceback (most recent call last):
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/test_tmp/run_test.py", line 2, in <module>
    import statsmodels
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/statsmodels/__init__.py", line 1, in <module>
    from statsmodels.compat.patsy import monkey_patch_cat_dtype
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/statsmodels/compat/__init__.py", line 1, in <module>
    from statsmodels.tools._testing import PytestTester
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/statsmodels/tools/__init__.py", line 1, in <module>
    from .tools import add_constant, categorical
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/statsmodels/tools/tools.py", line 5, in <module>
    import pandas as pd
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/pandas/__init__.py", line 22, in <module>
    from pandas.compat import is_numpy_dev as _is_numpy_dev  # pyright: ignore # noqa:F401
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/pandas/compat/__init__.py", line 25, in <module>
    from pandas.compat.numpy import (
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/pandas/compat/numpy/__init__.py", line 4, in <module>
    from pandas.util.version import Version
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/pandas/util/__init__.py", line 2, in <module>
    from pandas.util._decorators import (  # noqa:F401
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/pandas/util/_decorators.py", line 14, in <module>
    from pandas._libs.properties import cache_readonly
  File "/Users/runner/miniforge3/conda-bld/statsmodels_1695799519243/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/pypy3.9/site-packages/pandas/_libs/__init__.py", line 13, in <module>
    from pandas._libs.interval import Interval
TypeError: type 'cython_function_or_method' is not an acceptable base type

@bashtage
Copy link
Contributor

pandas driven failure.

@bashtage
Copy link
Contributor

The latest pandas build seems to be badly broken. From another build on a different project:

Traceback (most recent call last):
  File "D:\bld\arch-py_1695814791478\test_tmp\run_test.py", line 2, in <module>
    import arch
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\arch\__init__.py", line 2, in <module>
    from .univariate.mean import arch_model
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\arch\univariate\__init__.py", line 5, in <module>
    from arch.univariate import recursions_python
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\arch\univariate\recursions_python.py", line 9, in <module>
    from arch.compat.numba import jit
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\arch\compat\numba.py", line 5, in <module>
    from arch.utility.exceptions import PerformanceWarning
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\arch\utility\__init__.py", line 5, in <module>
    from arch.utility.cov import cov_nw
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\arch\utility\cov.py", line 5, in <module>
    from arch.typing import Float64Array
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\arch\typing.py", line 8, in <module>
    from pandas import DataFrame, Series, Timestamp
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\pandas\__init__.py", line 22, in <module>
    from pandas.compat import is_numpy_dev as _is_numpy_dev  # pyright: ignore # noqa:F401
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\pandas\compat\__init__.py", line 25, in <module>
    from pandas.compat.numpy import (
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\pandas\compat\numpy\__init__.py", line 4, in <module>
    from pandas.util.version import Version
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\pandas\util\__init__.py", line 2, in <module>
    from pandas.util._decorators import (  # noqa:F401
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\pandas\util\_decorators.py", line 14, in <module>
    from pandas._libs.properties import cache_readonly
  File "D:\bld\arch-py_1695814791478\_test_env\lib\site-packages\pandas\_libs\__init__.py", line 13, in <module>
    from pandas._libs.interval import Interval
TypeError: type 'cython_function_or_method' is not an acceptable base type

@bashtage
Copy link
Contributor

Seeign it accross Windows, Linux and OSX too.

@t20100
Copy link
Contributor Author

t20100 commented Oct 6, 2023

@conda-forge-admin, please rerender

@t20100
Copy link
Contributor Author

t20100 commented Oct 6, 2023

Rebased to fix conflicts and re-run CI since issue should have been fixed in pypy in the meantime (conda-forge/pypy3.6-feedstock#109)

@xhochy
Copy link
Member

xhochy commented Dec 11, 2023

@conda-forge/statsmodels Can you re-review/merge this?

@bashtage
Copy link
Contributor

@conda-forge-admin, please rerender

@bashtage bashtage merged commit 07a8c09 into conda-forge:main Dec 11, 2023
37 checks passed
@bashtage
Copy link
Contributor

Thanks for the reminder @xhochy. Merged now.

@t20100 t20100 deleted the ppc64le branch December 12, 2023 11:04
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