Skip to content

try to use python3.10 #561

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

Merged
merged 3 commits into from
May 7, 2022
Merged

try to use python3.10 #561

merged 3 commits into from
May 7, 2022

Conversation

AtsushiSakai
Copy link
Owner

Reference issue

To fix #557

What does this implement/fix?

Bump python-support to 3.10.

Additional information

@AtsushiSakai
Copy link
Owner Author

CI fails due to matplotlib. v3.5.x isneeded.
Use sysconfig directly instead of through distutils by QuLogic · Pull Request #21072 · matplotlib/matplotlib matplotlib/matplotlib#21072

@AtsushiSakai
Copy link
Owner Author

Rerun CI.

1 similar comment
@AtsushiSakai
Copy link
Owner Author

Rerun CI.

@AtsushiSakai
Copy link
Owner Author

AtsushiSakai commented Dec 25, 2021

XCode bug?

ecos/ecos_bb/ecos_bb.c:388:5: error: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
        memcpy(problem->tmp_branching_bool_node_id, get_bool_node_id(node_idx, problem), bool_node_size);
        ^
    ecos/ecos_bb/ecos_bb.c:388:5: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
    1 warning and 1 error generated.

Ref: MaskRay/ccls#512

@AtsushiSakai
Copy link
Owner Author

Ref: embotech/ecos#191

ecos/ecos_bb/ecos_bb.c:100:77: warning: format specifies type 'unsigned int' but the argument has type 'idxint' (aka 'long') [-Wformat]
            PRINTTEXT("Node info %u: %u : %.2f : %.2f : %u : %.2f Partial id:", i, prob->nodes[i].status, prob->nodes[i].L, prob->nodes[i].U, (int)prob->nodes[i].split_idx, prob->nodes[i].split_val);
                                 ~~                                             ^
                                 %ld

@AtsushiSakai
Copy link
Owner Author

Rerun CI

@AtsushiSakai AtsushiSakai reopened this Jan 3, 2022
@AtsushiSakai
Copy link
Owner Author

The test failures come from scipy's distutil deprication. (Ref: scipy/scipy#13615)
Maybe 1.9.0 will resolve the deprecation warning issue due to using Meson.

=========================== short test summary info ============================
ERROR tests/test_eta3_spline_path.py - DeprecationWarning: The distutils pack...
ERROR tests/test_eta3_spline_path.py - DeprecationWarning: The distutils pack...
ERROR tests/test_gaussian_grid_map.py - DeprecationWarning: The distutils pac...
ERROR tests/test_gaussian_grid_map.py - DeprecationWarning: The distutils pac...
ERROR tests/test_histogram_filter.py - DeprecationWarning: The distutils pack...
ERROR tests/test_histogram_filter.py - DeprecationWarning: The distutils pack...
ERROR tests/test_rear_wheel_feedback.py - DeprecationWarning: The distutils p...
ERROR tests/test_rear_wheel_feedback.py - DeprecationWarning: The distutils p...

@AtsushiSakai AtsushiSakai merged commit b9345da into master May 7, 2022
@AtsushiSakai AtsushiSakai deleted the issue_557 branch May 7, 2022 07: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.

Support python 3.10
1 participant