Hi Bob,

Both PySVN and Subvertpy are difficult to install, due to the requirements
in building anything against libsvn (and related libraries). In this case,
it looks to be a discrepancy between the compiler on the system and the
code in the module -- likely, it expects GCC or Clang, rather than Visual
C++, to compile this.

I would have expected either PySVN or Subvertpy to be in the Bitnami
package. Is this not the case? If not, you'll want to ask Bitnami for
assistance, as they should be taking care of this for you.

Christian

On Wed, Oct 9, 2019 at 1:30 PM Bob Willard <[email protected]>
wrote:

> C:\Bitnami\reviewboardpowerpack-3.0.15-4\python\Scripts>pip install
> subvertpy
> DEPRECATION: Python 2.7 will reach the end of its life on January 1st,
> 2020. Please upgrade your Python as Python 2.7 won't be maintained after
> that date. A future version of pip will drop support for Python 2.7. More
> details about Python 2 support in pip, can be found at
> https://pip.pypa.io/en/latest/development/release-process/#python-2-support
> Collecting subvertpy
>   Using cached
> https://files.pythonhosted.org/packages/9d/76/99fa82affce75f5ac0f7dbe513796c3f37311ace0c68e1b063683b4f9b99/subvertpy-0.10.1.tar.gz
> Building wheels for collected packages: subvertpy
>   Building wheel for subvertpy (setup.py) ... error
>   ERROR: Command errored out with exit status 1:
>    command: 'c:\bitnami\reviewboardpowerpack-3.0.15-4\python\python.exe'
> -u -c 'import sys, setuptools, tokenize; sys.argv[0] =
> '"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';
> __file__='"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';f=getattr(tokenize,
> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> bdist_wheel -d 'c:\users\rwillard\appdata\local\temp\pip-wheel-apm8dh'
> --python-tag cp27
>        cwd:
> c:\users\rwillard\appdata\local\temp\pip-install-d2fltx\subvertpy\
>   Complete output (37 lines):
>   running bdist_wheel
>   running build
>   running build_py
>   creating build
>   creating build\lib.win-amd64-2.7
>   creating build\lib.win-amd64-2.7\subvertpy
>   copying subvertpy\delta.py -> build\lib.win-amd64-2.7\subvertpy
>   copying subvertpy\marshall.py -> build\lib.win-amd64-2.7\subvertpy
>   copying subvertpy\properties.py -> build\lib.win-amd64-2.7\subvertpy
>   copying subvertpy\ra.py -> build\lib.win-amd64-2.7\subvertpy
>   copying subvertpy\ra_svn.py -> build\lib.win-amd64-2.7\subvertpy
>   copying subvertpy\server.py -> build\lib.win-amd64-2.7\subvertpy
>   copying subvertpy\__init__.py -> build\lib.win-amd64-2.7\subvertpy
>   creating build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_client.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_core.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_delta.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_marshall.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_properties.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_ra.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_repos.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_server.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\test_wc.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   copying subvertpy\tests\__init__.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>   running build_ext
>   building 'subvertpy.client' extension
>   creating build\temp.win-amd64-2.7
>   creating build\temp.win-amd64-2.7\Release
>   creating build\temp.win-amd64-2.7\Release\subvertpy
>   C:\Users\RWILLARD\AppData\Local\Programs\Common\Microsoft\Visual C++ for
> Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DWIN32
> -I. -I. -IC:\Bitnami\svn-win32-1.8.17\include\apr
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-util
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-iconv
> -IC:\Bitnami\svn-win32-1.8.17\include -Isubvertpy
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\include
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\PC /Tcsubvertpy\client.c
> /Fobuild\temp.win-amd64-2.7\Release\subvertpy\client.obj
>   client.c
>   subvertpy\client.c(101) : warning C4244: 'function' : conversion from
> 'Py_ssize_t' to 'int', possible loss of data
>   subvertpy\client.c(2032) : warning C4244: 'function' : conversion from
> 'svn_filesize_t' to 'long', possible loss of data
>   C:\Users\RWILLARD\AppData\Local\Programs\Common\Microsoft\Visual C++ for
> Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DWIN32
> -I. -I. -IC:\Bitnami\svn-win32-1.8.17\include\apr
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-util
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-iconv
> -IC:\Bitnami\svn-win32-1.8.17\include -Isubvertpy
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\include
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\PC /Tcsubvertpy\editor.c
> /Fobuild\temp.win-amd64-2.7\Release\subvertpy\editor.obj
>   editor.c
>   subvertpy\editor.c(84) : fatal error C1189: #error :  "Unable to
> determine PyArg_Parse format for size_t"
>   error: command
> 'C:\\Users\\RWILLARD\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual
> C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
>   ----------------------------------------
>   ERROR: Failed building wheel for subvertpy
>   Running setup.py clean for subvertpy
> Failed to build subvertpy
> Installing collected packages: subvertpy
>   Running setup.py install for subvertpy ... error
>     ERROR: Command errored out with exit status 1:
>      command: 'c:\bitnami\reviewboardpowerpack-3.0.15-4\python\python.exe'
> -u -c 'import sys, setuptools, tokenize; sys.argv[0] =
> '"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';
> __file__='"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';f=getattr(tokenize,
> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> install --record
> 'c:\users\rwillard\appdata\local\temp\pip-record-vwyrqb\install-record.txt'
> --single-version-externally-managed --compile
>          cwd:
> c:\users\rwillard\appdata\local\temp\pip-install-d2fltx\subvertpy\
>     Complete output (37 lines):
>     running install
>     running build
>     running build_py
>     creating build
>     creating build\lib.win-amd64-2.7
>     creating build\lib.win-amd64-2.7\subvertpy
>     copying subvertpy\delta.py -> build\lib.win-amd64-2.7\subvertpy
>     copying subvertpy\marshall.py -> build\lib.win-amd64-2.7\subvertpy
>     copying subvertpy\properties.py -> build\lib.win-amd64-2.7\subvertpy
>     copying subvertpy\ra.py -> build\lib.win-amd64-2.7\subvertpy
>     copying subvertpy\ra_svn.py -> build\lib.win-amd64-2.7\subvertpy
>     copying subvertpy\server.py -> build\lib.win-amd64-2.7\subvertpy
>     copying subvertpy\__init__.py -> build\lib.win-amd64-2.7\subvertpy
>     creating build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_client.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_core.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_delta.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_marshall.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_properties.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_ra.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_repos.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_server.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\test_wc.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     copying subvertpy\tests\__init__.py ->
> build\lib.win-amd64-2.7\subvertpy\tests
>     running build_ext
>     building 'subvertpy.client' extension
>     creating build\temp.win-amd64-2.7
>     creating build\temp.win-amd64-2.7\Release
>     creating build\temp.win-amd64-2.7\Release\subvertpy
>     C:\Users\RWILLARD\AppData\Local\Programs\Common\Microsoft\Visual C++
> for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG
> -DWIN32 -I. -I. -IC:\Bitnami\svn-win32-1.8.17\include\apr
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-util
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-iconv
> -IC:\Bitnami\svn-win32-1.8.17\include -Isubvertpy
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\include
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\PC /Tcsubvertpy\client.c
> /Fobuild\temp.win-amd64-2.7\Release\subvertpy\client.obj
>     client.c
>     subvertpy\client.c(101) : warning C4244: 'function' : conversion from
> 'Py_ssize_t' to 'int', possible loss of data
>     subvertpy\client.c(2032) : warning C4244: 'function' : conversion from
> 'svn_filesize_t' to 'long', possible loss of data
>     C:\Users\RWILLARD\AppData\Local\Programs\Common\Microsoft\Visual C++
> for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG
> -DWIN32 -I. -I. -IC:\Bitnami\svn-win32-1.8.17\include\apr
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-util
> -IC:\Bitnami\svn-win32-1.8.17\include\apr-iconv
> -IC:\Bitnami\svn-win32-1.8.17\include -Isubvertpy
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\include
> -Ic:\bitnami\reviewboardpowerpack-3.0.15-4\python\PC /Tcsubvertpy\editor.c
> /Fobuild\temp.win-amd64-2.7\Release\subvertpy\editor.obj
>     editor.c
>     subvertpy\editor.c(84) : fatal error C1189: #error :  "Unable to
> determine PyArg_Parse format for size_t"
>     error: command
> 'C:\\Users\\RWILLARD\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual
> C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
>     ----------------------------------------
> ERROR: Command errored out with exit status 1:
> 'c:\bitnami\reviewboardpowerpack-3.0.15-4\python\python.exe' -u -c 'import
> sys, setuptools, tokenize; sys.argv[0] =
> '"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';
> __file__='"'"'c:\\users\\rwillard\\appdata\\local\\temp\\pip-install-d2fltx\\subvertpy\\setup.py'"'"';f=getattr(tokenize,
> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> install --record
> 'c:\users\rwillard\appdata\local\temp\pip-record-vwyrqb\install-record.txt'
> --single-version-externally-managed --compile Check the logs for full
> command output.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/c70151af-971f-4fdf-b746-cfbd770122a3%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/c70151af-971f-4fdf-b746-cfbd770122a3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7VndnjxNp%2Bx7DmDaFtQJMfyXvaeYdj_oU023kEFt8Rmigmhw%40mail.gmail.com.

Reply via email to