GH-31538:[Python][Docs] Documents ParquetWriteOptions class

Closes: #31538

Thank you for the contribution @Divyansh200102 !
I think the issue was about adding docstrings to ParquetFileWriteOptions class, similar to ParquetReadOptions and then adding ParquetFileWriteOptions to API docs, not ParquetWriteOptions.

Thanks!
To fix the CI the indentation of the docstrings has to match. Also, can we update the examples to use a structure we use in other docstrings. For example in dataset.scanner: https://github.com/apache/arrow/blob/c8c74851313a322ac668dda4d51b274d6a40dbd1/python/pyarrow/_dataset.pyx#L347-L392

@AlenkaF when I am trying to build the _dataset.pyx this error is coming
(pythonenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow/python (Document-ParquetWriteOptions-class)
$ python -m pytest --doctest-cython
C:\Users\Divyansh\Documents\GitHub\arrow\python\pythonenv\Lib\site-packages\pytest_cython\__init__.py:7: UserWarning: could not get pytest-cython version; pkg_resources not available or package not installed
  warnings.warn('could not get pytest-cython version; pkg_resources '
=============================================================================== test session starts ===============================================================================
platform win32 -- Python 3.12.0, pytest-8.0.1, pluggy-1.4.0
rootdir: C:\Users\Divyansh\Documents\GitHub\arrow\python
configfile: setup.cfg
plugins: cython-0.2.1
collected 0 items / 1 error

===================================================================================== ERRORS ======================================================================================
____________________________________________________________________________ ERROR collecting pyarrow _____________________________________________________________________________
C:\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1381: in _gcd_import
    ???
<frozen importlib._bootstrap>:1354: in _find_and_load
    ???
<frozen importlib._bootstrap>:1304: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1381: in _gcd_import
    ???
<frozen importlib._bootstrap>:1354: in _find_and_load
    ???
<frozen importlib._bootstrap>:1325: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:929: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:994: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pyarrow\__init__.py:65: in <module>
    import pyarrow.lib as _lib
E   ModuleNotFoundError: No module named 'pyarrow.lib'
============================================================================= short test summary info =============================================================================
ERROR pyarrow - ModuleNotFoundError: No module named 'pyarrow.lib'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================ 1 error in 0.13s =================================================================================

BTW  I have installed the pyarrow and I am using a virtual env so I am not sure why I am getting this error.

@AlenkaF I am trying to build the _dataset.pyx using https://arrow.apache.org/docs/developers/python.html#doctest to find the errors but the below error is coming while building. BTW I have installed the pyarrow and I am using a virtual env so I am not sure why I am getting this error.Thank you for your patience.
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub
$ pushd arrow/python
~/Documents/GitHub/arrow/python ~/Documents/GitHub

Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow/python (main)
$ python -m venv myenv

Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow/python (main)
$ source myenv/Scripts/activate
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow/python (main)
$ pip install pytest-cython
Collecting pytest-cython
  Obtaining dependency information for pytest-cython from https://files.pythonhosted.org/packages/20/e6/dd6f6fae2e4e15f2abc5d95da945d5044bb2a4488edc8bd9c8c6a8645376/pytest_cython-0.2.1-py2.py3-none-any.whl.metadata
  Using cached pytest_cython-0.2.1-py2.py3-none-any.whl.metadata (3.4 kB)
Collecting pytest>=4.6.0 (from pytest-cython)
  Obtaining dependency information for pytest>=4.6.0 from https://files.pythonhosted.org/packages/2e/28/30125a808a2448d72fdba26d01ef2bec76a3c860c8694b636e6104e38713/pytest-8.0.1-py3-none-any.whl.metadata
  Using cached pytest-8.0.1-py3-none-any.whl.metadata (7.7 kB)
Collecting iniconfig (from pytest>=4.6.0->pytest-cython)
  Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging (from pytest>=4.6.0->pytest-cython)
  Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pluggy<2.0,>=1.3.0 (from pytest>=4.6.0->pytest-cython)
  Obtaining dependency information for pluggy<2.0,>=1.3.0 from https://files.pythonhosted.org/packages/a5/5b/0cc789b59e8cc1bf288b38111d002d8c5917123194d45b29dcdac64723cc/pluggy-1.4.0-py3-none-any.whl.metadata
  Using cached pluggy-1.4.0-py3-none-any.whl.metadata (4.3 kB)
Collecting colorama (from pytest>=4.6.0->pytest-cython)
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Using cached pytest_cython-0.2.1-py2.py3-none-any.whl (6.4 kB)
Using cached pytest-8.0.1-py3-none-any.whl (333 kB)
Using cached pluggy-1.4.0-py3-none-any.whl (20 kB)
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Installing collected packages: pluggy, packaging, iniconfig, colorama, pytest, pytest-cython
Successfully installed colorama-0.4.6 iniconfig-2.0.0 packaging-23.2 pluggy-1.4.0 pytest-8.0.1 pytest-cython-0.2.1

[notice] A new release of pip is available: 23.2.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow/python (main)
$ pytest --doctest-cython
C:\Users\Divyansh\Documents\GitHub\arrow\python\myenv\Lib\site-packages\pytest_cython\__init__.py:7: UserWarning: could not get pytest-cython version; pkg_resources not available or package not installed
  warnings.warn('could not get pytest-cython version; pkg_resources '
=============================================================================== test session starts ===============================================================================
platform win32 -- Python 3.12.0, pytest-8.0.1, pluggy-1.4.0
rootdir: C:\Users\Divyansh\Documents\GitHub\arrow\python
configfile: setup.cfg
plugins: cython-0.2.1
collected 0 items / 2 errors

===================================================================================== ERRORS ======================================================================================
____________________________________________________________________________ ERROR collecting pyarrow _____________________________________________________________________________
C:\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1381: in _gcd_import
    ???
<frozen importlib._bootstrap>:1354: in _find_and_load
    ???
<frozen importlib._bootstrap>:1304: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1381: in _gcd_import
    ???
<frozen importlib._bootstrap>:1354: in _find_and_load
    ???
<frozen importlib._bootstrap>:1325: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:929: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:994: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pyarrow\__init__.py:65: in <module>
    import pyarrow.lib as _lib
E   ModuleNotFoundError: No module named 'pyarrow.lib'
_________________________________________________ ERROR collecting pythonenv/Lib/site-packages/numpy/testing/tests/test_utils.py __________________________________________________
ImportError while importing test module 'C:\Users\Divyansh\Documents\GitHub\arrow\python\pythonenv\Lib\site-packages\numpy\testing\tests\test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
pythonenv\Lib\site-packages\numpy\testing\__init__.py:11: in <module>
    from ._private.utils import *
pythonenv\Lib\site-packages\numpy\testing\_private\utils.py:21: in <module>
    import numpy as np
E   ModuleNotFoundError: No module named 'numpy'
============================================================================= short test summary info =============================================================================
ERROR pyarrow - ModuleNotFoundError: No module named 'pyarrow.lib'
ERROR pythonenv/Lib/site-packages/numpy/testing/tests/test_utils.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================ 2 errors in 0.32s ================================================================================
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow/python (main)
$ pip install pyarrow
Collecting pyarrow
  Obtaining dependency information for pyarrow from https://files.pythonhosted.org/packages/1a/f7/f6df7992ef2339bbf31ba349de19af5b8fd75590129c4e8fcb719f24fe5f/pyarrow-15.0.0-cp312-cp312-win_amd64.whl.metadata
  Using cached pyarrow-15.0.0-cp312-cp312-win_amd64.whl.metadata (3.1 kB)
Collecting numpy<2,>=1.16.6 (from pyarrow)
  Obtaining dependency information for numpy<2,>=1.16.6 from https://files.pythonhosted.org/packages/16/2e/86f24451c2d530c88daf997cb8d6ac622c1d40d19f5a031ed68a4b73a374/numpy-1.26.4-cp312-cp312-win_amd64.whl.metadata
  Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl.metadata (61 kB)
Using cached pyarrow-15.0.0-cp312-cp312-win_amd64.whl (25.3 MB)
Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl (15.5 MB)
Installing collected packages: numpy, pyarrow
Successfully installed numpy-1.26.4 pyarrow-15.0.0

[notice] A new release of pip is available: 23.2.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow/python (main)
$ python -m pytest --doctest-cython
C:\Users\Divyansh\Documents\GitHub\arrow\python\myenv\Lib\site-packages\pytest_cython\__init__.py:7: UserWarning: could not get pytest-cython version; pkg_resources not available or package not installed
  warnings.warn('could not get pytest-cython version; pkg_resources '
=============================================================================== test session starts ===============================================================================
platform win32 -- Python 3.12.0, pytest-8.0.1, pluggy-1.4.0
rootdir: C:\Users\Divyansh\Documents\GitHub\arrow\python
configfile: setup.cfg
plugins: cython-0.2.1
collected 139 items / 1 error

===================================================================================== ERRORS ======================================================================================
____________________________________________________________________________ ERROR collecting pyarrow _____________________________________________________________________________
C:\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1381: in _gcd_import
    ???
<frozen importlib._bootstrap>:1354: in _find_and_load
    ???
<frozen importlib._bootstrap>:1304: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1381: in _gcd_import
    ???
<frozen importlib._bootstrap>:1354: in _find_and_load
    ???
<frozen importlib._bootstrap>:1325: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:929: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:994: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pyarrow\__init__.py:65: in <module>
    import pyarrow.lib as _lib
E   ModuleNotFoundError: No module named 'pyarrow.lib'
================================================================================ warnings summary =================================================================================
pythonenv\Lib\site-packages\numpy\testing\tests\test_utils.py:1585
  C:\Users\Divyansh\Documents\GitHub\arrow\python\pythonenv\Lib\site-packages\numpy\testing\tests\test_utils.py:1585: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================================= short test summary info =============================================================================
ERROR pyarrow - ModuleNotFoundError: No module named 'pyarrow.lib'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=========================================================================== 1 warning, 1 error in 0.53s ===========================================================================

@AlenkaF I you can spare some time please take a look at quoted reply

Hm, not sure but first I need to ask if PyArrow is built? To have _dataset.pyx built you need to follow these instructions: https://arrow.apache.org/docs/developers/python.html#building-on-linux-and-macos and then you can run doctest.

Hm, not sure but first I need to ask if PyArrow is built? To have _dataset.pyx built you need to follow these instructions: https://arrow.apache.org/docs/developers/python.html#building-on-linux-and-macos and then you can run doctest.

@AlenkaF For some reason I am not able to build the documentation and it's taking a lot of time to figure it out so if time allows it could you please run the preview-docs command and suggest me the changes to be made? It would be a great help.

Sure!
I would suggest to first fix the CI:

rebase the PR. This might solve some failures.
correct the linter error https://github.com/apache/arrow/actions/runs/7939047572/job/21678650717?pr=38279#step:5:823

--- original//arrow/python/pyarrow/_dataset_parquet.pyx
+++ fixed//arrow/python/pyarrow/_dataset_parquet.pyx
@@ -626,12 +626,12 @@
         >>> options = pq.ParquetFileWriteOptions(compression_level=5)
         >>> pq.write_table(table, "example_compression.parquet", write_options=options)

-
+
     def update(self, **kwargs):
         """
         Parameters
         ----------
-        **kwargs : dict
+        **kwargs: dict
         """
         arrow_fields = {
             "use_deprecated_int96_timestamps",

Regarding the preview docs you can run the command yourself whenever you need. Simply add @github-actions crossbow submit preview-docs to the comment, see https://arrow.apache.org/docs/dev/developers/documentation.html#building-a-docs-preview-in-a-pull-request

@github-actions crossbow submit preview-docs

@AlenkaF is there a reason why this is coming
Only contributors can submit requests to this bot. Please ask someone from the community for help with getting the first commit in.
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/8001313647

@AlenkaF is there a reason why this is coming?
Only contributors can submit requests to this bot. Please ask someone from the community for help with getting the first commit in.
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/8001313647

@github-actions crossbow submit preview-docs

Thought the preview-docs bot works for everybody, @assignUser is docs-preview crossbow job enabled only for the contributors?
In any case, the preview will not be successful as there are still errors to be fixed. The linter error I mentioned in https://github.com/apache/arrow/pull/38279#issuecomment-1958886546 plus a missing """ at the end of the docstrings added in this PR. See
  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      def update(self, **kwargs):
          """
          Parameters
          ----------
                    ^
  ------------------------------------------------------------```

I am not sure why these files are getting formattted array.pxi,table.pxi,types.pxi I don't know if this is an error from my compiler? Either way the checks were still failing
diff --git a/python/pyarrow/_dataset_parquet.pyx b/python/pyarrow/_dataset_parquet.pyx
index 2309c705d..e24fcf9d2 100644
--- a/python/pyarrow/_dataset_parquet.pyx
+++ b/python/pyarrow/_dataset_parquet.pyx
@@ -626,7 +626,7 @@ cdef class ParquetFileWriteOptions(FileWriteOptions):
         >>> options = pq.ParquetFileWriteOptions(compression_level=5)
         >>> pq.write_table(table, "example_compression.parquet", write_options=options)
         """
-
+
     def update(self, **kwargs):
         """
         Parameters
diff --git a/python/pyarrow/array.pxi b/python/pyarrow/array.pxi
index ad01d4557..e441278ae 100644
--- a/python/pyarrow/array.pxi
+++ b/python/pyarrow/array.pxi
@@ -1748,7 +1748,8 @@ cdef class Array(_PandasConvertible):
                     inner_array = pyarrow_unwrap_array(casted_array)
                 except ArrowInvalid as e:
                     raise ValueError(
-                        f"Could not cast {self.type} to requested type {target_type}: {e}"
+                        f"Could not cast {self.type} to requested type {
+                            target_type}: {e}"
                     )
             else:
                 inner_array = self.sp_array
diff --git a/python/pyarrow/table.pxi b/python/pyarrow/table.pxi
index ee3872aa3..18b7944d1 100644
--- a/python/pyarrow/table.pxi
+++ b/python/pyarrow/table.pxi
@@ -3081,7 +3081,8 @@ cdef class RecordBatch(_Tabular):
                     inner_batch = pyarrow_unwrap_batch(casted_batch)
                 except ArrowInvalid as e:
                     raise ValueError(
-                        f"Could not cast {self.schema} to requested schema {target_schema}: {e}"
+                        f"Could not cast {self.schema} to requested schema {
+                            target_schema}: {e}"
                     )
             else:
                 inner_batch = self.sp_batch
diff --git a/python/pyarrow/types.pxi b/python/pyarrow/types.pxi
index e9bf56c62..1f7773174 100644
--- a/python/pyarrow/types.pxi
+++ b/python/pyarrow/types.pxi
@@ -133,7 +133,8 @@ cdef void* _as_c_pointer(v, allow_null=False) except *:
         else:
             capsule_name_str = capsule_name.decode()
             raise ValueError(
-                f"Can't convert PyCapsule with name '{capsule_name_str}' to pointer address"
+                f"Can't convert PyCapsule with name '{
+                    capsule_name_str}' to pointer address"
             )
     else:
         raise TypeError(f"Expected a pointer value, got {type(v)!r}")

I am not sure why these files are getting formattted array.pxi,table.pxi,types.pxi I don't know if this is an error from my compiler? Either way the checks were still failing.

They are still failing but the error is different now. Be sure to clean any whitespace in the "empty" line. It looks like they are left after you added """.

I am using these docs for fixing linter error.I am very sorry for troubling you with such seemingly small troubles but I facing these formatting issues another 2PR's I am working on and it's a bit frustrraing to not being able to figure out the cause.In one pr my docker-compose.yml file is getting unnecessary errors and in another pr the same files as mentioned above are getting formatted for no reason(#40186).

You are using the Archery tool? Hm, maybe try to reinstall it?

is docs-preview crossbow job enabled only for the contributors?

It's not specific to the docs-preview job. We recently tighten the permissions a bit for security reasons, you now have to be a committer or collaborator to run jobs.

Could you show the exact command line your used for formatting?

Could you show the exact command line your used for formatting?

Sure

Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow (Document-ParquetWriteOptions-class)
$ source myenv/Scripts/activate
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub/arrow (Document-ParquetWriteOptions-class)
$ cd ..
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub
$ pip install -e "arrow/dev/archery[lint]"
Obtaining file:///C:/Users/Divyansh/Documents/GitHub/arrow/dev/archery
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting click>=7 (from archery==0.1.0)
  Obtaining dependency information for click>=7 from https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl.metadata
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting numpydoc==1.1.0 (from archery==0.1.0)
  Using cached numpydoc-1.1.0-py3-none-any.whl (47 kB)
Collecting autopep8 (from archery==0.1.0)
  Obtaining dependency information for autopep8 from https://files.pythonhosted.org/packages/d8/f2/e63c9f9c485cd90df8e4e7ae90fa3be2469c9641888558c7b45fa98a76f8/autopep8-2.0.4-py2.py3-none-any.whl.metadata
  Using cached autopep8-2.0.4-py2.py3-none-any.whl.metadata (17 kB)
Collecting flake8==6.1.0 (from archery==0.1.0)
  Obtaining dependency information for flake8==6.1.0 from https://files.pythonhosted.org/packages/b0/24/bbf7175ffc47cb3d3e1eb523ddb23272968359dfcf2e1294707a2bf12fc4/flake8-6.1.0-py2.py3-none-any.whl.metadata
  Using cached flake8-6.1.0-py2.py3-none-any.whl.metadata (3.8 kB)
Collecting cython-lint (from archery==0.1.0)
  Obtaining dependency information for cython-lint from https://files.pythonhosted.org/packages/02/5d/2e8f5cec532b056fbc644b680b132abcb64a73d3a5196e3de797616b392e/cython_lint-0.16.0-py2.py3-none-any.whl.metadata
  Using cached cython_lint-0.16.0-py2.py3-none-any.whl.metadata (4.8 kB)
Collecting cmake-format==0.6.13 (from archery==0.1.0)
  Using cached cmake_format-0.6.13-py3-none-any.whl (19 kB)
Collecting cmakelang>=0.6.13 (from cmake-format==0.6.13->archery==0.1.0)
  Using cached cmakelang-0.6.13-py3-none-any.whl (159 kB)
Collecting mccabe<0.8.0,>=0.7.0 (from flake8==6.1.0->archery==0.1.0)
  Obtaining dependency information for mccabe<0.8.0,>=0.7.0 from https://files.pythonhosted.org/packages/27/1a/1f68f9ba0c207934b35b86a8ca3aad8395a3d6dd7921c0686e23853ff5a9/mccabe-0.7.0-py2.py3-none-any.whl.metadata
  Downloading mccabe-0.7.0-py2.py3-none-any.whl.metadata (5.0 kB)
Collecting pycodestyle<2.12.0,>=2.11.0 (from flake8==6.1.0->archery==0.1.0)
  Obtaining dependency information for pycodestyle<2.12.0,>=2.11.0 from https://files.pythonhosted.org/packages/b1/90/a998c550d0ddd07e38605bb5c455d00fcc177a800ff9cc3dafdcb3dd7b56/pycodestyle-2.11.1-py2.py3-none-any.whl.metadata
  Using cached pycodestyle-2.11.1-py2.py3-none-any.whl.metadata (4.5 kB)
Collecting pyflakes<3.2.0,>=3.1.0 (from flake8==6.1.0->archery==0.1.0)
  Obtaining dependency information for pyflakes<3.2.0,>=3.1.0 from https://files.pythonhosted.org/packages/00/e9/1e1fd7fae559bfd07704991e9a59dd1349b72423c904256c073ce88a9940/pyflakes-3.1.0-py2.py3-none-any.whl.metadata
  Using cached pyflakes-3.1.0-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting Jinja2>=2.3 (from numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for Jinja2>=2.3 from https://files.pythonhosted.org/packages/30/6d/6de6be2d02603ab56e72997708809e8a5b0fbfee080735109b40a3564843/Jinja2-3.1.3-py3-none-any.whl.metadata
  Using cached Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB)
Collecting sphinx>=1.6.5 (from numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for sphinx>=1.6.5 from https://files.pythonhosted.org/packages/b2/b6/8ed35256aa530a9d3da15d20bdc0ba888d5364441bb50a5a83ee7827affe/sphinx-7.2.6-py3-none-any.whl.metadata
  Using cached sphinx-7.2.6-py3-none-any.whl.metadata (5.9 kB)
Collecting colorama (from click>=7->archery==0.1.0)
  Obtaining dependency information for colorama from https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl.metadata
  Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting cython>=0.29.32 (from cython-lint->archery==0.1.0)
  Obtaining dependency information for cython>=0.29.32 from https://files.pythonhosted.org/packages/b4/69/cb4620287cd9ef461103e122c0a2ae7f7ecf183e02510676fb5a15c95b05/Cython-3.0.8-cp312-cp312-win_amd64.whl.metadata
  Using cached Cython-3.0.8-cp312-cp312-win_amd64.whl.metadata (3.2 kB)
Collecting tokenize-rt>=3.2.0 (from cython-lint->archery==0.1.0)
  Obtaining dependency information for tokenize-rt>=3.2.0 from https://files.pythonhosted.org/packages/8d/35/78f03aa48cfebd13646707f64477bc7eacf1081edcdcd1b4d57cb1b5d0a8/tokenize_rt-5.2.0-py2.py3-none-any.whl.metadata
  Using cached tokenize_rt-5.2.0-py2.py3-none-any.whl.metadata (4.1 kB)
Collecting six>=1.13.0 (from cmakelang>=0.6.13->cmake-format==0.6.13->archery==0.1.0)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting MarkupSafe>=2.0 (from Jinja2>=2.3->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for MarkupSafe>=2.0 from https://files.pythonhosted.org/packages/3f/14/c3554d512d5f9100a95e737502f4a2323a1959f6d0d01e0d0997b35f7b10/MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl.metadata
  Using cached MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl.metadata (3.1 kB)
Collecting sphinxcontrib-applehelp (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for sphinxcontrib-applehelp from https://files.pythonhosted.org/packages/56/89/fea3fbf6785b388e6cb8a1beaf62f96e80b37311bdeed6e133388a732426/sphinxcontrib_applehelp-1.0.8-py3-none-any.whl.metadata
  Using cached sphinxcontrib_applehelp-1.0.8-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-devhelp (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for sphinxcontrib-devhelp from https://files.pythonhosted.org/packages/a0/52/1049d918d1d1c72857d285c3f0c64c1cbe0be394ce1c93a3d2aa4f39fe3b/sphinxcontrib_devhelp-1.0.6-py3-none-any.whl.metadata
  Using cached sphinxcontrib_devhelp-1.0.6-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-jsmath (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for sphinxcontrib-htmlhelp>=2.0.0 from https://files.pythonhosted.org/packages/c2/e9/74c4cda5b409af3222fda38f0774e616011bc935f639dbc0da5ca2d1be7d/sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl.metadata
  Using cached sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.9 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for sphinxcontrib-serializinghtml>=1.1.9 from https://files.pythonhosted.org/packages/38/24/228bb903ea87b9e08ab33470e6102402a644127108c7117ac9c00d849f82/sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl.metadata
  Using cached sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl.metadata (2.4 kB)
Collecting sphinxcontrib-qthelp (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for sphinxcontrib-qthelp from https://files.pythonhosted.org/packages/80/b3/1beac14a88654d2e5120d0143b49be5ad450b86eb1963523d8dbdcc51eb2/sphinxcontrib_qthelp-1.0.7-py3-none-any.whl.metadata
  Using cached sphinxcontrib_qthelp-1.0.7-py3-none-any.whl.metadata (2.2 kB)
Collecting Pygments>=2.14 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for Pygments>=2.14 from https://files.pythonhosted.org/packages/97/9c/372fef8377a6e340b1704768d20daaded98bf13282b5327beb2e2fe2c7ef/pygments-2.17.2-py3-none-any.whl.metadata
  Using cached pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB)
Collecting docutils<0.21,>=0.18.1 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for docutils<0.21,>=0.18.1 from https://files.pythonhosted.org/packages/26/87/f238c0670b94533ac0353a4e2a1a771a0cc73277b88bff23d3ae35a256c1/docutils-0.20.1-py3-none-any.whl.metadata
  Using cached docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB)
Collecting snowballstemmer>=2.0 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Collecting babel>=2.9 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for babel>=2.9 from https://files.pythonhosted.org/packages/0d/35/4196b21041e29a42dc4f05866d0c94fa26c9da88ce12c38c2265e42c82fb/Babel-2.14.0-py3-none-any.whl.metadata
  Using cached Babel-2.14.0-py3-none-any.whl.metadata (1.6 kB)
Collecting alabaster<0.8,>=0.7 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for alabaster<0.8,>=0.7 from https://files.pythonhosted.org/packages/32/34/d4e1c02d3bee589efb5dfa17f88ea08bdb3e3eac12bc475462aec52ed223/alabaster-0.7.16-py3-none-any.whl.metadata
  Using cached alabaster-0.7.16-py3-none-any.whl.metadata (2.9 kB)
Collecting imagesize>=1.3 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for imagesize>=1.3 from https://files.pythonhosted.org/packages/ff/62/85c4c919272577931d407be5ba5d71c20f0b616d31a0befe0ae45bb79abd/imagesize-1.4.1-py2.py3-none-any.whl.metadata
  Using cached imagesize-1.4.1-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting requests>=2.25.0 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for requests>=2.25.0 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting packaging>=21.0 (from sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for packaging>=21.0 from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.25.0->sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/b6/7c/8debebb4f90174074b827c63242c23851bdf00a532489fba57fef3416e40/charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata
  Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests>=2.25.0->sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for idna<4,>=2.5 from https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl.metadata
  Using cached idna-3.6-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for urllib3<3,>=1.21.1 from https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl.metadata
  Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx>=1.6.5->numpydoc==1.1.0->archery==0.1.0)
  Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl.metadata
  Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
Using cached flake8-6.1.0-py2.py3-none-any.whl (58 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached autopep8-2.0.4-py2.py3-none-any.whl (45 kB)
Using cached cython_lint-0.16.0-py2.py3-none-any.whl (12 kB)
Using cached Cython-3.0.8-cp312-cp312-win_amd64.whl (2.8 MB)
Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB)
Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Using cached pycodestyle-2.11.1-py2.py3-none-any.whl (31 kB)
Using cached pyflakes-3.1.0-py2.py3-none-any.whl (62 kB)
Using cached sphinx-7.2.6-py3-none-any.whl (3.2 MB)
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Using cached tokenize_rt-5.2.0-py2.py3-none-any.whl (5.8 kB)
Using cached alabaster-0.7.16-py3-none-any.whl (13 kB)
Using cached Babel-2.14.0-py3-none-any.whl (11.0 MB)
Using cached docutils-0.20.1-py3-none-any.whl (572 kB)
Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Using cached MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl (17 kB)
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl (99 kB)
Using cached sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl (92 kB)
Using cached sphinxcontrib_applehelp-1.0.8-py3-none-any.whl (120 kB)
Using cached sphinxcontrib_devhelp-1.0.6-py3-none-any.whl (83 kB)
Using cached sphinxcontrib_qthelp-1.0.7-py3-none-any.whl (89 kB)
Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl (100 kB)
Using cached idna-3.6-py3-none-any.whl (61 kB)
Using cached urllib3-2.2.1-py3-none-any.whl (121 kB)
Building wheels for collected packages: archery
  Building editable for archery (pyproject.toml) ... done
  Created wheel for archery: filename=archery-0.1.0-0.editable-py3-none-any.whl size=3265 sha256=649b769ec42885fb97e90d4cd7ebc92ed4c81b71b3b55f76b8b375b3feec07ff
  Stored in directory: C:\Users\Divyansh\AppData\Local\Temp\pip-ephem-wheel-cache-gpmqil5u\wheels\c8\20\0b\32bf286b59e44a2eec44dacd43807c1f9bcc25107cdf0b860f
Successfully built archery
Installing collected packages: snowballstemmer, urllib3, tokenize-rt, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontr
ib-devhelp, sphinxcontrib-applehelp, six, Pygments, pyflakes, pycodestyle, packaging, mccabe, MarkupSafe, imagesize, idna, docutils, cython, colorama, charset-normalizer, certifi, babel, alabaster, requests, Jinja2, flake8, cython-lint, cmakelang, click, autopep8, sphinx, cmake-format, archery, numpydoc
Successfully installed Jinja2-3.1.3 MarkupSafe-2.1.5 Pygments-2.17.2 alabaster-0.7.16 archery-0.1.0 autopep8-2.0.4 babel-2.14.0 certifi-2024.2.2 charset-normalizer-3.3.2 click-8.1.
7 cmake-format-0.6.13 cmakelang-0.6.13 colorama-0.4.6 cython-3.0.8 cython-lint-0.16.0 docutils-0.20.1 flake8-6.1.0 idna-3.6 imagesize-1.4.1 mccabe-0.7.0 numpydoc-1.1.0 packaging-23
.2 pycodestyle-2.11.1 pyflakes-3.1.0 requests-2.31.0 six-1.16.0 snowballstemmer-2.2.0 sphinx-7.2.6 sphinxcontrib-applehelp-1.0.8 sphinxcontrib-devhelp-1.0.6 sphinxcontrib-htmlhelp-2.0.5 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.7 sphinxcontrib-serializinghtml-1.1.10 tokenize-rt-5.2.0 urllib3-2.2.1

[notice] A new release of pip is available: 23.2.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub
$ archery lint --python --clang-format --fix
fatal: not a git repository (or any of the parent directories): .git
INFO:archery:Running C++ linters
-- Building using CMake version: 3.28.0-rc1
-- The C compiler identification is GNU 13.1.0
-- The CXX compiler identification is GNU 13.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/ucrt64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/ucrt64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 16.0.0 (full: '16.0.0-SNAPSHOT')
-- Arrow SO version: 1600 (full: 1600.0.0)
-- clang-tidy 14 not found
-- clang-format 14 not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN)
-- infer not found
-- Found Python3: C:/Users/Divyansh/Documents/GitHub/arrow/myenv/Scripts/python.exe (found version "3.12.0") found components: Interpreter
-- Found cpplint executable at C:/Users/Divyansh/Documents/GitHub/arrow/cpp/build-support/cpplint.py
ARROW_LINT_ONLY was specified, this is only a partial build directory
-- Configuring done (16.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_COMPILE_COMMANDS
    CMAKE_UNITY_BUILD

-- Build files have been written to: C:/Users/Divyansh/AppData/Local/Temp/arrow-lint-g_7q80h8/cpp-build
make: *** No rule to make target 'format'.  Stop.
INFO:archery:Running Python formatter (autopep8)
INFO:archery:Running Python linter (flake8)
INFO:archery:Running Cython linter (cython-lint)
Skipping file C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\lib.pyx, as it cannot be parsed. Error: AttributeError("'_thread._local' object has no attribute 'cython_errors_stack'")
INFO:archery:Running clang-format for python/pyarrow/src/arrow/python
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\api.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\arrow_to_pandas.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\arrow_to_pandas.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\arrow_to_python_internal.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\async.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\benchmark.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\benchmark.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\common.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\common.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\csv.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\csv.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\datetime.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\datetime.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\decimal.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\decimal.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\deserialize.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\deserialize.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\extension_type.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\extension_type.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\filesystem.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\filesystem.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\flight.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\flight.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\gdb.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\gdb.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\helpers.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\helpers.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\inference.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\inference.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\init.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\init.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\io.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\io.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\ipc.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\ipc.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\iterators.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\numpy_convert.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\numpy_convert.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\numpy_internal.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\numpy_interop.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\numpy_to_arrow.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\numpy_to_arrow.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\parquet_encryption.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\parquet_encryption.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\pch.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\platform.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\pyarrow.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\pyarrow.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\pyarrow_api.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\pyarrow_lib.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\python_test.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\python_test.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\python_to_arrow.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\python_to_arrow.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\serialize.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\serialize.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\type_traits.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\udf.cc
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\udf.h
Formatting C:\Users\Divyansh\Documents\GitHub\arrow\python\pyarrow\src\arrow\python\visibility.h
Traceback (most recent call last):
  File "C:\Users\Divyansh\Documents\GitHub\arrow\cpp\build-support\run_clang_format.py", line 93, in <module>
    results = lintutils.run_parallel([
              ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\cpp\build-support\lintutils.py", line 59, in run_parallel
    procs_batch = [Popen(cmd, **kwargs) for cmd in cmds_batch]
                   ^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Python312\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Divyansh\Documents\GitHub\arrow\myenv\Scripts\archery.exe\__main__.py", line 7, in <module>
  File "C:\Users\Divyansh\Documents\GitHub\arrow\myenv\Lib\site-packages\click\core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\myenv\Lib\site-packages\click\core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\myenv\Lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\myenv\Lib\site-packages\click\core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\myenv\Lib\site-packages\click\core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\myenv\Lib\site-packages\click\decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\dev\archery\archery\cli.py", line 299, in lint
    linter(src, fix, iwyu_all=iwyu_all, **checks)
  File "C:\Users\Divyansh\Documents\GitHub\arrow\dev\archery\archery\utils\lint.py", line 464, in linter
    results.extend(python_cpp_linter(src,
  File "C:\Users\Divyansh\Documents\GitHub\arrow\dev\archery\archery\utils\lint.py", line 285, in python_cpp_linter
    yield LintResult.from_cmd(python.run(*args))
                              ^^^^^^^^^^^^^^^^^
  File "C:\Users\Divyansh\Documents\GitHub\arrow\dev\archery\archery\utils\command.py", line 78, in run
    return subprocess.run(invocation, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['python', 'C:\\Users\\Divyansh\\Documents\\GitHub\\arrow\\cpp\\build-support\\run_clang_format.py', '--source_dir', 'C:\\Users\\Divyansh\\Documents\\GitHub\\arrow\\python\\pyarrow\\src\\arrow\\python', '--clang_format_binary', 'clang-format-14', '--fix']' returned non-zero exit status 1.
(myenv)
Divyansh@LAPTOP-8JH824JM MINGW64 ~/Documents/GitHub
$

It seems that you're using the official Windows Python https://www.python.org/downloads/windows/ and MSYS2.
I think that you can't mix them because it also mixes C++ compiler. The official Windows Python uses Visual Studio and MSYS2 uses MinGW-w64.
Could you use PowerShell instead of MSYS2?


VIDEOJS: ERROR: The "flash" tech is undefined. Skipped browser support check for that tech.

what is the reason

look at https://github.com/surmon-china/vue-video-player/issues/221#issue-372980141

Same problem.

My nose is bleeding on this ->
look at #221 (comment)

Who solved it

Who solved it


docs: add how-to guide on wire-cutting

Summary
Details and comments

Thanks @ritajitmajumdar1!
Would you mind creating a notebooks directory inside of docs and placing yours inside? (i.e. ./docs/notebooks/<NOTEBOOK>)

You accidentally deleted all files with your last commit @ritajitmajumdar1
Also, can you check that this notebook runs with a freshly created environment and this repo installed from source?
Since Friday, this should be equivalent to Qiskit 1.0.0. You will need to rebase this branch to main, let me know if you need help.


AutomationId based on name fix

Set AutomationId based on x:Name property
Now the AutomationId property is set according to the control x:Name property.
For NumericUpDown:

Textbox: "PART_TextBox{x:Name value}"
DownButton : "PART_NumericDown{x:Name value}"
UpButton: "PART_NumericUp{x:Name value}"

For Flyout:
-NavButton: "nav{x:Name value}"
#2166

@thoemmi What do you think? /cc @xxMUROxx

I don't know anything about the automation API, but it looks fine for me :blush:

Can someone explain in short what Automation is useful for?

@xxMUROxx there are 2 areas where automation is used a lot:
Automated UI tests
Accessibility
In both it is important to manipulate the UI using alternatives to de usual keyboard/mouse/touch methods, so that is when automation comes into play.

@petvetbr Ah, ok. Then I think the same behavior is missing for other custom controls that are implemented in this library too. e.g. ToggleSwith, DropDownButton, SplitButton, etc...

@xxMUROxx
Ok, I´ll take a look at the other controls and see if I can make them more "automation friendly",

@petvetbr :+1:
One thing to point out. For custom controls created by this library you could introduce a method in e.g. NumericUpDown that attached the properties to the PART_ controls in order to avoid that the attached property is called in XAML. This has the advantage that if someone rewrites the template for e.g. NumericUpDown the automation is applied too.
private void ApplyUiAutomation()
{
_repeatDown.SetValue(Controls:AutomationHelper.DefaultAutomationId, ElementNumericDown);
//...
}
what do you think?
/cc @punker76

I have looked into it a bit and found that the UI Elements should get exposed by AutomationPeer Class. So it is done with ButtonAutomationPeer, TextBoxAutomationPeer.
Therefore I think it should be done also with NumericUpDown. Create a class NumericUpDownAutomationPeer and implement the exposure there
UI Automation of a WPF Custom Control


Image Classification

This project is submission for the second round of the interview.

@ssravali Thanks for your contribution. Please add MLflow so other developers can improve upon your work.

@ssravali Thanks for your modification. Please add MLproject file to your directory. Here's an example of how to accomplish this:
https://www.mlflow.org/docs/latest/projects.html#mlproject-file

@ssravali Please convert your Jupyter notebook into Python scripts. This will allow you to add MLproject file. Here are three examples on how to accomplish this:

https://github.com/mlflow/mlflow/blob/master/examples/tensorflow/MLproject
https://github.com/mlflow/mlflow/blob/master/examples/multistep_workflow/MLproject
https://github.com/mlflow/mlflow/blob/master/examples/docker/MLproject

@slavakurilyak I have changed the Jupyter notebook to a Python Script and i have added MLflow to it.

@ssravali Please update README.md file with code usage instructions and add MLproject file.


Add sidebar to Wagtail JobListingPage

This PR adds the job listing page sidebar to the new Wagtail JobListingPage, copying it from the legacy Django template.
Changes

Added hardcoded sidebar content to cfgov/jinja2/v1/job-description-page/index.html.
Added a bit of logic to the template to handle the (unlikely) case that there are no specified regions or grades for a job.

Testing

Create a new JobListingPage in the Wagtail admin, and preview. Compare the generated sidebar with one on the live site that uses the Django template, for example this page.

Review

@sebworks

Screenshots
Page with no grades or regions specified (again, this is unlikely, but better to show something than just have a blank):

Todos

Per @schaferjh for now we are going to hardcode this content, but in future it would be nice to have it default to something but be configurable through the standard Wagtail sidebar editor.

Checklist

[X] Changes are limited to a single goal (no scope creep)
[X] Code can be automatically merged (no conflicts)
[X] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍

Added a bit of logic to the template to handle the (unlikely) case that there are no specified regions or grades for a job.

Did you mean type/division rather than region? The screenshot doesn't include the region listing.
"All divisions" seems like a fine fall back for no division/office
The dummy data for expiration date and grade strikes me as potentially more confusing/harmful than helpful. Could those two fields display "- -" ?
Actually, could expiration date and grade be required fields in the admin? So the cms throws an error if someone tries to publish without those?

@schaferjh Sorry for the confusion; I did mean region.
I believe our data model specifies that each job "should" have 1 or more regions and 1 or more grades, but the Wagtail editor interface does not enforce this, and lets you select 0.
This PR includes a change where if no regions are specified, I just remove that line from the job header. Otherwise you'd just see "REGION: " with nothing after it.
Division and expiration date are currently required field, as are minimum/maximum salary. So these will always appear.
I mentioned enforcing region/grade as a TODO in the PR where these pages were created). This is a bit tricky because it's page-level validation as opposed to field-level.

ok, well for now, in the required fields, if nothing is selected for expiration date and max/min salary they should get a - - rather than placeholder information. I suppose it's fine for the actual grade to be blank, and "All divisions" is fine for divisions.

Sorry, I'm not sure if that requires additional changes (or if that's in scope for this PR). Currently in the Wagtail admin the editor for those fields looks like this:

Note the stars for required fields, so editors can't even save a page without specifying a close date and salary range.
I created a new backlog task for enforcing at least one Region or Grade; the change here was only meant to prevent a blank element on the page until that is done.

ok, I think this was all a miscommunication. I assumed all the things in your screenshot were the result of items being left blank in the admin. I was skimming too quickly and not clearly understanding what the screenshot was showing. Your original solution of no grade and no region if those are empty is fine.
New backlog task to enforce at least one Region or Grade sounds great. thanks.
Re: the focus of this PR, I assume the hardcoded sidebar looks just like the sidebar live on the site today? i.e. here: http://www.consumerfinance.gov/about-us/careers/enforcement-economist-cn-6060/
If so then 👍

@schaferjh yep, the hardcoded sidebar matches the legacy Django page sidebar exactly. Thanks for the review.


node 0.6.1 compatibility issue. sys renamed to util

Patch to fix silent warnings I'm getting
The "sys" module is now called "util". It should have a similar interface.

I think it has to do with node 0.6.1.

+1

btw. great fix to make it working on old nodes too.

Thanks, I got that from mhevery
https://github.com/mhevery/jasmine-node/commit/ccacd985a8d38802ff0b5cadc89a4d5744a72185


Test pr

seeing if jenkins creates a build on new prs

Can one of the admins verify this patch?

@damagatchi retest this please

retest this please

retest this please

retest this please

retest this please


Improve default Error output

Now that node-sass returns an actual Error object, this should be possible. #675
Improve the output shown when logged to the console. I currently have to manually do this in my grunt plugin, but having it here would benefit all consumers.
You can do this by overriding .toString() of the Error object.
Something like this (but also with filename):

(from gulp-jscs)

Exact duplicate of #687?

Yeah, wtf GitHub...

Haha!


Remove dependency to EF.SQLite

The core library should have a minimal set of dependencies. Current version force using SQLite.

Closed with #48


Added Functional & Non-Functional Requirements

The requirements doc appears incomplete so I added 2 paragraphs at the end of the doc. Please review and add if it's ok. Thanks!

@Ahmad-Alqadiri & @RespectMathias ... please review. Thanks


How to clean the TGI guidance cache?

I use TGI guidance to enforce LLM choose a tool.
However, when I change the description of the tool, I find TGI does not re-compile the new grammar.
Therefore, I want to know how to clean the compiled grammar.

Thanks for reporting this @EdisonE3!
Was there any particular model/setup that this happened on or does it (which I assume) happen globally?
@drbh cool if I look into this? I might ping you if I get stuck but I'd suspect the _lru_cache isn't getting purged?

Thanks for your response!

@ErikKaum Thanks for your response!
I use Qwen2-7B-Instruct and launch it through: text-generation-launcher --model-id Qwen2-7B-Instruct --port 8000 --max-total-tokens 8000 --max-input-tokens 6000 --num-shard 2.
I think field description modifying not trigger a re-compile may be reasonable since it do not affect the grammar structure.
Additionally, if it's not too much trouble, could you please let me know which fields in the tool description will trigger grammar compilation or where I can find them?

Sorry for a slow response!
I was able to replicate locally the behavior you described 👍 But I'm not able to confirm if it's that the new grammar doesn't get compiled vs. limitations in the model itself. I noticed that Qwen2-7B-Instruct requires quite a lot of "guiding" to get things right.
So about here is the entrypoint of the v1/chat/completions where then tools_grammar_prompt is baked into the chat template in the let inputs = match infer.apply_chat_template... function
https://github.com/huggingface/text-generation-inference/blob/da82c63a4ff9c6b8f3d0901cb955c8db04c9a492/router/src/server.rs#L1070-L1092
There's also a corresponding place in the python code which I haven't double checked:
https://github.com/huggingface/text-generation-inference/blob/da82c63a4ff9c6b8f3d0901cb955c8db04c9a492/server/text_generation_server/utils/logits_process.py#L483-L529
Hopefully these help 👍

Note also that there was/is a bug with the tool choice paramter: https://github.com/huggingface/text-generation-inference/pull/2244
Being fixed at the moment 👍

Cool for you @EdisonE3 I'll mark this one as closed? Feel free to reopen if this continues being an issue 👍


api: add virtual heapsize() to ImageInput and ImageOutput

Second PR of two, following @lgritz and I discussions on memory tracking in the OIIO::ImageCache.

the memory tracking system from https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4322 is not sufficient to track OIIO public objects that can be overriden.
add virtual heapsize() method to ImageInput and ImageOutput that return the total heap allocated memory held by the structure and its members.
[ ] TODO: override for every internal OIIO type (bmp, tiff, etc).

Related PR from Larry : https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4317
First PR: https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4322
Tests

[ ] todo: fix CI fails

I rebased onto master for you. I think this is fine in its current state. Shall I merge? You can follow later with individual heapsize implementations for particular formats if you wish.
What happens if an ImageInput implementation stores things in its object instead of strictly being heap based? Or should we just sweep that under the rug and account for that within heapsize just to keep things simple? Or do you feel like we also need to add footprint to these classes?

@bfraboni From your perspective, is this ready to merge for the sake of making the ABI break and then letting things settle down, and we should add more non-breaking implementation details later? Or was there more that you were set on adding before the initial merge?

Hey @lgritz ,
Just saw your comments , thank you for the rebase!

What happens if an ImageInput implementation stores things in its object

I actually haven't thought about that point, sizeof(ImageInput) won't account for the sizeof the derived classes, so we might want add a footprint() method too, and similarly top pvt::heapsize, pvt::footprint would simply call ImageInput::footprint, how does that sound ?
No that's perfect if we do the API breaking changes now, and add variants later, I have no additional changes to do except the point above ☝

OK, let's add the footprint stubs now, and then merge the breaking changes, and then we can come back and flesh out the implementations that correctly account for what's going on in individual ImageInputs/ImageOutputs.
Note that there is still one as-yet-unaccounted aspect, which is that for inputs/outputs that depend on 3rd party libraries, it may be very difficult to know how much memory they are hanging onto in their internals that correspond to the open file.

I can do the changes later today.
Right, that part is the unknown, I don't know if some libraries have that info available through some api or visible to the user. Otherwise we can just assume that it is negligible for now.

@lgritz I added footprint() the same way as heapsize() to the ImageInput/ImageOutput API and specialized pvt::footprint to call this one. I think once tests pass (locally it does) this version is good to be merged .


Added Gsoc Expcted Outcome

Solve this Issue added GSoC Outcome of all projects https://github.com/kubeflow/website/issues/3673
So GSoC Google reviewers can access all information.

@andreyvelich sir signed commit for DCA.

@andreyvelich sir signed commit for DCO.

@Ayush9026 I think, you should sign second commit for both of us.
You can try to squash these 2 commits to one and just sign it: `git commit -s -m "Added GSOC Expected Outcome"

Hello, I think it is istio-cni and istio ambient mesh, not just the ambient mesh.

Also, I am highly suspicious of this PR, as it is clearly trying to hide something (see the strange e -i HEAD~2 addition in the diff, which GitHub can't view).
I am holding for security review.
/hold

@thesuperzapper sir e -i HEAD~2 is by mistakely i will remove it . I completely understand the need for a thorough security review. Please let me know if there's any additional information or assistance I can provide during this process.

@thesuperzapper sir e -i HEAD~2 is by mistakely i will remove it . I completely understand the need for a thorough security review. Please let me know if there's any additional information or assistance I can provide during this process.

@Ayush9026 I guess that once you squash all commits into one, all DOC errors are resolved.

@Ayush9026 will you be updating this PR?


Fixes typo in README.md

Fix typo:

(Appart -> Apart)
remove the extra article (the a)

Sorry for the late review... if you want to rebase from master, I'll be happy to approve and merge.

At this point it's more painful to resolve the conflicts on this PR than to close it and open a new one with the same change. @guptarohit I've opened PR #174 marking you as one of the authors, so I'll close this one.
Thank you!


Evaluate llama-3.1

Going to give this a week to settle, there's always bugs when quants first land.

vLLM issue: https://github.com/vllm-project/vllm/issues/6689

Gathered some early results which only confirmed by fears: there's likely bugs.
8B q6k did very poorly and 70B fp4 also looks suspect.

https://github.com/ggerganov/llama.cpp/commit/b5e95468b1676e1e5c9d80d1eeeb26f542a38f42
GGUF metadata has been extended to support precalculated RoPEs. New GGUFs need to get made.

8B works with llama.cpp 705b7ecf and kobold.cpp e47477fd4d
the 70B looks suspicious still


Can't get my test to display fail/pass(red/green) colors in command line.

I'm running rails 3.1.1 on a Windows 7 machine.  running ruby version 1.9.2p290 and rspec 2.8.0.  I have the win32console gem installed, and have tried passing the --color to the rspec command. nothing seems to work.  Is there a fix for this?
my gemfile  >>> git://gist.github.com/1635066.git

Hi, the win32console gem is ignored in RSpec. Please use ansicon:
http://softkube.com/blog/ansi-command-line-colors-under-windows/


Fix 1048 to 1024 and add obsd60iso template

This pull request combines two different fixes. One is changing 1048 to 1024 in obsd59iso and the second is adding obsd60iso as a template.

Fixed manually. Thank you Bryan!


header centralized

Hello.
Why is header centralized on iOS but not on Android?
Is there a way to centralize it on Android?
iOS

Android

react-native, react and native-base version
2.0.12

It is not centralized on android because, google material design guidelines say that the title should be aligned to the left.
If you want it centered,

making these changes to the header will fix it.

thank you @sankhadeeproy007
I was taking a look at inbox app for android and I noticed this guideline, Eg ("Inbox" title is aligned to the left)

@franciscocpg  it works thank U


Extend FieldPacket interface

It turns out that mysql and mysql2 have different property names on a column definition. The mysql library's column definition (internally called a FieldPacket) has its properties here, and the mysql2 library's column definition (internally called a ColumnDefinition) has its properties here. They differ with respect to columnType, columnLength, schema, and characterSet, so this PR extends the FieldPacket to add these types. This is a non breaking change.

Thanks!


Fixes the url

This didn't work at all until I fixed the URL by adding the missing "?"

That's not the behaviour I'm seeing on Team City 8.1.2  - what version are you using?

I'm using TeamCity 9.0 (build 32060)

Fix to this, and many other improvements are part of the 'most maintained' fork:
https://github.com/zlamma/tc-radiate

The fork has become the official version now, hence issue is closed.


Context menu update

Refactored contextmenu module

Created common table (PZNS_ContextMenu) with all context-related functions
Changed global functions to local

Moved all OnFillWorldObjectContextMenu options to common submenu

Copied from the review in case the message was missed.

Well done! You made the context menu modular, and you also made the context menu look cleaner in-game.

I learned a few things from this Pull Request, and I hope to see more from you in the future.

Thanks, glad I could help! I'm planning to work on some basic UI next.


Please include version release date and registry pages into event object

Hello!
Could you please include the version release date and registry page URL into event object?
If firehose was open-sourced I would've came up with a pull request.
Thank you!

Hi @brainoutsource, date would be easy to add. What do you mean by registry page? A link to the platform page? For example: for ExpressJS a link to https://www.npmjs.com/package/express?

Yes, exactly! Thank you so much!

Pretty please? :)

@brainoutsource I've just added this to the firehose, the responses now look like this:

Hope that helps!

Thanks a lot!


x/net: transport.go:598:14: undefined: tls.Dialer

What version of Go are you using (go version)?

$ go version
go version go1.16.3 darwin/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/robin/Documents/gopath/bin"
GOCACHE="/Users/robin/Library/Caches/go-build"
GOENV="/Users/robin/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="SNIP/gopath/pkg/mod"
GONOPROXY="github.com/SNIP"
GONOSUMDB="github.com/SNIP"
GOOS="darwin"
GOPATH="SNIP/gopath"
GOPRIVATE="github.com/SNIP"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.3"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="SNIP/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/k1/_rvgzc7j3wsdt783flh0h9gh0000gp/T/go-build3041542778=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
go build .
What did you expect to see?
build go project that used to work before, seems to be a dependency of a dependency
What did you see instead?
vendor/golang.org/x/net/http2/transport.go:598:14: undefined: tls.Dialer
seems to be related to dependency change?
@@ -672,12 +723,11 @@ golang.org/x/net v0.0.0-20210224082022-3d97a244fca7/go.mod h1:m0MpNAwzfU5UDzcl9v
golang.org/x/net v0.0.0-20210226101413-39120d07d75e/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
+golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8=
golang.org/x/net v0.0.0-20210420210106-798c2154c571/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM=
+golang.org/x/net v0.0.0-20210421230115-4e50805a0758 h1:aEpZnXcAmXkd6AvLb2OPt+EN1Zu/8Ne3pCqPjja5PXY=
golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM=
-golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210504132125-bbd867fde50d h1:nTDGCTeAu2LhcsHTRzjyIUbZHCJ4QePArsm27Hka0UM=
-golang.org/x/net v0.0.0-20210504132125-bbd867fde50d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=

Bump same issue

Possibly related to the recent bumps @bcmills did?

I got this with the addition of the version requirement.
../../pkg/mod/golang.org/x/net@v0.0.0-20210504132125-bbd867fde50d/http2/transport.go:598:14: undefined: tls.Dialer
note: module requires Go 1.17```

did you delete your old go installation before an upgrade?

our go builds happen from scratch in a clean environment every time, those are broken too, so not related to a go installation issue I think

The use of tls.Dialer was added in CL 295173.
crypto/tls.Dialer itself was added to the tls package in Go 1.15 for #18482, so I wonder whether the go version reported above (go1.16.3) is actually the version you are using to build the package.

(I suspect that this is a duplicate of #45942.)

hmm good point, build is done locally and then submitted to a Google Cloud Function , which is go 1.13

We are seeing this failure in an ubuntu 20.04 docker build. Was working ok until a few hours ago. Dockerfile below.
$ docker build .
...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for ca-certificates (20210119~20.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
  If you want to use the tip x/net package, you must be using at least 1.15.  Closing because I don't think there is a bug here.

So "go get" is now broken for ubuntu 20.04? Or is there some other recommended pattern when working with a distro that packages an older version of go?

If you are using a version of Go earlier than 1.15, then, yes, fetching tip of golang.org/x/net is broken.
There isn't an obvious solution here.  We have a stated support policy for the golang.org/x repos (https://golang.org/wiki/X-Repositories).  For that matter, we have a stated support policy for Go releases (https://golang.org/doc/devel/release.html#policy).  We no longer support the Go 1.14 release, and we no longer support building the golang.org/x repos with the Go 1.14 release.  Our support bandwidth is limited, and we have to set some limits.
I don't know what Ubuntu's support policies are.  We do provide pre-built Go releases for Ubuntu and other Linux systems at https://golang.org/dl/, and you can of course build Go yourself from source.

Since this came up five times in 24 hours, I went ahead and patches golang.org/x/net so that it will work with versions of Go before 1.15.  That should fix this problem.  I still strongly encourage everyone to upgrade to a supported version of Go, and I do not promise that this will not break again in the future.


gnu(9720)=13335

GAP e403849e47a7bdf008c9406a15912559fe2e9f8c
GrpConst 2.5
Runtime: 17505404 ms

Thank you for submitting new gnu(n). We will recalculate it and add to the database if we get the same result.
Checklist for the reviewer:

[ ] checked and assigned labels "new (n<50000)" or "recomputation", if needed
[ ] set "replication needed" label (unless it starts immediately)
[ ] changed it to "replication in progress" label when the replication has been started
[ ] changed it to "replicated" after successful replication review
[ ] reproducible value of gnu(n)
[ ] no essential runtime differences
[ ] sufficient level of technical details

Checklist for the maintainer:

[ ] correct arguments of commands to store data
[ ] correct location of new line in the data file
[ ] mention reviewer in the commit message

gnu(9720)=13335
GAP      4.8.3
GrpConst 2.5
Runtime: 12589658 ms (3.5 hrs)
Isomorphic groups eliminated
Replicated by @alex-konovalov on Ubuntu 16.04 on Azure cloud standard DS13 v2 instance (8 cores, 56 GB memory)


[SR-7263] Treat APIs returning unmanaged CF types as NS_RETURNS_INNER…

…_POINTER

I've pretty much obeyed the instructions in the bug tracker to the letter, which were pretty straightforward. The only thing I added to that was the optional unwrapping. This is needed to handle when the nullability of the return value is specified as _Nullable or isn't specified, which in this case is very likely. I assumed if it was an Optional multiply nested that it shouldn't behave like NS_RETURNS_INNER_POINTER.
This will make self autoreleased so this may slightly impact the memory footprint of some code.
The bug mentioned (@jrose-apple) getting someone to suggest some test code to add for this. I can add that if still necessary. There was already a test that failed from this change, so maybe that would suffice...? 🤷♂

Resolves SR-7263.
(I've run -r --verification-test on my Mac and everything passes at this point.)
Testing Time: 756.14s
  Expected Passes    : 10858
  Expected Failures  : 26
  Unsupported Tests  : 157
-- check-swift-validation-macosx-x86_64 finished --

@swift-ci please smoke test

I'm glad this was so straightforward! Yes, I do think it should still have a test—I'd go all the way to making an execution test where the object would be prematurely released otherwise. The basic setup would be a lot like test/Interpreter/SDK/block_globals.swift, with both a .swift file and a .m file to control the behavior on both sides, and we'd want to test what happens in an optimized build. Maybe the Objective-C class that returns the CF type can print something in its -dealloc so we can tell when that final release happens?
Let me know if my scattering of suggestions here isn't enough to go on. Thanks for doing this!

I wasn't totally sure where to put the test code so I just put it where I found other test code for returns_inner_pointer stuff. ("Interpreter" didn't make much sense to me.)

@swift-ci Please test macOS

@swift-ci Please smoke test Linux

preset=buildbot_incremental,tools=RA,stdlib=RA,test=macOS,type=device
@swift-ci Please test macOS with preset

Build failed
Swift Test OS X Platform
Git Sha - eea57a03738f360b5f5da7d21108aaedb1cb7e23

preset=buildbot_incremental,tools=RA,stdlib=RA,test=macOS,type=device
@swift-ci Please test macOS with preset

preset=buildbot_incremental,tools=RA,stdlib=RA,test=macOS,type=device
@swift-ci Please test with preset

Hi, I just wanted to make sure there wasn't anything else I need to do on my end... especially since there was that "build failed" message from swift-ci. Everything's green so I assume it was just a fluke.

Oops! No, just forgot to add this to my list of "things to circle back on once tests pass". Thanks, Christopher!
(I'm still not sure why the preset build didn't work, but I don't foresee any problems regardless.)


Markdown version of dataset exploration

Camel case titles
Spell check
Fix almost all the links

@AmberLJC any updates?

I'm merging it for now. I'll clean it up when I move it to the Get Started guide in the fedscale website.


Incorrect URLs on OAI-PMH Data Provider landing page

Describe the bug
When the back end is at /server, oai.path = oai and you browse /server/oai, the page that you get has links to e.g. /server/request?verb=Identify not /server/oai/request?verb=Identify.
To Reproduce
Steps to reproduce the behavior:

Configure DSpace 7 backend to enable PMH on a particular path.
Browse to that path.
Notice that the links are wrong.

Expected behavior
We should give correct, functioning links.

@mwoodiupui : I tried to reproduce this on the demo site and I cannot: https://api7.dspace.org/server/oai/   The links there all point to the correct location.  Maybe this is something about your local setup that is causing a difference?
FWIW I also cannot reproduce this locally using our Docker setup (which is what I use for testing).  So, I suspect there may be something unique about your installation, or maybe I'm misunderstanding the issue here?

Closing as not reproducible. If we find a way to reproduce, we can reopen.


Feature/f1

Description
Added functionality for OctoAI LLM via langchain
Fixes #685
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please delete options that are not relevant.

[ ] Unit Test

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

Maintainer Checklist

[ ] closes #685 (Replace #685 with the GitHub issue number)
[ ] Made sure Checks passed

@BlacPharaoh Also can you please update the title of the PR - Add OctoAILlm support to Embedchain

Working on All Comments.

Hey @BlacPharaoh thanks for your contribution. Let us know if you need any help. Planning to make this support live soon.

I picked up on this again.
Addressing all comments.
I should complete by weekend

Thanks @BlacPharaoh. Looking forward to integrating this soon.

Hi @BlacPharaoh Can you please take a look at the comments and resolve the conflicts so we can review and merge it?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing this PR, feel free to work on it again.


[WIP] OrchestrationTemplateRunner#queue_signal queue name

Updates for the ManageIQ::Providers::CloudManager::OrchestrationTemplateRunner#queue_signal method.
This removes the explicit MiqQueue.put and just uses super plus a role since it ultimately already inherits that method from the StateMachine mixin. I also moved it back to being a public method.
WIP status for now because I'm not sure if the queue_name should be set here, and if so, what it should be set to. Also, I'm currently not getting the expected zone or instance id.
Originally part of #19543

@agrare Need some help with this one please.

Love the idea, looks like you need to fix the specs though

@agrare help wanted!

@djberg96 with what?

@agrare Both the zone and instance_id come back nil, and I'm not sure why.

@djberg96 try this
     it "queues a signal with the queue_signal method" do
-      runner = described_class.create_job(:options => {:orchestration_template_id => template.id, :zone => zone})
+      runner = described_class.create_job(:options => {:orchestration_template_id => template.id}, :zone => zone.name)
       queue = runner.queue_signal

       expect(queue).to have_attributes(
         :class_name  => described_class.name,
         :method_name => 'signal',
-        :instance_id => template.id,
+        :instance_id => runner.id,
         :role        => 'ems_operations',
         :queue_name  => 'generic',
-        :zone        => zone.id,
+        :zone        => zone.name,
         :priority    => MiqQueue::NORMAL_PRIORITY,
         :args        => []
       )

@miq-bot remove_label wip


How do I set the image default width and height of an image?

I am using @draft-js-plugins/image plugin and  @draft-js-plugins/editor to display contents created with react-draft-wysiwyg. The @draft-js-plugins/image plugin is to display image inside the  @draft-js-plugins/editor. The problem I have now is that I want to have a set default image size for the image. It is not picking the size coming from the react-draft-wysiwyg when the image was uploaded. I am new to this. How can I solve this?

have u got solution ?

I simply mentioned the name of the div that is housing the editor and called the img tag in css and styled it. It worked. For instance, if I have the editor inside this div called 'readOnlyEditor-div'. I simply go to css and do this: .readOnlyEditor-div img{
width:;
height : ;
}
etc.


GPU supprot

Hi, thank you for your share. When I run this code, I find that this code can not make use of gpu, even if i run the 'main_multi_gpu.py'

Do you mean not to use gpu?
Have you checked "watch -n 0.1 nvidia-smi"?

Hi, I have a computer with cuda8.0 installed, but I only find this code running in cpu version. Could please tell me how to solve it ?  Thank you very much.

Check this

pip install tensorflow-gpu  (do not install tensorflow)

set gpu_num
ex) export CUDA_VISIBLE_DEVICES=0,1,2,3

Try it
python main_multi_gpu.py --gpu_num 4 --batch_size 1

Sorry, it doesn't work

Well, I'm running well ...
What is the GPU version?

My GPU is Nvidia Geforce 1070, Cuda version is 8.0, cudnn version is 5.1.

Hi, I suddenly found that I run this code in python2.7, which makes me feel very embarrassed. When I switch to python3, my gpu is now working. Additionly, the tensorflow I used in python3 is 1.2, but this version doesn't hava leaky_relu and instance_norm, one needs to add these two functions.

Could you please send me a training set? I try to run the code by https://github.com/mingyuliutw/UNIT/tree/master/datasets/gta2city
but it has some problems. My email is<PHONE_NUMBER>@qq.com,thank you very much!


Update keyless to accept complete raw transaction having gas price and gas limit from dapp

Related PRs, changes implemented

https://github.com/getsafle/safle-keyless-js/pull/60
https://github.com/getsafle/safle-keyless-js/pull/61


Misssing Documentation

Hi guys,
I'm a computer science student and I have to make a project in Go with Proto.Actor. Because of my lack of experience (this is my first project in Go, coming from Java) and the lack of documentation on the official website I find it very difficult to understand how one can use it. It would be nice if you could provide a better documentation. Thank you!
Edit: I also tried to send you an email but your email address doesn't seem to exist 😅
Best regards!
PS: I have to make a "simple" binary search tree where every node is an actor

Hello, I'm working on a project using the lib and it's really frustrating that half of the links in the documentation lead nowhere. The only way to understand what the lib is doing is to peek into the source code

@benny1611  @alexpashkov
https://github.com/AsynkronIT/protoactor-bootcamp

The links are for c# boot camp, how come it solves the problem with golang docs?

Documentation for Go and C# have been merged together:
https://proto.actor/docs/hello-world/


Questions on 1.21.(1-3)

I'm planning on porting this mod to fabric, It appears the license would permit such a thing.
In order to mirror behavior and maintain feature parity, I wanted to ask about your plans for 1.21. (1-3), and how you plan to adapt to the changes of newer versions. I understand that a port/update to modern versions may be a ways off. It seems that the way BonsaiTrees uses recipes may shift to mirror the server sidedness of recipes? would appreciate any info that can be provided

Side note this may not be the right place for this discussion, please feel free to redirect me to a more appropriate place

While the license would permit this, I am still actively working on this mod and might do a fabric port myself.
I'd appreciate not having a publicly released fork/port of the mod for the time being.

Don't worry. 1.21 is going to be a complete rewrite anyway. But yeah, you are right. It's probably easier to keep reporting all re-releases than dealing with the drama.
I'm not sure what you mean regarding "direction of updates". Yes, recipes will work differently. Tree models will probably work differently. A lot of things will change.

Okay, I'll rewrite it then

Re-Releases technically are not an infringement of license, and technically shouldn't be taken down. If you have qualms with your work being Re-Released, I would suggest going to a more restrictive licence, I was stating that code under mit is under mit, there is not requirement that a person that received code and assets under mit follow the updated licence, because it is not. I don't think I'll continue to talk licences, because I think that over text I may sound hostile and not informative.

As a completely different question, and my last one, a fabric port may happen, or you have plans for one, or I'm not entitled to know lol?

I'm guessing because this is closed, you won't get notifications on this, have a good day, thank you for your help :)

It's still common courtesy to ask whether it's ok to port an actively maintained mod. At least it was like that in the Minecraft community for a long time. It seems that has changed. But for me "I'm planning to do something with your thing without asking you if it's ok first" is not a good way to start a discussion.

The idea of releasing mods as open-source is in part so that someone can take over in case the original author lost interest and for others to learn from your code. Releasing the code as MIT, GPL, Apache or whatever is usually in good spirit that no one will abuse it even though the license says they could.

No valid response, sorry I offended you. As I said above, thank you for your time and help. Hope I can start future interactions with you better. As said above, I currently have no plans to release your work, ported or not. When you make a fabric version, I would be interested in assisting, assuming it is permitted under whatever licencing you work out. Please understand that my discussion of licencing was not, I intend to violate your intention for your mod, but please fix this, it sounds like you have made a grave mistake in how you licenced your mod. as stated above, sorry for A. The very off topic thread and B. Everything else (I tried making this more specific, but It sounded very ah ish). Once again, have a good day and I wish you well on your modding and re-licencing journey.

Okay, I'll rewrite it then

At this point, doubt you care given what you said about having reposts taken down, but I'll just not do it. I'll just become the number one lookout for the official fabric port.

would you be open to prs on your lib for a fabric branch, if you see this?


Another instance for IAfterSaveCompletedTrigger and IAfterSaveTrigger

Hello
I have a problem with the triggers. According to examples I can implement two different interfaces

IAfterSaveTrigger
IAfterSaveCompletedTrigger

From my understanding there can be many calls to AfterSave within one SaveChanges and there should be just one call to AfterSaveCompleted. What is important, it should be the same instance of a class. However, it is not in my case.  Is this a bug or is this indented? I am using DI on .net 7.
Here is repro code:
Output:
AfterSave from 4057632
AfterSave from 4057632
AfterSaveCompleted from 5223998

Program.cs
// See https://aka.ms/new-console-template for more information
using EntityFrameworkCore.Triggered;
using EntityFrameworkCore.Triggered.Lifecycles;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

HostBuilder builder = new();

builder.ConfigureServices(services =>
{
    services.AddDbContext<DB>(options =>
    {
        options.UseSqlite("DataSource=:memory:");
        options.UseTriggers(triggerOptions =>
        {
            triggerOptions.AddTrigger<EfTrigger>(ServiceLifetime.Scoped);
        });
    });
});

var host = builder.Build();
using var scope = host.Services.CreateScope();

var db = scope.ServiceProvider.GetRequiredService<DB>();
db.Database.OpenConnection();

db.Database.EnsureCreated();

db.Entities.Add(new Entity());
db.Entities.Add(new Entity());

db.SaveChanges();

class Entity
{
    public Guid Id { get; set; } = Guid.NewGuid();
}

class DB : DbContext
{

    public DB(DbContextOptions<DB> options) : base(options)
    {

    }

    public DbSet<Entity> Entities { get; set; }
}

class EfTrigger
    : IAfterSaveTrigger<Entity>,
    IAfterSaveCompletedTrigger
{
    public Task AfterSave(ITriggerContext<Entity> context, CancellationToken cancellationToken)
    {
        Console.WriteLine("AfterSave from " + this.GetHashCode());
        return Task.CompletedTask;
    }

    public Task AfterSaveCompleted(CancellationToken cancellationToken)
    {
        Console.WriteLine("AfterSaveCompleted from " + this.GetHashCode());
        return Task.CompletedTask;
    }
}

Project.cs:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="EntityFrameworkCore.Triggered" Version="3.2.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.15" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.15" />
    <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
    <PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
  </ItemGroup>

</Project>

I face the same problem with IBeforeSaveTrigger/IBeforeSaveCompletedTrigger

I have a WIP fix for this issue that I'm still testing out. Meanwhile, a temporary workaround is to register your triggers directly  with the service provider. I plan on getting this fix merged within the coming days


Ensure services are copied to new child context in ForEachElement

Fixes #6044

Pull Request Test Coverage Report for Build 281319

0 of 0   changed or added relevant lines in 0 files are covered.
12 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.01%) to 78.643%

Files with Coverage Reduction
New Missed Lines
%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetNextViableTime.cs
1
90.91%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetPreviousViableTime.cs
1
90.91%

/libraries/Microsoft.Bot.Connector.Streaming/Session/StreamingSession.cs
3
89.62%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Actions/ForEachElement.cs
7
81.44%

Totals

Change from base Build 281006:
-0.01%

Covered Lines:
24845

Relevant Lines:
31592

💛  - Coveralls


Open data folder

Add a command (maybe open) to open the data folder in default editor.
Expected behavior
When the command is executed, the user default editor is launched on data folder to allow user to update those files.

After thinking about this, I think the user shouldn't be able to alterate the working dot file repo of configfile. I close this issue until someone have a great counter argument


Time to remove Raivo?

Hi!
Looks like raivo app changed owners, no longer opensource, broke compatibility with old versions.
I don't know full story, but there are lots of salt in reviews and (not yet removed) github issues

Will archive, thx


Compilation error with GCC 6

Used GCC 6 builds from this Ubuntu PPA on Ubuntu 16.04 LTS Xenial.
$ gcc --version
gcc (Ubuntu 6.1.1-2ubuntu12~16.04) 6.1.1 20160510
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  g++ '-DDART_NO_SNAPSHOT' '-DDART_PRECOMPILER' '-DNDEBUG' '-D_FORTIFY_SOURCE=2' -Iruntime  -Werror -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wvla -Wno-conversion-null -Woverloaded-virtual -g3 -ggdb3 -fno-rtti -fno-exceptions -fstack-protector -Wa,--noexecstack -m64 -msse2 -O3 -ffunction-sections -fno-omit-frame-pointer  -MMD -MF out/ReleaseX64/.deps/out/ReleaseX64/obj.target/libdart_vm_nosnapshot/runtime/vm/scanner.o.d.raw  -c -o out/ReleaseX64/obj.target/libdart_vm_nosnapshot/runtime/vm/scanner.o runtime/vm/scanner.cc
runtime/vm/object.cc: In function ‘intptr_t dart::DecodeSLEB128(const uint8_t*, intptr_t, intptr_t*)’:
runtime/vm/object.cc:11510:43: error: left shift of negative value [-Werror=shift-negative-value]
     value |= static_cast<intptr_t>(-1) << shift;
                                           ^~~~~

@turnidge ran into a similar error the other day.

https://codereview.chromium.org/2238163003


Global Password Reset flow doesn't work

After doing the global password reset, the login flow doesn't work.

Global Password Rest

You are logged out

Attempt to login with your username and any password

You are redirected and told you need to upgrade your password

Enter in your email

Page refreshes
No email is sent (nothing recorded in the logs table either)
No notice that anything went right or wrong
3a. Enter an invalid email
Same as above.

Workaround:
Use the forgot password link

This is due to the fact that I added token checking to forgot password, specifically it fails on the following code:
                if (!$token->validate()) {
                    throw new \Exception($token->getErrorMessage());
                }

It is really weird how the code works,
Another deeper issue is that Errors (stored in $this->error) are never displayed except on the main login page.


Maya: add object to attr.s declaration

Brief description
Older Maya (Python2) doesn't like declaration of attr.s without (object)
Description
This handles issue when Submit Render to Deadline doesn't show up in Publish and when manually imported in Maya console it throws
# Error: TypeError: file C:\Users\petrk\PycharmProjects\Pype3.0\pype\openpype\vendor\python\python_2\attr\_make.py line 1514: attrs only works with new-style classes. #

Additional info
Maybe this is not needed as new Maya's (with Python3) might not have an issue with it, but it just happened to me on Maya 2019 and on same day someone from community on Discord reported it too.
https://discord.com/channels/517362899170230292/517382145552154634/1029628902701805609
I don't see it to be too offensive to have object as an argument there for now.
Testing notes:

Publish from Maya to DL
Submit Render to Deadline should be visible during

Looks like duplicate of https://github.com/pypeclub/OpenPype/pull/3968

Duplicate of https://github.com/pypeclub/OpenPype/pull/3968

Actually I don't think empty () is enough, it should be (object) (or at least that was only working for me).