[jira] [Created] (ARROW-2464) [Python] Use a python_version marker instead of a condition

2018-04-16 Thread Omer Katz (JIRA)
Omer Katz created ARROW-2464:


 Summary: [Python] Use a python_version marker instead of a 
condition
 Key: ARROW-2464
 URL: https://issues.apache.org/jira/browse/ARROW-2464
 Project: Apache Arrow
  Issue Type: Task
  Components: Packaging, Python
Affects Versions: 0.9.0
Reporter: Omer Katz


When installing pyarrow 0.9.0 pipenv complains that futures has no matching 
versions.

While that may be a bug in pipenv it does not matter. The standard way to 
specify a conditional dependency is using a marker.

We should use the python_version marker to tell pip if it should install 
futures or not.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (ARROW-2058) Add wheels for Alpine Linux

2018-01-30 Thread Omer Katz (JIRA)
Omer Katz created ARROW-2058:


 Summary: Add wheels for Alpine Linux
 Key: ARROW-2058
 URL: https://issues.apache.org/jira/browse/ARROW-2058
 Project: Apache Arrow
  Issue Type: Task
  Components: Packaging, Python
Affects Versions: 0.8.0, 0.7.1, 0.7.0, 0.6.0, 0.5.0, 0.4.1, 0.4.0, 0.3.0, 
0.2.0
Reporter: Omer Katz


Currently when attempting to install pyarrow using pip on Alpine Linux you get 
the following error message from pip:

 
{code:java}
pip install pyarrow --verbose
Collecting pyarrow
  1 location(s) to search for versions of pyarrow:
  * https://pypi.python.org/simple/pyarrow/
  Getting page https://pypi.python.org/simple/pyarrow/
  Looking up "https://pypi.python.org/simple/pyarrow/; in the cache
  Current age based on date: 596
  Freshness lifetime from max-age: 600
  Freshness lifetime from request max-age: 600
  The response is "fresh", returning cached response
  600 > 596
  Analyzing links from page https://pypi.python.org/simple/pyarrow/
    Skipping link 
https://pypi.python.org/packages/03/fe/d3e86d9a534093f84ec6bb92c5285796feca7713f9328cc2b607ee9fc158/pyarrow-0.2.0-cp35-cp35m-manylinux1_x86_64.whl#md5=283d6d42277a07f724c0d944ff031c0c
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/06/e9/ac196752b306732afedf415805d327752bd85fb1e4517b97085129b5d02e/pyarrow-0.4.1-cp27-cp27mu-manylinux1_x86_64.whl#md5=884433983d1482e9eba7cdedd82201e5
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/0b/1c/c7e00871d85f091cbe4b71dd6ff2ce393b6e736d6defd806f571da87280c/pyarrow-0.5.0-cp36-cp36m-win_amd64.whl#md5=d7e3d8b9d17e7a964c058f879e11e733
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/0b/e8/e907b7e597981e488d60ea8554db0c6b55a4ddc01ad31bb18156f1dc1526/pyarrow-0.5.0.post2-cp34-cp34m-manylinux1_x86_64.whl#md5=9353e2bcfc77a2b40daa5d31cb9c5dac
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/0c/01/2e283b8fae727c4932a4335e2b1980a65c2ef754c69a7d97e39b0157627d/pyarrow-0.7.0-cp34-cp34m-manylinux1_x86_64.whl#md5=6d8ec243f77a382667b6f9b0aa434fd2
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/0c/19/805aa541740279bc8a198eeeb57509de5551f55f0cbc6371fa897bfc3245/pyarrow-0.8.0-cp35-cp35m-manylinux1_x86_64.whl#md5=382cb788fd740b0e25be3b305ab46142
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/0d/39/b0e21b10b53386f3dad906a8b734074cc0008c5af6a31d2e441569633d94/pyarrow-0.6.0-cp36-cp36m-manylinux1_x86_64.whl#md5=392930f4ace76ac65965258f5da99e9d
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/0f/22/97ba96f7178a52f257b45eac079d7a47dc4bc22d0961e828f10a76c254a7/pyarrow-0.4.1-cp35-cp35m-macosx_10_6_intel.whl#md5=96db8da8ee09952e62731ef8afd1f20d
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/15/5c/20192ab842b291d889f12f7013a5ac5c4416e231377024ad6823fc42a456/pyarrow-0.8.0-cp35-cp35m-win_amd64.whl#md5=8123173dc4905e7186ecf35ba180817a
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/20/b6/50f42a2dd53e0679ffe5fb74bdc745fcad3b5e0975e9ae356256c0370d06/pyarrow-0.7.1-cp35-cp35m-macosx_10_6_intel.whl#md5=5d06b3332b5bac0682d55f20ab2cb556
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/22/2f/7bf9225142d9db6e67e74cff8a18aa98514159cb5c96b15d15044db9ea5f/pyarrow-0.7.1-cp35-cp35m-win_amd64.whl#md5=111be7aac9a73210c2b1ae8e1e459819
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/23/60/f3db27c6a201994a5b1afb4f263afdfa22f5292380379900d7af325d679f/pyarrow-0.5.0-cp35-cp35m-win_amd64.whl#md5=cf45b4190ba1079cc2532c1a9fd09285
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 
https://pypi.python.org/packages/24/a3/9ebac24b3ad5ee0a95b8050b84299e988be265ee2fbb45d5a70cc61ab3ba/pyarrow-0.4.0-cp27-cp27m-macosx_10_6_intel.whl#md5=9bc1cb87ee62ef0b9a4f3d022545640f
 (from https://pypi.python.org/simple/pyarrow/); it is not compatible with this 
Python
    Skipping link 

[jira] [Created] (ARROW-2051) Support serializing UUID objects to tables

2018-01-29 Thread Omer Katz (JIRA)
Omer Katz created ARROW-2051:


 Summary: Support serializing UUID objects to tables
 Key: ARROW-2051
 URL: https://issues.apache.org/jira/browse/ARROW-2051
 Project: Apache Arrow
  Issue Type: Bug
  Components: Python
Affects Versions: 0.8.0
Reporter: Omer Katz


UUID objects can be easily supported and can be represented as 128-bit integers 
or a stream of bytes.

The fastest way I know to construct a UUID object is by using it's 128-bit (16 
bytes) integer representation.

 
{code:java}
%timeit uuid.UUID(int=24197857161011715162171839636988778104)
611 ns ± 6.27 ns per loop (mean ± std. dev. of 7 runs, 100 loops each)
%timeit uuid.UUID(bytes=b'\x124Vx\x124Vx\x124Vx\x124Vx')
1.17 µs ± 7.5 ns per loop (mean ± std. dev. of 7 runs, 100 loops each)
%timeit uuid.UUID('12345678-1234-5678-1234-567812345678')
1.47 µs ± 6.08 ns per loop (mean ± std. dev. of 7 runs, 100 loops each)
{code}
 

Right now I have to do this manually which is pretty tedious.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)