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

Update numpy version to avoid error #879

Merged
merged 2 commits into from
Feb 2, 2021
Merged

Conversation

beat-buesser
Copy link
Collaborator

Signed-off-by: Beat Buesser beat.buesser@ie.ibm.com

Description

This pull request increases Numpy version for CI to 1.20.0 to avoid:

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

that started appearing yesterday as discussed in this and similar threads scikit-learn-contrib/hdbscan#457

Type of change

Please check all relevant options.

  • Improvement (non-breaking)
  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
Signed-off-by: Beat Buesser <beat.buesser@ie.ibm.com>
@beat-buesser beat-buesser changed the title Update numpy version to avoid error: Update numpy version to avoid error Feb 1, 2021
@beat-buesser beat-buesser self-assigned this Feb 1, 2021
@beat-buesser beat-buesser added the improvement Improve implementation label Feb 1, 2021
@beat-buesser beat-buesser added this to the ART 1.5.2 milestone Feb 1, 2021
@codecov-io
Copy link

codecov-io commented Feb 1, 2021

Codecov Report

Merging #879 (0a6e363) into dev_1.5.2 (1b2980f) will decrease coverage by 24.77%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##           dev_1.5.2     #879       +/-   ##
==============================================
- Coverage      64.59%   39.81%   -24.78%     
==============================================
  Files            176      176               
  Lines          17147    17147               
  Branches        3176     3176               
==============================================
- Hits           11076     6827     -4249     
- Misses          4820     9539     +4719     
+ Partials        1251      781      -470     
Impacted Files Coverage Δ
...rt/defences/detector/poison/clustering_analyzer.py 8.22% <0.00%> (-86.71%) ⬇️
...ces/detector/evasion/subsetscanning/scanningops.py 11.59% <0.00%> (-85.51%) ⬇️
art/attacks/evasion/carlini.py 8.40% <0.00%> (-80.87%) ⬇️
...ient_descent/projected_gradient_descent_pytorch.py 16.93% <0.00%> (-78.23%) ⬇️
art/metrics/verification_decisions_trees.py 13.75% <0.00%> (-73.02%) ⬇️
art/attacks/evasion/decision_tree_attack.py 22.66% <0.00%> (-69.34%) ⬇️
art/attacks/evasion/elastic_net.py 17.64% <0.00%> (-68.63%) ⬇️
art/defences/detector/poison/activation_defence.py 15.71% <0.00%> (-68.57%) ⬇️
art/defences/detector/poison/roni.py 24.05% <0.00%> (-68.36%) ⬇️
art/attacks/poisoning/poisoning_attack_svm.py 15.96% <0.00%> (-68.07%) ⬇️
... and 73 more

Signed-off-by: Beat Buesser <beat.buesser@ie.ibm.com>
@beat-buesser beat-buesser merged commit f65cbb7 into dev_1.5.2 Feb 2, 2021
@beat-buesser beat-buesser deleted the development_numpy branch February 2, 2021 02:11
Xiaojieqiu added a commit to aristoteleo/dynamo-release that referenced this pull request Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improve implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants