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

CI: series_methods.IsInLongSeriesLookUpDominates.time_isin fails with NumPy 1.20+ #39844

Closed
simonjayhawkins opened this issue Feb 16, 2021 · 0 comments · Fixed by #42473
Closed
Labels
Benchmark Performance (ASV) benchmarks CI Continuous Integration
Milestone

Comments

@simonjayhawkins
Copy link
Member

xref #38379 (comment), benchmarks skipped in #39795

[  0.00%] ·· Benchmarking existing-py_home_simon_miniconda3_envs_numpy-types_bin_python
[ 50.00%] ··· series_methods.IsInLongSeriesLookUpDominates.time_isin                                               16/56 failed
[ 50.00%] ··· ========= =========== ============= =============== =============== =================
              --                                              series_type                          
              --------------------- ---------------------------------------------------------------
                dtype    MaxNumber   random_hits   random_misses   monotone_hits   monotone_misses 
              ========= =========== ============= =============== =============== =================
                int64        5         33.5±0ms       38.2±0ms        38.8±0ms         33.8±0ms    
                int64       1000       31.5±0ms       30.7±0ms        32.0±0ms         88.0±0ms    
                int32        5         20.3±0ms       20.1±0ms        22.0±0ms         20.6±0ms    
                int32       1000       28.6±0ms       31.5±0ms        28.8±0ms         79.0±0ms    
               float64       5         33.3±0ms       31.8±0ms        49.3±0ms         36.9±0ms    
               float64      1000       103±0ms        161±0ms         67.6±0ms         156±0ms     
               float32       5         21.0±0ms       20.3±0ms        21.7±0ms         20.1±0ms    
               float32      1000       91.1±0ms       151±0ms         57.9±0ms         148±0ms     
                object       5         100±0ms        172±0ms         84.5±0ms         212±0ms     
                object      1000       149±0ms        60.9±0ms        126±0ms          265±0ms     
                Int64        5          failed         failed          failed           failed     
                Int64       1000        failed         failed          failed           failed     
               Float64       5          failed         failed          failed           failed     
               Float64      1000        failed         failed          failed           failed     
              ========= =========== ============= =============== =============== =================

[ 50.00%] ···· For parameters: 'Int64', 5, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 5, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 5, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 5, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Float64', 5, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 5, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 5, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 5, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
@simonjayhawkins simonjayhawkins added CI Continuous Integration Benchmark Performance (ASV) benchmarks labels Feb 16, 2021
@simonjayhawkins simonjayhawkins added this to the Contributions Welcome milestone Feb 16, 2021
@jreback jreback modified the milestones: Contributions Welcome, 1.3.1 Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Benchmark Performance (ASV) benchmarks CI Continuous Integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants