dynamic resource allocation: "extending Kubernetes" documentation

What would you like to be added?
https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/ describes CSI, device plugins and other extension points.
It would be useful to have a page there about DRA.
Why is this needed?
It would help vendors who want to create their own DRA driver.

/language en

/triage accepted

I would like to work on this issue

/assign @yrs147

I'm having an issue setting up the website on my local

@divya-mohan0209 @sftim, can you please tell me how to fix this, cause I've tried everything.

@kannon92: perhaps this is something that you could pick up?

@pohly One thing I worry about is that since DRA is alpha I wonder if we should just link https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/ rather than creating a new page like we did for device-plugins/ CNI plugins.

The existing page is more oriented towards users. What we want is something for developers.

I am afraid I won't be able to work on this issue.  I thought I'd be working on more DRA items but things did not turn out that way.
/unassign

/assign


Create Graph example data

As a sys-admin, once my API and graph are running, I'd like to have some Neurobagel conform example data to start uploading to the new graph DB, so that I can test that the query works correctly and I find what I should.

Closing because we now have https://github.com/neurobagel/examples


Support future years in the license check

The verifyLicense command compares each file's header to a hardcoded text
file that specifies the year as 2016. Since it's no longer 2016, and will not
be 2016 for the foreseeable future, the command now does an in-memory regex
replace for "Copyright 20[0-9]{2}" with "Copyright 20xx" before comparison.

Sorry I am not sure if I understand the change. We were using the regex to do the header matching so it would work for both 2016 and 2017, am I right?

@shinfan The check was hardcoded to only pass if the year was 2016. Now it accepts any year between 2000 and 2099 via regex.

LGTM

LGTM


Is there something missing in the installation of libuvc

I am interested in installing the libuvc package for python.
I went to the page at https://github.com/pupil-labs/libuvc and followed the instructions at the bottom.
Here is the following data:
OS: MS Windows 7 (64 (bit)
Python: 3.4.4 (64 bit)
Opencv: 3.2.0
libusb: <IP_ADDRESS>05, from usb0.getVersion() =  major= 1, minor=0, micro=19, nano=10905, rc=b'', describe=b'http://libusb.info = <IP_ADDRESS>05
CMake: 3.8.0-rc2
I looked at https://github.com/pupil-labs/pyuvc/blob/master/WINDOWS_USER.md and this does not apply since I have Windows 7 and not Window 8.
Here is the output from the cmake program. Using MSVC2015.

The C compiler identification is MSVC 19.0.24215.1
The CXX compiler identification is MSVC 19.0.24215.1
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
No build type selected, default to Release
No target type selected, default to shared library
Building libuvc with JPEG support.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
JPEG_LIBRARY_NAMES
    linked by target "uvc" in directory C:/Python34/libuvc
LIBUSB_INCLUDE_DIR
   used as include directory in directory C:/Python34/libuvc
   used as include directory in directory C:/Python34/libuvc
LIBUSB_LIBRARY_NAMES
    linked by target "uvc" in directory C:/Python34/libuvc
PTHREAD_INCLUDE_DIR
   used as include directory in directory C:/Python34/libuvc
   used as include directory in directory C:/Python34/libuvc
PTHREAD_LIBRARY_NAMES
    linked by target "uvc" in directory C:/Python34/libuvc

Configuring incomplete, errors occurred!
See also "C:/Python34/libuvc/CMakeFiles/CMakeOutput.log".

Have I missed something?
Thank you for your assistance
Remarks:
I have Windows 7 and not a Developer so the md files were irrelevant.
I have the pre-requisites listed at https://github.com/pupil-labs/libuvc/blob/master/INSTALL_WINDOWS.md
Even though I am not a 'developer' as in the md file, I still downloaded "libjpeg-turbo64" and set up the correct environment variables in the path.
Even though I am not a Win8 user, I did notice that the requirement to download download and install libusbk <IP_ADDRESS> at https://sourceforge.net/projects/libusbk/files/libusbK-release/<IP_ADDRESS>/libusbK-<IP_ADDRESS>-setup.exe/download for Window 8 caused my Symantec end point protection anti-virus program reported this as having the following issues:

* WS.Reputation.1
* There is strong evidence that this file is untrustworthy.
* This file has been seen by hundreds of Symantec users.
* Symantec has known about this file for more than 1 year.
* There is strong evidence that this file is untrustworthy.

There is no evidence of other anti-virus/anti-malware/anti-spybot on my computer programs detecting this problem.

I forgot to mention that I looked at "C:/Python34/libuvc/CMakeFiles/CMakeOutput.log
cmakeoutput.txt
and there was nothing remarkable.
The file cmakeoutput.txt as opposed to cmakeoutput.log is attached (the system only likes files with the *.txt suffix) which is the same as cmakeoutput.log
Typically the results is

Build succeeded.
    0 Warning(s)
    0 Error(s)

Thank you,
Anthony, Sydney NSW

I will ask the question again, in another issue.
I am still having trouble installing


[DO-NOT-MERGE] Test in different versions

What changes were proposed in this pull request?
TBD
Why are the changes needed?
TBD
Does this PR introduce any user-facing change?
TBD
How was this patch tested?
TBD
Was this patch authored or co-authored using generative AI tooling?
No

======================================================================
ERROR [2.320s]: test_mad (pyspark.pandas.tests.connect.computation.test_parity_compute.FrameParityComputeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/computation/test_compute.py", line 96, in test_mad
    self.assert_eq(psdf.mad(axis=1), pdf.mad(axis=1))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 525, in assert_eq
    return assertPandasOnSparkEqual(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 457, in assertPandasOnSparkEqual
    actual = actual.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 1718, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 1724, in _to_pandas
    return self._to_internal_pandas().copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 7333, in _to_internal_pandas
    return self._psdf._internal.to_pandas_frame[self.name]
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1834, in main
    process()
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1826, in process
    serializer.dump_stream(out_iter, outfile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 531, in dump_stream
    return ArrowStreamSerializer.dump_stream(self, init_stream_yield_batches(), stream)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 104, in dump_stream
    for batch in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 524, in init_stream_yield_batches
    for series in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1734, in mapper
    result = tuple(f(*[a[o] for o in arg_offsets]) for arg_offsets, f in udfs)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1734, in <genexpr>
    result = tuple(f(*[a[o] for o in arg_offsets]) for arg_offsets, f in udfs)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 146, in <lambda>
    verify_result_length(verify_result_type(func(*a)), len(a[0])),
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/util.py", line 134, in wrapper
    return f(*args, **kwargs)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 12809, in calculate_columns_axis
    return pd.concat(cols, axis=1).mad(axis=1)
  File "/usr/share/miniconda/envs/server-env/lib/python3.10/site-packages/pandas/core/generic.py", line 6299, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'mad'. Did you mean: 'map'?
----------------------------------------------------------------------

======================================================================
ERROR [0.453s]: test_between_time (pyspark.pandas.tests.connect.frame.test_parity_reindexing.FrameParityReindexingTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/frame/test_reindexing.py", line 126, in test_between_time
    self.assert_eq(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 536, in assert_eq
    robj = self._to_pandas(right)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 557, in _to_pandas
    return obj.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 5428, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 5434, in _to_pandas
    return self._internal.to_pandas_frame.copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line [1264](https://github.com/HyukjinKwon/spark/actions/runs/8995773489/job/24714432619#step:9:1265), in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1834, in main
    process()
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1826, in process
    serializer.dump_stream(out_iter, outfile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 531, in dump_stream
    return ArrowStreamSerializer.dump_stream(self, init_stream_yield_batches(), stream)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 104, in dump_stream
    for batch in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 524, in init_stream_yield_batches
    for series in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1529, in func
    for result_batch, result_type in result_iter:
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/groupby.py", line 2295, in rename_output
    pdf = func(pdf)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/accessors.py", line 350, in new_func
    return original_func(o, *args, **kwds)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 3612, in pandas_between_time
    return pdf.between_time(start_time, end_time, include_start, include_end).reset_index()
  File "/usr/share/miniconda/envs/server-env/lib/python3.10/site-packages/pandas/core/generic.py", line 9371, in between_time
    raise TypeError("Index must be DatetimeIndex")
TypeError: Index must be DatetimeIndex
----------------------------------------------------------------------

======================================================================
ERROR [15.001s]: test_aggregate (pyspark.pandas.tests.connect.groupby.test_parity_aggregate.GroupbyParityAggregateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/groupby/test_aggregate.py", line 179, in test_aggregate
    stats_pdf.sort_values(by=[(20, "min"), (20, "max"), (30, "sum")]).reset_index(
  File "/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/util/_decorators.py", line 331, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/frame.py", line 6894, in sort_values
    keys = [self._get_label_or_level_values(x, axis=axis) for x in by]
  File "/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/frame.py", line 6894, in <listcomp>
    keys = [self._get_label_or_level_values(x, axis=axis) for x in by]
  File "/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/generic.py", line 1838, in _get_label_or_level_values
    self._check_label_or_level_ambiguity(key, axis=axis)
  File "/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/generic.py", line 1780, in _check_label_or_level_ambiguity
    and key in self.axes[axis].names
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
----------------------------------------------------------------------

======================================================================
ERROR [2.615s]: test_map (pyspark.pandas.tests.connect.indexes.test_parity_category.CategoricalIndexParityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/indexes/test_category.py", line 408, in test_map
    self.assert_eq(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 536, in assert_eq
    robj = self._to_pandas(right)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 557, in _to_pandas
    return obj.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 524, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 530, in _to_pandas
    return self._to_internal_pandas().copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 503, in _to_internal_pandas
    return self._psdf._internal.to_pandas_frame.index
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1818, in main
    func, profiler, deserializer, serializer = read_udfs(pickleSer, infile, eval_type)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1728, in read_udfs
    read_single_udf(
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 783, in read_single_udf
    f, return_type = read_command(pickleSer, infile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker_util.py", line 64, in read_command
    command = serializer._read_with_length(file)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 173, in _read_with_length
    return self.loads(obj)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 473, in loads
    return cloudpickle.loads(obj, encoding=encoding)
ModuleNotFoundError: No module named 'pandas.core.indexes.numeric'
----------------------------------------------------------------------

======================================================================
ERROR [9.997s]: test_map (pyspark.pandas.tests.connect.indexes.test_parity_base.IndexesParityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/indexes/test_base.py", line 2642, in test_map
    self.assert_eq(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 536, in assert_eq
    robj = self._to_pandas(right)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 557, in _to_pandas
    return obj.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 524, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 530, in _to_pandas
    return self._to_internal_pandas().copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 503, in _to_internal_pandas
    return self._psdf._internal.to_pandas_frame.index
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1818, in main
    func, profiler, deserializer, serializer = read_udfs(pickleSer, infile, eval_type)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1728, in read_udfs
    read_single_udf(
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 783, in read_single_udf
    f, return_type = read_command(pickleSer, infile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker_util.py", line 64, in read_command
    command = serializer._read_with_length(file)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 173, in _read_with_length
    return self.loads(obj)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 473, in loads
    return cloudpickle.loads(obj, encoding=encoding)
ModuleNotFoundError: No module named 'pandas.core.indexes.numeric'

---------------------------------------------------------------------

======================================================================
ERROR [2.158s]: test_between_time (pyspark.pandas.tests.connect.series.test_parity_compute.SeriesParityComputeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/series/test_compute.py", line 578, in test_between_time
    self.assert_eq(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 536, in assert_eq
    robj = self._to_pandas(right)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 557, in _to_pandas
    return obj.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 1718, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 1724, in _to_pandas
    return self._to_internal_pandas().copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 7333, in _to_internal_pandas
    return self._psdf._internal.to_pandas_frame[self.name]
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1834, in main
    process()
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1826, in process
    serializer.dump_stream(out_iter, outfile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 531, in dump_stream
    return ArrowStreamSerializer.dump_stream(self, init_stream_yield_batches(), stream)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 104, in dump_stream
    for batch in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 524, in init_stream_yield_batches
    for series in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1529, in func
    for result_batch, result_type in result_iter:
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/groupby.py", line 2295, in rename_output
    pdf = func(pdf)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/accessors.py", line 350, in new_func
    return original_func(o, *args, **kwds)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 3612, in pandas_between_time
    return pdf.between_time(start_time, end_time, include_start, include_end).reset_index()
  File "/usr/share/miniconda/envs/server-env/lib/python3.10/site-packages/pandas/core/generic.py", line 9371, in between_time
    raise TypeError("Index must be DatetimeIndex")
TypeError: Index must be DatetimeIndex
======================================================================
ERROR [0.249s]: test_factorize (pyspark.pandas.tests.connect.series.test_parity_compute.SeriesParityComputeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/series/test_compute.py", line 426, in test_factorize
    kcodes, kuniques = psser.factorize()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/base.py", line 1766, in factorize
    new_scol = null_scol.otherwise(map_scol[self.spark.column])
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/column.py", line 465, in __getitem__
    return Column(UnresolvedExtractValue(self._expr, LiteralExpression._from_value(k)))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/expressions.py", line 336, in _from_value
    return LiteralExpression(value=value, dataType=LiteralExpression._infer_type(value))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/expressions.py", line 329, in _infer_type
    raise PySparkTypeError(
pyspark.errors.exceptions.base.PySparkTypeError: [UNSUPPORTED_DATA_TYPE] Unsupported DataType `Column`.
----------------------------------------------------------------------

======================================================================
ERROR [2.060s]: test_frame_apply_batch_without_shortcut (pyspark.pandas.tests.connect.test_parity_categorical.CategoricalParityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_categorical.py", line 476, in test_frame_apply_batch_without_shortcut
    self.test_frame_apply_batch()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_categorical.py", line 457, in test_frame_apply_batch
    self.assert_eq(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 525, in assert_eq
    return assertPandasOnSparkEqual(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 457, in assertPandasOnSparkEqual
    actual = actual.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 5428, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 5434, in _to_pandas
    return self._internal.to_pandas_frame.copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
    return cloudpickle.loads(obj, encoding=encoding)
ModuleNotFoundError: No module named 'pandas.core.indexes.numeric'
======================================================================
ERROR [1.477s]: test_series_transform_batch_without_shortcut (pyspark.pandas.tests.connect.test_parity_categorical.CategoricalParityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_categorical.py", line [602](https://github.com/HyukjinKwon/spark/actions/runs/8997403746/job/24725108255#step:9:603), in test_series_transform_batch_without_shortcut
    self.test_series_transform_batch()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_categorical.py", line 583, in test_series_transform_batch
    self.assert_eq(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 525, in assert_eq
    return assertPandasOnSparkEqual(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 457, in assertPandasOnSparkEqual
    actual = actual.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 1718, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 1724, in _to_pandas
    return self._to_internal_pandas().copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 7333, in _to_internal_pandas
    return self._psdf._internal.to_pandas_frame[self.name]
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1818, in main
    func, profiler, deserializer, serializer = read_udfs(pickleSer, infile, eval_type)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1728, in read_udfs
    read_single_udf(
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 783, in read_single_udf
    f, return_type = read_command(pickleSer, infile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker_util.py", line 64, in read_command
    command = serializer._read_with_length(file)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 173, in _read_with_length
    return self.loads(obj)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 473, in loads
    return cloudpickle.loads(obj, encoding=encoding)
ModuleNotFoundError: No module named 'pandas.core.indexes.numeric'
----------------------------------------------------------------------

2024-05-08T12:03:25.2315797Z ======================================================================
2024-05-08T12:03:25.2318738Z     self.assert_eq(
2024-05-08T12:03:25.2319875Z     return assertPandasOnSparkEqual(
2024-05-08T12:03:25.2321140Z     actual = actual.to_pandas()
2024-05-08T12:03:25.2322246Z     return self._to_pandas()
2024-05-08T12:03:25.2323357Z     return self._to_internal_pandas().copy()
2024-05-08T12:03:25.2324573Z     return self._psdf._internal.to_pandas_frame.index
2024-05-08T12:03:25.2325972Z     setattr(self, attr_name, fn(self))
2024-05-08T12:03:25.2326986Z     pdf = sdf.toPandas()
2024-05-08T12:03:25.2328107Z     return self._session.client.to_pandas(query)
2024-05-08T12:03:25.2329443Z     table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
2024-05-08T12:03:25.2333343Z     self._handle_rpc_error(error)
2024-05-08T12:03:25.2335758Z Traceback (most recent call last):
2024-05-08T12:03:25.2336884Z     process()
2024-05-08T12:03:25.2340430Z     for batch in iterator:
2024-05-08T12:03:25.2341708Z     for series in iterator:
2024-05-08T12:03:25.2342700Z     for result_batch, result_type in result_iter:

Running secret scanning on commit d31c8407a1a6a4188411ee9456ec0ca9544830e0
No Databricks code found. Allowing Push: https://github.com/HyukjinKwon/spark.git
Enumerating objects: 29, done.
Counting objects: 100% (29/29), done.
Delta compression using up to 16 threads
Compressing objects: 100% (15/15), done.
Writing objects: 100% (15/15), 1.18 KiB | 1.18 MiB/s, done.
Total 15 (delta 14), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (14/14), completed with 14 local objects.
To https://github.com/HyukjinKwon/spark.git

26cfd358a1e5...d31c8407a1a6 branch-3.5 -> branch-3.5 (forced update)
(python3.11) ➜  spark-35 git:(branch-3.5) vi aaa
(python3.11) ➜  spark-35 git:(branch-3.5) ✗ cat aaa

======================================================================
ERROR [1.121s]: test_indexer_between_time (pyspark.pandas.tests.connect.indexes.test_parity_datetime.DatetimeIndexParityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/indexes/test_datetime.py", line 155, in test_indexer_between_time
    self.assert_eq(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 525, in assert_eq
    return assertPandasOnSparkEqual(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/testing/pandasutils.py", line 457, in assertPandasOnSparkEqual
    actual = actual.to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 524, in to_pandas
    return self._to_pandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 530, in _to_pandas
    return self._to_internal_pandas().copy()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/base.py", line 503, in _to_internal_pandas
    return self._psdf._internal.to_pandas_frame.index
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1834, in main
    process()
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1826, in process
    serializer.dump_stream(out_iter, outfile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 531, in dump_stream
    return ArrowStreamSerializer.dump_stream(self, init_stream_yield_batches(), stream)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 104, in dump_stream
    for batch in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 524, in init_stream_yield_batches
    for series in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1529, in func
    for result_batch, result_type in result_iter:
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/groupby.py", line 2295, in rename_output
    pdf = func(pdf)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/accessors.py", line 350, in new_func
    return original_func(o, *args, **kwds)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/indexes/datetimes.py", line 750, in pandas_between_time
    return pdf.between_time(start_time, end_time, include_start, include_end)
  File "/usr/share/miniconda/envs/server-env/lib/python3.10/site-packages/pandas/core/generic.py", line 9371, in between_time
    raise TypeError("Index must be DatetimeIndex")
TypeError: Index must be DatetimeIndex

----------------------------------------------------------------------

======================================================================
ERROR [0.522s]: test_string_rsplit (pyspark.pandas.tests.connect.test_parity_series_string.SeriesStringParityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_series_string.py", line 319, in test_string_rsplit
    self.check_func_on_series(lambda x: repr(x.str.rsplit()), self.pser[:-1])
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_series_string.py", line 51, in check_func_on_series
    self.assert_eq(func(ps.from_pandas(pser)), func(pser), almost=almost)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_series_string.py", line 319, in <lambda>
    self.check_func_on_series(lambda x: repr(x.str.rsplit()), self.pser[:-1])
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 7342, in __repr__
    pser = self._psdf._get_or_create_repr_pandas_cache(max_display_count)[self.name]
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 13393, in _get_or_create_repr_pandas_cache
    self, "_repr_pandas_cache", {n: self.head(n + 1)._to_internal_pandas()}
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 13388, in _to_internal_pandas
    return self._internal.to_pandas_frame
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1834, in main
    process()
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1826, in process
    serializer.dump_stream(out_iter, outfile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 531, in dump_stream
    return ArrowStreamSerializer.dump_stream(self, init_stream_yield_batches(), stream)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 104, in dump_stream
    for batch in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 524, in init_stream_yield_batches
    for series in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1734, in mapper
    result = tuple(f(*[a[o] for o in arg_offsets]) for arg_offsets, f in udfs)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1734, in <genexpr>
    result = tuple(f(*[a[o] for o in arg_offsets]) for arg_offsets, f in udfs)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 146, in <lambda>
    verify_result_length(verify_result_type(func(*a)), len(a[0])),
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/util.py", line 134, in wrapper
    return f(*args, **kwargs)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/strings.py", line 2177, in pudf
    return s.str.rsplit(pat, n)
  File "/usr/share/miniconda/envs/server-env/lib/python3.10/site-packages/pandas/core/strings/accessor.py", line 137, in wrapper
    return func(self, *args, **kwargs)
TypeError: StringMethods.rsplit() takes from 1 to 2 positional arguments but 3 were given

======================================================================
ERROR [0.455s]: test_string_split (pyspark.pandas.tests.connect.test_parity_series_string.SeriesStringParityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_series_string.py", line 305, in test_string_split
    self.check_func_on_series(lambda x: repr(x.str.split()), self.pser[:-1])
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_series_string.py", line 51, in check_func_on_series
    self.assert_eq(func(ps.from_pandas(pser)), func(pser), almost=almost)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/test_series_string.py", line 305, in <lambda>
    self.check_func_on_series(lambda x: repr(x.str.split()), self.pser[:-1])
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/series.py", line 7342, in __repr__
    pser = self._psdf._get_or_create_repr_pandas_cache(max_display_count)[self.name]
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 13393, in _get_or_create_repr_pandas_cache
    self, "_repr_pandas_cache", {n: self.head(n + 1)._to_internal_pandas()}
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/frame.py", line 13388, in _to_internal_pandas
    return self._internal.to_pandas_frame
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/utils.py", line 600, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/internal.py", line 1115, in to_pandas_frame
    pdf = sdf.toPandas()
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/dataframe.py", line 1663, in toPandas
    return self._session.client.to_pandas(query)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 873, in to_pandas
    table, schema, metrics, observed_metrics, _ = self._execute_and_fetch(
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1283, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req):
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1264, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1503, in _handle_error
    self._handle_rpc_error(error)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/sql/connect/client/core.py", line 1539, in _handle_rpc_error
    raise convert_exception(info, status.message) from None
pyspark.errors.exceptions.connect.PythonException:
  An exception was thrown from the Python worker. Please see the stack trace below.
Traceback (most recent call last):
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1834, in main
    process()
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1[826](https://github.com/HyukjinKwon/spark/actions/runs/8997403746/job/24754849272#step:9:827), in process
    serializer.dump_stream(out_iter, outfile)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 531, in dump_stream
    return ArrowStreamSerializer.dump_stream(self, init_stream_yield_batches(), stream)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 104, in dump_stream
    for batch in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/sql/pandas/serializers.py", line 524, in init_stream_yield_batches
    for series in iterator:
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1734, in mapper
    result = tuple(f(*[a[o] for o in arg_offsets]) for arg_offsets, f in udfs)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 1734, in <genexpr>
    result = tuple(f(*[a[o] for o in arg_offsets]) for arg_offsets, f in udfs)
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/worker.py", line 146, in <lambda>
    verify_result_length(verify_result_type(func(*a)), len(a[0])),
  File "/home/runner/work/spark/spark/python/lib/pyspark.zip/pyspark/util.py", line 134, in wrapper
    return f(*args, **kwargs)
  File "/home/runner/work/spark/spark-3.5/python/pyspark/pandas/strings.py", line 2030, in pudf
    return s.str.split(pat, n)
  File "/usr/share/miniconda/envs/server-env/lib/python3.10/site-packages/pandas/core/strings/accessor.py", line 137, in wrapper
    return func(self, *args, **kwargs)
TypeError: StringMethods.split() takes from 1 to 2 positional arguments but 3 were given
----------------------------------------------------------------------


Add a condition 'DoNotReplaceQueryParams' paramerter for ProxyExchangeHandlerFunction in GatewayMvc

issue
Add a condition 'DoNotReplaceQueryParams' paramerter for ProxyExchangeHandlerFunction in GatewayMvc

@sunhao1256 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@sunhao1256 Thank you for signing the Contributor License Agreement!

fix checkstyle error


Fetching

Able to fetch data from /recommend/username
Need to make it display error messages. Currently, there is a placeholder.

Corrected all the issues and finished the frontend.

Added modal popup when there is a error
Fixed the recommendation boxes UI

Made the subreddits links

Added a loading gif
Added a header to the recommendations

nice


Target debug_unpack_ios failed: Exception: Failed to codesign /…/Runner-erxnfezsiofenfgwpvcuvuqhoogg/Build/Products/Debug-iphoneos/Flutter.framework/Flutter with identity D6B5…

Steps to reproduce
Execution error while running the project in Xcode15
Actual results
error: Target debug_unpack_ios failed: Exception: Failed to codesign /Users/……/Library/Developer/Xcode/DerivedData/Runner-erxnfezsiofenfgwpvcuvuqhoogg/Build/Products/Debug-iphoneos/Flutter.framework/Flutter with identity D6B59010929D6CA820F7D285F2C97CE834C2BF72.
/Users/……/Library/Developer/Xcode/DerivedData/Runner-erxnfezsiofenfgwpvcuvuqhoogg/Build/Products/Debug-iphoneos/Flutter.framework/Flutter: replacing existing signature
Warning: unable to build chain to self-signed root for signer "(null)"
/Users/……/Library/Developer/Xcode/DerivedData/Runner-erxnfezsiofenfgwpvcuvuqhoogg/Build/Products/Debug-iphoneos/Flutter.framework/Flutter: errSecInternalComponent
Failed to package /……/AndroidStudioProjects/my_flutter_project.
Logs
name: dsp_project
description: For Dsp Project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=3.2.0 <4.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter:
uses-material-design: true
Flutter Doctor output
flutter doctor:
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.1 23B74 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.4)
[✓] VS Code (version 1.90.2)
[✓] Connected device (6 available)
[✓] Network resources

Please help me to see what the problem is causing this. Thanks！

My project is not in the iCloud locate.

@lxc0524
Maybe it could be related to keychain access, as, per the logs, it is showing errSecInternalComponent
See if https://stackoverflow.com/questions/24023639/xcode-command-usr-bin-codesign-failed-with-exit-code-1-errsecinternalcomponen helps in your case or not.

@darshankawar Thank you for your help, but I'm pretty sure it's not the signature problem. My signature certificates are all valid. Is there any other way you can help me?

is there any other way you can help me?

Support questions should be asked StackOverflow or Flutter's reddit help page.

/Users/lam/Library/Developer/Xcode/DerivedData/Runner-erxnfezsiofenfgwpvcuvuqhoogg/Build/Products/Debug-iphoneos/Flutter.framework/Flutter: replacing existing signature
Warning: unable to build chain to self-signed root for signer "(null)"
/Users/lam/Library/Developer/Xcode/DerivedData/Runner-erxnfezsiofenfgwpvcuvuqhoogg/Build/Products/Debug-iphoneos/Flutter.framework/Flutter: errSecInternalComponent
Failed to package /Users/lam/AndroidStudioProjects/flutter_dsp_demo.

In addition, I found that even new flutter projects run with the same error

See if this helps.

Thank you!!!! I have solved the problem.

Closing as resolved.


update: added confirmation when a salary les than 10000 is entered

This pull request ask for users confirmation when a salary amount less than 10000 is entered
Why ?
This is to prevent mistake inputs by users when they sometimes input amounts such as 250 or 1. This is to solve #343
How ?
Let us know how it does what it does

@Asam237 review from a frontend dev needed

@LL-Etiane
It adds three 0.
Someone may actually have a salary of 900, in which case it would be 900,000
https://user-images.githubusercontent.com/34966088/198400608-25555731-c73e-41a5-b4f2-59e82c76d3d2.mp4

Hey! @LL-Etiane thanks for helping on this issue. I love the warning added when the user enters a funny amount
On the other hand, converting the user input to a thousand might not be a good idea.
We can use a prompt message to ask the user to verify his input but we cannot force the user to enter a different input.
What do you think @Asam237 ?

Any update here?


[Autocomplete] Fix virtualization demo

fixes #16859

@mandrin17299 Could you run yarn docs:typescript:formatted to update the JavaScript demo? Thanks.

@oliviertassinari , are these changes correct ?
Thanks.

@mandrin17299 Thanks

@oliviertassinari I think https://github.com/mui-org/material-ui/issues/16859 got closed accidentally instead of https://github.com/mui-org/material-ui/issues/18448

Thank you


Empty Type returned for missing required header

For the branch libopenapi-validator-required-header running go test ./server/... -v results in the following:
=== RUN   TestCareRequestApi_GetRequest/when_no_request_found/it_matches_OpenAPI
    implementation_test.go:81: Type: , Failure: Header parameter 'tracing-id' is missing

Notice that the Type, which comes from ValidationType is empty.
The result of:
					fmt.Printf("e: %#v\n", e)

Is:
e: &errors.ValidationError{Message:"Header parameter 'tracing-id' is missing", Reason:"The header parameter 'tracing-id' is defined as being required, however it's missmissinging from the requests", ValidationType:"", ValidationSubType:"", SpecLine:1, SpecCol:299, HowToFix:"", SchemaValidationErrors:[]*errors.SchemaValidationFailure(nil), Context:interface {}(nil)}

I will look into this.


Sympy fails to import in rustpython

Feature

I'm unsure what feature specifically, but install and import of sympy results in an error that doesn't happen in python.
~ % rustpython -m pip install sympy
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: sympy in ./.local/lib/rustpython3.10/site-packages (1.11.1)
Requirement already satisfied: mpmath>=0.19 in ./.local/lib/rustpython3.10/site-packages (from sympy) (1.2.1)

~ % rustpython
Welcome to the magnificent Rust Python 0.2.0 interpreter 😱 🖖

When in the interpreter, running import sympy I get the following error.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/__init__.py", line 73, in <module>
    from .polys import (Poly, PurePoly, poly_from_expr, parallel_poly_from_expr,
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/polys/__init__.py", line 75, in <module>
    from .polyfuncs import (symmetrize, horner, interpolate,
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/polys/polyfuncs.py", line 11, in <module>
    from sympy.polys.specialpolys import (
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/polys/specialpolys.py", line 297, in <module>
    from sympy.polys.rings import ring
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/polys/rings.py", line 30, in <module>
    from sympy.printing.defaults import DefaultPrinting
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/printing/__init__.py", line 5, in <module>
    from .latex import latex, print_latex, multiline_latex
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/printing/latex.py", line 18, in <module>
    from sympy.tensor.array import NDimArray
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/tensor/__init__.py", line 4, in <module>
    from .indexed import IndexedBase, Idx, Indexed
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/tensor/indexed.py", line 114, in <module>
    from sympy.functions.special.tensor_functions import KroneckerDelta
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/functions/__init__.py", line 10, in <module>
    from sympy.functions.combinatorial.numbers import (carmichael, fibonacci, lucas, tribonacci,
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/functions/combinatorial/numbers.py", line 329, in <module>
    class tribonacci(Function):
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/functions/combinatorial/numbers.py", line 374, in tribonacci
    @recurrence_memo([S.Zero, S.One, _sym**2])
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/expr.py", line 232, in __pow__
    return self._pow(other)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/decorators.py", line 236, in _func
    return func(self, other)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/decorators.py", line 106, in binary_op_wrapper
    return func(self, other)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/expr.py", line 228, in _pow
    return Pow(self, other)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/cache.py", line 74, in wrapper
    retval = func(*args, **kwargs)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/cache.py", line 70, in wrapper
    retval = cfunc(*args, **kwargs)
  File "/Users/jimmie/.cargo/git/checkouts/rustpython-f8ef4d934ac33cd8/adc2325/pylib/Lib/functools.py", line 593, in wrapper
    result = user_function(*args, **kwds)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/power.py", line 355, in __new__
    from sympy.functions.elementary.exponential import exp_polar
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/functions/elementary/exponential.py", line 1124, in <module>
    class LambertW(Function):
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/functions/elementary/exponential.py", line 1159, in LambertW
    _singularities = (-Pow(S.Exp1, -1, evaluate=False), S.ComplexInfinity)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/cache.py", line 74, in wrapper
    retval = func(*args, **kwargs)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/cache.py", line 70, in wrapper
    retval = cfunc(*args, **kwargs)
  File "/Users/jimmie/.cargo/git/checkouts/rustpython-f8ef4d934ac33cd8/adc2325/pylib/Lib/functools.py", line 593, in wrapper
    result = user_function(*args, **kwds)
  File "/Users/jimmie/.local/lib/rustpython3.10/site-packages/sympy/core/power.py", line 378, in __new__
    obj.is_commutative = (b.is_commutative and e.is_commutative)
AttributeError: can't set attribute

Python Documentation

Sympy docs are here
https://www.sympy.org/en/index.html

Thanks!
Definitely seems like a descriptor bug though I haven't investigated thoroughly. I'll try and find some time to reduce it to a simpler example to make it easier to work with.

Can confirm this issue still persists in RustPython 0.3.0 (The stacktrace is the same).

Has there been any progress on this? I've seen this issue crop up in a few different packages.


Massive amount of CPU cycles in use

Checklist:

[ ] I have checked that there are no issues with similar or the same content
YOU SHOULD CHECK CLOSED ISSUES ASWELL

[ ] I have checked the FAQ (https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/FAQ) and the answer I am looking for is not there

[ ] I have double checked and can reproduce the issue

OS:
Mac High Sierra v 10.13.6
GPMDP Version:
4,6,1
Issue Descriptions:
Latest version is using an insane amount of CPU cycles, causing everything else to run slow when in use.
Steps to Reproduce:
Run the software

Experiencing this exact same thing.

Can confirm I am also experiencing this issue on Ubuntu 18.04. Have had to stop using the app

High CPU usage on ubuntu 18.04. Average usage 30%. i7 7700.

Ubuntu 18.04, 20-50% cpu on my 3840qm and 10% gpu amd M4000 latest stable

Experiencing this exact same issue as well.
macOS High Sierra 10.13.6
GDMP 4.6.1

Same on Linux Mint 19 (64bit), constant usage of 16% CPU
i7-2640M
GDMP 4.6.1

Same issue here with macOs HighSierra 10.13.6. Have to wait a little while before noticing the lag.

Confirming.
OS: High Sierra 10.13.6
GPMDP version: 4.6.1

CPU usage hovers around 30%  (OSX 10.11.6)

Confirming. MacOS Mojave 10.14

confirm. mac os mojave 10.14

I have the same high CPU and do not have Discord Rich Presence enabled.
Fedora 28

Confirming. macOS 10.14.
I never used  Discord Rich Presence.
Just after opened the application without any song playing the CPU usage is around 12% to 15%.

Same issue on Pop_OS (essentially Ubuntu 18 LTS)
High CPU and (thankfully stable at 2.1 GB) RAM usage, mitigated it by setting process priority to low,  but it's still someone noticeable in how rapidly it responds to control input (even before lowering priority)

Similar problems here on Ubuntu 18.04. If I minimize the app to the tray, CPU is reasonable, but if I have the player showing at all, even in the mini player, I end up with  two processes that hover around 15-20% CPU utilization.

Just installed this on Windows 7 and had to uninstall within about 15 minutes, almost unusable because of the amount of resources it uses.

Any response from the Dev yet?

Same issue. On macOS mojave over 100% CPU ussage and over 6GB virtual memory ussage

Can also confirm. macOS 10.14.1 and GPMPD 4.6.1. The program is borderline unusable in its current state. Would love to see this resolved.

I've had this for some time, and it's in the latest version 4.6.1 too. It starts right away, even before playing the first song. Fresh Debian sid on x86_64.
All I can see is that it's one of the two "Google Play Mus" threads that's busy looping. Attaching ~10s of "strace -r" log FWIW, but it just shows futexes being woken and not waited upon.

By the way problem is not in Discord integration. I've turned it off and app stills producing several processes in total amount of 100% CPU ussage

It used to take quite a bit of CPU in Chrome as well but in v70 Google Play Music is only taking 2-6% when the window is minimized.
The Desktop app is nicer, but I can't afford the extra CPU so I made this applescript to toggle the player window, and I trigger it with Quicksilver:
Toggle Google Play Music.scpt:
tell application "Google Chrome"
	if frontmost then
		set w to window 1
		if visible of w is true and (URL of active tab of w) contains "music/listen" then
			-- Chrome uses minimized instead of miniaturized
			set minimized of w to true
			return
		end if
	end if
	activate
	set i to 0
	repeat with w in (windows)
		set i to i + 1
		set j to 0
		repeat with t in (tabs of w)
			set j to j + 1
			if URL of t contains "music/listen" then
				set (active tab index of w) to j
				set index of w to 1
				tell application "System Events" to tell process "Google Chrome"
					perform action "AXRaise" of window 1 -- `set index` doesn't always raise the window
					-- keystroke "f" using {option down, command down}
				end tell
				return
			end if
		end repeat
	end repeat
	activate
	open location "https://play.google.com/music/listen"
end tell

Can confirm on macOS Mojave 10.14.2 I see 3 processes with ~100% cpu, ~13%, %5 respectively.
Player is minimized.

Can confirm this on Fedora 29 as well.
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 29 (Twenty Nine)
Release:	29
Codename:	TwentyNine

Linux 4.19.5-300.fc29.x86_64 #1 SMP Tue Nov 27 19:29:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

CPU usage is unbearable and grinds machine to a halt on a modern quad-core laptop, even when it's not playing any music, so I've had to uninstall.
Will be watching this threads in the hope that it goes fixed soon, as it is such a good application.

This seems to be a dead project, there hasn't been a response by the developer or a new release in 5 months.

His Github is active, I wonder if reaching out to him to understand current status is in order.
@MarshallOfSound sorry to highlight was wondering on the status of this project?
Let us know if we need to open a new issue to discuss.

Hi @jostrander ,
Thanks for the swift reply and quick digging that you've done around the issue, it is appreciated!
I believe most understand that this is a side-project (as with most OSS projects out there), and are very grateful for this (I know I am) :100:
I believe clarification is wanted on whether or not the project is dead or needs developer assistance.
If that is made clear, I'm pretty sure there will be others that will come forward to assist and/or take-over as needed.
I see that you are a collaborator, so am I right in assuming that your response means the project is not dead however could do with some help from the community?

Community help is always appreciated, and no, I wouldn't consider it a dead project :+1:

Thanks for clarifying!
I might start looking under the hood as I get time (unfortunately JavaScript is not my first language), but let me know if there is anything I can do to assist (testing, etc.).

@px4n @Dan33185 I feel like I should clarify a few things here.

This project is definitely not dead and something to be aware of, I find it quite insulting when one of my projects is called dead.  A project is declared dead / abandoned by its maintainers, not onlookers in GitHub issues.

On a brighter note:

I don't have a significant amount of time nowadays to fix bugs / do things with this player.  If some community members want to step up to the plate and start landing stuff in PRs I'm 💯% on board with that and as with all my projects will gladly carve time out of my day to review those pull requests.

If any folks have questions about the layout of the code, ask away, if anyone wants to refactor half the app, go for it.  Please be aware that half the code here at least was written like 3+ years ago 😆 .
TLDR: Come help all ye' who want to help 😄

@px4n I'm not that active in Gitter nowadays so you're best bet tbh is to do the old fashioned thing and email me.  Also if you put up just WIP PR's and ask for clarification on those I can respond there.

I don't know what they do differently , but I found a simple electron google play app that uses 3%-7% instead of 30% on my macbook.
https://github.com/pmsaue0/play
The app is not configurable as this one but it's an alternative for now

@inkubux thank for your suggestion. But this app cant be controlled via media keys and dont support now playing. Waiting for fix GPMDP.

I checked out master and applied @jostrander 's fixes in #3441 but they didn't seem to help much.
I opened dev tools, closed the main window, and started the CPU profiler. I let it run for ~ 25s, clicked a bit in the tray menu, and then restored the main window.  For the last ~5-10s I had the main window visible and moved my mouse around a bit in the window.
Gzipped profile is attached, looks to be some React foo (my JS is weak at best). Once the main window is visible, a batchedUpdates call seems to fire every 20ms or so, occasionally handling SyntheticMouseEvents
It's immediately obvious from the flame graph view when I restore the main window, should make it easy to drill down if you should load the profile yourself.
bmoyles-gpmdp.cpuprofile.gz

Did a bit more digging, and near as I can tell, despite #3441 hiding the loader, it continues to animate, so I stopped the animation via the console. Better, but I noticed that its very presence of the loader SVG was still causing layout recalculations. So, again via the console, I removed the SVG and CPU seems normal again

That's completely different from the profiling I get currently. Do you have lyric scrolling enabled?

@jostrander I take it back, I applied the fix from #3441 but didn't have yarn watch running or do a yarn build. Sigh.
So #3441 definitely seems to make a significant improvement, SVG isn't causing any problems with that fix in place.
There is still a decent spike in CPU if the main window has focus and the mouse cursor is moving, though.  Attached is a fresh profile from the Performance tab of the dev tools.  Roughly 5 seconds with window un-focused, then I switch to the main window and move my mouse around in an empty section for ~10s, and then I remove focus from the main window for the remaining 5s.  While mouse is moving, react appears to dispatch every 20ms, followed by painting/compositing/etc.  While this is happening, the two render processes and the main process jump to 20-35% CPU. Whether or not this behavior existed prior to 4.6.1 I can't say.

bmoyles-gpmdp-profile.json.gz
Forgot attachment.

Although I use it through Flatpak's flathub/com.googleplaymusicdesktopplayer.GPMDP on KDE neon, it's  still issue on my system too.
https://github.com/flathub/com.googleplaymusicdesktopplayer.GPMDP

I notice that out of 4 cores on my CPU one of them is always at 100% when this application is open, plus its using 2GB of ram! Its way to much ram to be reasonable.

+1 Here, Windows 10. GPMDP 4.6.1 (installed via Chocolately.) With main window open (On home or library, not playing or anything,) doesn't have to be active, bounces between 1-8% CPU. (Meanwhile, Chrome w/ 37 tabs is c. 1.5%). Minimize window, drops to 0.

Gonna close this out as significantly improved by #3441


Added knowledge base link to the navbar

Added the Notion link to the landing page nav component

Added to footer! @monzanifabio https://pooltogether.com


Bring Over Changes from Test Bench

Is this ready to be merged or are we still waiting to test it?


feat(storiesNav): deep theming for stories nav panel

Feature:
deep theming for stories nav panel
What I did

deep theming for stories nav panel
updating README file with all the deep theme variables supported
updating LogoLink  to support html elements

This is similar to the deep theming PR of SB 4.0:
https://github.com/storybooks/storybook/pull/4702

@ndelangen Yeah this seems way verbose to me. @ManBearTM what's the minimum you'd want to be able to style to achieve your desired output?

@ndelangen Yeah this seems way verbose to me. @MansoorBashaBellary what's the minimum you'd want to be able to style to achieve your desired output? I think we should add 1-2 vars at most.

@shilman - These are the minimum things that i could think off to get the desired output. What i can do instead is to wrap all the variables in storiesNav like:
storiesNav: {
  nav: {},
  navHeading: {},
  treeSubHeading: {},
  treeItemHeader: {},
  activeMenuLink: {},
  treeExpander: {},
  treeIcons: {}
}

But the only thing is in js files, i have to do theme.storiesNav.* to get the desired output. Please let me know what best thing to go ahead.

@MansoorBashaBellary I totally understand the request for more customization.
I was planning to enable this using addons.
I'm still unsure how much theming to allow.
On 1 hand I want users to be able to create the storybook of their dreams, but on the other hand, we don't want to have hundreds of theme variables, that we'll have to keep sane and compatible.

@ndelangen I think this adds more complexity and maintenance surface area for the UI code so I'd prefer to leave it mostly the same.
Storybook helps you build UIs, theming is an aesthetic choice that doesn't really contribute or detract from that value prop. I think we should keep the theming API as minimal as possible, that way maintainers can focus on building new functionality instead of maintaining support for theming edge cases into the future.
(Background: I worked on theming support with Norbert)

@MansoorBashaBellary I totally understand the request for more customization.
I was planning to enable this using addons.
I'm still unsure how much theming to allow.
On 1 hand I want users to be able to create the storybook of their dreams, but on the other hand, we don't want to have hundreds of theme variables, that we'll have to keep sane and compatible.

Thanks @ndelangen and @domyen. We are maintaining our storybooks with stories nav panel themed from Storybooks 4.0. In order to use SB 5.0, we needed these changes.
I don't think these changes are going to make storybooks complex. But i totally agree that theme variables are to be minimal. Let me know if we can use any other approach that i am unaware of, to get this thing done.

Storybook helps you build UIs, theming is an aesthetic choice that doesn't really contribute or detract from that value prop. I think we should keep the theming API as minimal as possible, that way maintainers can focus on building new functionality instead of maintaining support for theming edge cases into the future.

If that's the long term stance on this topic (which is completely acceptable IMO), can additional attrs/classes/id's be added to specific elements so that we can still override them by injecting styles using the manager-head.html workaround? I think if the following elements outlined in red had some sort of consistent/obvious attribute users could leverage to style, it would be sufficient for most theming use cases.

@adamlohner good point. Perhaps adding classNames so folks could style via CSS is a reasonable middle ground here?

Not specifically related to the Storybook nav (I'm thread-jacking a bit here), but this seems relevant to theming within Storybook in general...
This has been one of my biggest pain points with open-source tools that use CSS-in-JS -- I certainly understand the appeal in terms of maintenance, but as an end-user, not having class names available in the DOM to make custom style overrides easy (or in some cases possible at all) can be incredibly frustrating. Even if it's not technically supported, simply making it possible to override default styling would go a long way -- and I'd happily accept the risk of minor upgrades breaking my custom styles.

Storybook helps you build UIs, theming is an aesthetic choice that doesn't really contribute or detract from that value prop. I think we should keep the theming API as minimal as possible, that way maintainers can focus on building new functionality instead of maintaining support for theming edge cases into the future.

Agree with @adamlohner -- while not ideal, it's certainly understandable. Storybook is an incredible tool as-is (the updates introduced in v5 are awesome). And taking theme customization too far could absolutely detract from the amazing work the Storybook team is doing.
I do, however, feel like it's not always simply about meaningless aesthetics, but rather the UX -- which is consistent with that value prop if an improved UX helps people build UIs.
Take the following example:
I want to help my team build UIs. Having the props documented in an intuitive, easy-to-read way will help them do that.
Unfortunately, it's hidden behind this little blue button:

I see there's an option to display it all on one screen, but it looks a bit clunky...

What I really want is for it to show up in the addons panel. I see that's not actually supported (#1147) but there's a workaround.

This is a lot closer to what I'd actually consider a good experience, but it could use some tweaking. addon-info seems to allow some custom styling:

But there's not much else I can do here (that I'm aware of, at least). And it's still a far cry from where I want it to be:

(^ These styles were achieved via editing styles in Chrome's dev tools. It doesn't seem this level of customization is actually possible.)
This is obviously just one example, but there have been more than a couple of areas that I've fought with only to realize overriding styles that would otherwise be very simple to do is either going to be way too much work, or is just not possible.
I think adding class names to the Storybook UI could be huge -- even just a few sprinkled throughout so that I could write selectors like #section .area h2 { ... } rather than something like #section > div:nth-child(2n) > div > div > div > h2 { ... }.

@jonmilner you could always write a custom addon to achieve the desired functionality rather than working around the existing notes implementation.  I actually just did this and found the Addon API to be super flexible and easy to use.

Thanks everyone, I definitely appreciate the good thinking behind this PR. I'm closing this because there isn't clear consensus on theme API expansion and the impact on future maintainability.
@jonmilner That use case probably isn't in the scope of SB theming. Rather, it's the visual implementation and functionality of addons. I reckon you'll be pleased with the additional documentation features in Storybook Docs coming soon. Specifically the new docs addon that consolidates info/readme/notes addons into one.
If folks still want extra visual customization, I'd propose an alternate PR that assigns static classNames to DOM elements for styling.


EDIT: Alle Namen ausgeben!

Gerne drüber sehen und schauen, ob es so angemessen ist.

Hier ist ein merge conflict entstanden, würde ich wenn möglich gerne in Gruppe besprechen
blocked by #28

:hourglass_flowing_sand: Alright! Looks like we need to wait for some dependencies:

ComcaveTeamwork/CTP_01_TableReader#28

:bulb: Don't worry, I will continue watching the list above and keep this comment updated. To add or remove a dependency please update this issue/PR description.
Brought to you by Dependent Issues (:robot: ). Happy coding!

:hourglass_flowing_sand: Alright! Looks like we need to wait for some dependencies:

ComcaveTeamwork/CTP_01_TableReader#28

:bulb: Don't worry, I will continue watching the list above and keep this comment updated. To add or remove a dependency please update this issue/PR description.
Brought to you by Dependent Issues (:robot: ). Happy coding!

:tada: Great news! Looks like all the dependencies have been resolved:

ComcaveTeamwork/CTP_01_TableReader#28

:bulb: To add or remove a dependency please update this issue/PR description.
Brought to you by Dependent Issues (:robot: ). Happy coding!


Automated Package Upgrade

:tada: This PR is included in version 5.0.131 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Zephyr West install and sensortag sample

Hi guys,
I am new to sensortag developments, so I do apologize if I ask a questions for some of you may sound trivial.
I have setup Nordic SDK 2.0.0 and I can build sample programs give in the SDK. I want to build the sensortag program.
I have cloned https://github.com/HomeSmartMesh/sdk-hsm-sensortag.git project.
I tried opening a powershell in the root folder sdk-hsm-sensortag and executing 'west init -m https://github.com/HomeSmartMesh/sdk-hsm-sensortag -mr main' but it failed.
Traceback (most recent call last):   File "C:\Python39\lib\runpy.py", line 197, in _run_module_as_main     return _run_code(code, main_globals, None,   File "C:\Python39\lib\runpy.py", line 87, in _run_code     exec(code, run_globals)   File "C:\ncs\toolchains\v2.0.0\opt\bin\Scripts\west.exe\__main__.py", line 4, in <module> ModuleNotFoundError: No module named 'west'
What is missing here?
Thanks heaps,
Kay
Originally posted by @ksathara in https://github.com/HomeSmartMesh/sdk-hsm-sensortag/discussions/3#discussioncomment-3277498

Hi,
You can have a look here, there's a hint about an issue I had switching between sdk and standalone projects.
https://www.homesmartmesh.com/docs/microcontrollers/nrf52/thread_sensortag/#zephyr-tag-firmware
Every standalone project will load his own Zephyr OS that prevents any versionning mismatch issue.
Your error did not even find west, you might have to get familiar with Python first with its environments and dependencies management to easily trace such issues.
I also have a page about Zephyr on windows, there might be many ways to install it and if you can trace how you your cmd window will find it knowing how you installed it, that can help.
https://www.homesmartmesh.com/docs/frameworks/zephyr/#windows-install
If you're still stuck, you can provide more info on your environment and how you installed it.

Hey thanks wassfila. I moved past this error by installing west, but then it got stuck in CMake, saying it cant find it. I know I have it in the computer.
Is there any way of building this app under VSC and NRF Connect? I can successfully build aps there. There may be issues with different SDKs, but then I can install the SDK the project is originally build upon.
Thanks again,
kaushalya

Is there any way of building this app under VSC and NRF Connect? I can successfully build aps there. There may be issues with different SDKs, but then I can install the SDK the project is originally build upon.

Technically speaking yes, if you isolate the code and port it inside the new SDK folder structure, but that involves a lot of integration effort already.
It's a pity as samples are supposed to buld out of the box, to be honest it's been a long time mor than a year I think, could be some changes in the environment, in the coming weeks I can try to update it to compile with recent SDK.
Now in case you have your own project and need anyway to restructure a new project, you can just pick the drivers and main files, try to understand what they do and if you have questions about them I can answer.

Hey Wassim,
Hope you are having a great weekend. I can see the efforts that has gone
to this repo and I cant appreciate it enough. I am a hardware engineer,
not a fw guy (as you may have already guessed) trying to build a
minimalistic fw to test my boards. Our fw guys will do a proper job of
it later on.
I managed to build the openthread sensortag sample program within VSC
nRF connect environment. Since I am only interested about a single NTC
sensor, I dropped MS8607 and VEML6030 parts. I brought in battery folder
into the src folder of sensortag and included that in CMakeLists.txt.
This way I could build the project successfully.
Now I can see it uses UDP to send a data packet. What I couldn't figure
out is how openthread commissioning and joining part is done before
this. Could you please point me to the right direction?
Thanks heaps,
Kaushalya
------ Original Message ------
From "Wassim" @.>
To "HomeSmartMesh/sdk-hsm-sensortag"
@.>
Cc "Kaushalya Satharasinghe" @.>; "Mention"
@.>
Date 7/30/2022 6:57:13 AM
Subject Re: [HomeSmartMesh/sdk-hsm-sensortag] Zephyr West install and
sensortag sample (Issue #8)

Is there any way of building this app under VSC and NRF Connect? I can
successfully build aps there. There may be issues with different SDKs,
but then I can install the SDK the project is originally build upon.

Technically speaking yes, if you isolate the code and port it inside
the new SDK folder structure, but that involves a lot of integration
effort already.
It's a pity as samples are supposed to buld out of the box, to be
honest it's been a long time mor than a year I think, could be some
changes in the environment, in the coming weeks I can try to update it
to compile with recent SDK.
Now in case you have your own project and need anyway to restructure a
new project, you can just pick the drivers and main files, try to
understand what they do and if you have questions about them I can
answer.
—
Reply to this email directly, view it on GitHub
https://github.com/HomeSmartMesh/sdk-hsm-sensortag/issues/8#issuecomment-1199939897,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3WSEY74COQI7LLU2OFYU3VWRASTANCNFSM547Z7OQQ.
You are receiving this because you were mentioned.Message ID:
@.***>

@ksathara, thanks for your appreciation of the content, it's true that it took some efforts, the efforts were paid off as my main goal was more research and understanding of this new technology, but I'm also glad if this helps others. I try to keep social interactions organized (website, forums), I'm sometime confused between Github issues and github Discussions, I try to keep issues for things that can end up in changes in the repo and Discussions for help and support.
As you could build the sample, I'll close this issue and I moved your last question to this discussion https://github.com/HomeSmartMesh/sdk-hsm-sensortag/discussions/9


Only UTXO In/Out are shown in /address page, it doesn't include deeply linked transaction activities (e.g. Swap, AccountToAccount)

What happened:
For a recently created address, DeFi Scan is showing all transactions under the address.
For an address that was created a few months ago, only the UTXO transactions is displayed on Scan — token deposit transactions are not shown.
What you expected to happen:
Showcase all transactions relating to an address

/area address
/kind feature
/priority important-soon


Update pawn.gd

An exported variable must be initialized to a constant expression or have an export hint in the form of an argument to the export keyword .

Thanks. This little issue came from the recent port of all the demos to Godot 3.1


fix: cannot set property $nuxt of # which has only a getter

Hi @pi0 can you review this PR? It should fix #115

Hi @roiLeo may I know if/when this PR can be merged? Thank you


Problem referencing VMs in retired_resources

Unable to shutdown / re-retire VMs in the retired resources list.

issue may have been caused by use of old version of cloud_admin running instead of recent version. Unable to reproduce problem on verifycs.


Add composer.json

Add Composer support so you can put Heroicons on Packagist, to allow PHP projects to import them without the use of other package managers.

And once this is added, could you register the repo on Packagist? Context for me is in a Statamic add-on, which can't easily use direct GitHub repos for dependency management (at least until v3).

@simonhamp made this package which might be of interest to you: https://github.com/driesvints/blade-heroicons

@driesvints Nice! I will definitely look into this in more detail, but on a quick first pass I’m not sure it’s going to work with Statamic yet as that’s still running on Laravel 5.1 right now.
Also I was thinking of something that would be flexible to changes with the Heroicons library so that new/changed icons didn’t require code changes.

still running on Laravel 5.1 right now.

I'd recommend upgrading soon because I don't even want to know how many security vulnerabilities there are with 5.1 😅

Also I was thinking of something that would be flexible to changes with the Heroicons library so that new/changed icons didn’t require code changes.

You wouldn't have to change your own icons you use in your app since all changes would be done in the blade-heroicons package. Every time you composer update you'd get any fixes, new icons, etc. I'll regularly keep the library up to date.

Agreed! We’re holding out for Statamic 3 as manually upgrading ourselves would cause us more pain at this point.
You’ve made a great case. Thanks for sharing this and for writing the library.
I still think it would be good to have Heroicons available as a Composer dependency tho. /cc @steveschoger @adamwathan

I still think it would be good to have Heroicons available as a Composer dependency tho.

I think that's not feasible as this is a NPM library at first. You wouldn't be able to use the SVG icons in Blade anyway because they're .svg files. You'd have to file_get_contents them. And if you add them as PHP/Blade files then people using them with NPM would have the burdon of having to retrieve and compile all of those files as well.
I've added the ability in Blade Heroicons to use the heroicons as raw SVG icons if that's what you're looking for: https://github.com/driesvints/blade-heroicons#raw-svg-icons

I think that's not feasible

I don’t see why not. Just putting this library on Packagist will just make it available as a dependency, same as NPM. There’s nothing inherent here that makes it specific to NPM.

they’re .svg files. You'd have to file_get_contents them.

I know. That’s exactly what I plan to do 🙂 would save the burden of duplicating them in Blade. Then when Heroicons gets updated, my code will also get updated... for “free”.


Set the version for the package

We should set the version for the package in setup.cfg and make that available through the __version__ variable at the module level.

This has been merged into develop.


ci: Synchronize issue labels using a central configuration

For now, this is still in "dry-run" mode.  I'll run it locally and make sure the logs look correct before updating the PR.

Okay, tested locally and PR updated.  Turned out to be much easier than I thought.  I haven't tested the inputs of the manual trigger yet, though.


Issue on docs - Unable to find documentation for HOW TO TEST GRAPHQL Responses

Path: /documentation/getting-started/graphql/creating-a-query
Would like to know, how we can test GrapQL responses, similar to Rest endpoints
Thanks!

Hi @MathivananSampath we are currently working on the feature of adding pre/post request script for GraphQL. Once these changes are deployed to production, you can refer to the updated documentation.
ref: https://github.com/hoppscotch/hoppscotch/issues/2540


heat marker got mirrored

Hi again, very happy about your repo so giving feedback and looking for advice.
Maybe others can chip in as well?
Anyhow, the marker works, except that it reports on a pixel that is mirrored horizontally.
My thing is not html and javascript, so no idea how to fix this...

I never used the marker. But tried it now - and you are right - the measured point is indeed mirrored, so to measure a spot on the left you need to mark the same spot but on the right side of the screen and vice versa.
I guess it might be an easy fix, maybe around line 1001 in html.h?

I think I see the problem, will provide a fix ASAP.

Please, can someone check if the current version fixed this issue, so it can be closed?

I have tested this and the issue is solved!


Payment Processes (Touchnet Payment)

Subtask
Assigned User
Complete?

Promo Codes
User

I tried to merge master to the feature/29 (TouchNet) branch but after slogging through scores of merge conflicts without the benefit of SObject Cache refreshes I hit a wall of cci errors. I think a fresh start from master is needed. Package scope architectural decisions are needed before a lot of code gets written. Maybe not a good task for the September sprint after all.

Included in beta release <IP_ADDRESS>

Included in production release <IP_ADDRESS>


[FEATURE] Add HTTP basic authentication support to UIClient on the web ui

Duplicate issue

[X] I've searched for any related issues and avoided creating a duplicate issue.

Description

[x] Move configuration from TS to JSON syntax
[x] JSON configuration file must be a template only
[ ] The authentication configuration syntax shall follow the one used on the simulator for uiServer configuration section

Attachments
No response

WebSocket class in browsers JS engine is very unlikely to support HTTP basic authentication.
Either add another authentication scheme support on UI Server and Web UI such as a PSK in HTTP headers Bearer field, either find a way to make HTTP basic authentication scheme works on all browsers with workaround such as building the headers by hand on all requests.

WebSocket class in browsers JS engine is very unlikely to support HTTP basic authentication. Either add another authentication scheme support on UI Server and Web UI such as a PSK in HTTP headers Bearer field, either find a way to make HTTP basic authentication scheme works on all browsers with workaround such as building the headers by hand on all requests.

https://ably.com/blog/websocket-authentication -> implement the Sec-WebSocket-Protocol header hack


[CLOSED] Fix name mismatch for asylum support decisions

 Issue by tommyp
Thursday 27 August 2015 at 16:26 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/548

The name of the Finder Metadata and Schema files needs to match or else
Dir.glob doesn't match them up. We should probably move this to be in
the same files.

tommyp included the following code: https://github.com/alphagov/specialist-publisher/pull/548/commits

 Comment by jamiecobbett
Thursday 27 August 2015 at 17:04 GMT

This should fix the immediate problem and make specialist-publisher deployable again. We need to change the rake task and/or PublishingApiFinderPublisher class so that it doesn't assume the glob returns things in the same order. @jennyd and I will make sure that happens as soon as possible.


Changes needed in docs.openshift.com related to odo push workflow.

/kind documentation
What mistake did you find / what is missing in the documentation?
Observed old documentation found on docs.openshift.com
Openshift documentation should in sync with odo.dev.

Documentation for ODO at docs.openshift.com is obsoleted and going to remove in further releases, so this issue can be closed now.
Then due to all the updated documents can be found at odo.dev, so workflow part also should be add in odo.dev, then created new issue #5090


Protect itself

Build a tank that can prevent any possible damage caused by bullets.

Done by myself. Simply prevent ishit() function to be true when the skill is on.