Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit f9a0dd9

Browse files
Merge pull request #966 from IntelPython/gold/2021
Update master with changes from gold/2021
2 parents 4926b0d + 7e83e15 commit f9a0dd9

File tree

7 files changed

+35
-30
lines changed

7 files changed

+35
-30
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ Distribution includes Intel® SDC for Python 3.6 and Python 3.7 for Windows and
3434

3535
Intel® SDC conda package can be installed using the steps below::
3636

37-
> conda create -n sdc-env python=<3.7 or 3.6> pyarrow=0.17.0 pandas=1.2.0 -c anaconda -c conda-forge
37+
> conda create -n sdc-env python=<3.7 or 3.6> pyarrow=2.0.0 pandas=1.2.0 -c anaconda -c conda-forge
3838
> conda activate sdc-env
3939
> conda install sdc -c intel/label/beta -c intel -c defaults -c conda-forge --override-channels
4040

4141
Intel® SDC wheel package can be installed using the steps below::
4242

43-
> conda create -n sdc-env python=<3.7 or 3.6> pip pyarrow=0.17.0 pandas=1.2.0 -c anaconda -c conda-forge
43+
> conda create -n sdc-env python=<3.7 or 3.6> pip pyarrow=2.0.0 pandas=1.2.0 -c anaconda -c conda-forge
4444
> conda activate sdc-env
4545
> pip install --index-url https://pypi.anaconda.org/intel/label/beta/simple --extra-index-url https://pypi.anaconda.org/intel/simple --extra-index-url https://pypi.org/simple sdc
4646

@@ -82,7 +82,7 @@ Building on Linux with setuptools
8282

8383
export PYVER=<3.6 or 3.7>
8484
export NUMPYVER=<1.16 or 1.17>
85-
conda create -n sdc-env -q -y -c intel/label/beta -c defaults -c intel -c conda-forge python=$PYVER numpy=$NUMPYVER tbb-devel tbb4py numba=0.52 pandas=1.2.0 pyarrow=0.17.0 gcc_linux-64 gxx_linux-64
85+
conda create -n sdc-env -q -y -c intel/label/beta -c defaults -c intel -c conda-forge python=$PYVER numpy=$NUMPYVER tbb-devel tbb4py numba=0.52 pandas=1.2.0 pyarrow=2.0.0 gcc_linux-64 gxx_linux-64
8686
source activate sdc-env
8787
git clone https://github.com/IntelPython/sdc.git
8888
cd sdc
@@ -120,7 +120,7 @@ Building on Windows with setuptools
120120

121121
set PYVER=<3.6 or 3.7>
122122
set NUMPYVER=<1.16 or 1.17>
123-
conda create -n sdc-env -c intel/label/beta -c defaults -c intel -c conda-forge python=%PYVER% numpy=%NUMPYVER% tbb-devel tbb4py numba=0.52 pandas=1.2.0 pyarrow=0.17.0
123+
conda create -n sdc-env -c intel/label/beta -c defaults -c intel -c conda-forge python=%PYVER% numpy=%NUMPYVER% tbb-devel tbb4py numba=0.52 pandas=1.2.0 pyarrow=2.0.0
124124
conda activate sdc-env
125125
set INCLUDE=%INCLUDE%;%CONDA_PREFIX%\Library\include
126126
set LIB=%LIB%;%CONDA_PREFIX%\Library\lib

conda-recipe/bld.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ echo on
22

33
"%PYTHON%" setup.py build install --single-version-externally-managed --record=record.txt
44
if errorlevel 1 exit 1
5+
6+
rem Build wheel package
7+
if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
8+
%PYTHON% setup.py bdist_wheel
9+
if errorlevel 1 exit 1
10+
copy dist\sdc*.whl %WHEELS_OUTPUT_FOLDER%
11+
if errorlevel 1 exit 1
12+
)

conda-recipe/build.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
set -ex
22

3-
MACOSX_DEPLOYMENT_TARGET=10.9 \
3+
if [ `uname` == Darwin ]; then
4+
WHEELS_BUILD_ARGS=""
5+
export MACOSX_DEPLOYMENT_TARGET=10.9
6+
else
7+
if [ "$CONDA_PY" == "36" ]; then
8+
WHEELS_BUILD_ARGS="-p manylinux1_x86_64"
9+
else
10+
WHEELS_BUILD_ARGS="-p manylinux2014_x86_64"
11+
fi
12+
fi
13+
414
$PYTHON setup.py build install --single-version-externally-managed --record=record.txt
15+
16+
# Build wheel package
17+
if [ -n "${WHEELS_OUTPUT_FOLDER}" ]; then
18+
$PYTHON setup.py bdist_wheel ${WHEELS_BUILD_ARGS}
19+
cp dist/sdc*.whl ${WHEELS_OUTPUT_FOLDER}
20+
fi

conda-recipe/meta.yaml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set NUMBA_VERSION = "==0.52.0" %}
22
{% set PANDAS_VERSION = "==1.2.0" %}
3-
{% set PYARROW_VERSION = "==0.17.0" %}
3+
{% set PYARROW_VERSION = "==2.0.0" %}
44

55
package:
66
name: sdc
@@ -13,13 +13,12 @@ build:
1313
number: {{ GIT_DESCRIBE_NUMBER|int }}
1414
script_env:
1515
- SDC_CONFIG_PIPELINE_SDC
16+
- WHEELS_OUTPUT_FOLDER
1617

1718
requirements:
1819
build:
1920
- {{ compiler('c') }} # [not osx]
2021
- {{ compiler('cxx') }} # [not osx]
21-
- wheel
22-
- python
2322
- numba {{ NUMBA_VERSION }}
2423

2524
host:
@@ -45,24 +44,6 @@ test:
4544
imports:
4645
- sdc
4746

48-
outputs:
49-
- type: conda
50-
name: sdc
51-
- type: wheel
52-
name: sdc
53-
requirements:
54-
build:
55-
- {{ compiler('c') }} # [not osx]
56-
- {{ compiler('cxx') }} # [not osx]
57-
- python
58-
- wheel
59-
- setuptools
60-
- numba {{ NUMBA_VERSION }}
61-
- numpy
62-
- pandas {{ PANDAS_VERSION }}
63-
- pyarrow {{ PYARROW_VERSION }}
64-
- tbb-devel
65-
6647
about:
6748
home: https://github.com/IntelPython/sdc
6849
license: BSD-2-Clause

docs/source/getting_started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ Distribution includes Intel SDC for Python 3.6 and 3.7 for Windows and Linux pla
4141
Intel SDC conda package can be installed using the steps below:
4242
::
4343

44-
> conda create -n sdc_env python=<3.7 or 3.6> pyarrow=0.17.0 pandas=1.2.0 -c anaconda -c conda-forge
44+
> conda create -n sdc_env python=<3.7 or 3.6> pyarrow=2.0.0 pandas=1.2.0 -c anaconda -c conda-forge
4545
> conda activate sdc_env
4646
> conda install sdc -c intel/label/beta -c intel -c defaults -c conda-forge --override-channels
4747

4848
Intel SDC wheel package can be installed using the steps below:
4949
::
5050

51-
> conda create -n sdc_env python=<3.7 or 3.6> pip pyarrow=0.17.0 pandas=1.2.0 -c anaconda -c conda-forge
51+
> conda create -n sdc_env python=<3.7 or 3.6> pip pyarrow=2.0.0 pandas=1.2.0 -c anaconda -c conda-forge
5252
> conda activate sdc_env
5353
> pip install --index-url https://pypi.anaconda.org/intel/label/beta/simple --extra-index-url https://pypi.anaconda.org/intel/simple --extra-index-url https://pypi.org/simple sdc
5454

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
numpy>=1.16
22
pandas==1.2.0
3-
pyarrow==0.17.0
3+
pyarrow==2.0.0
44
numba==0.52.0
55
tbb
66
tbb-devel

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def run(self):
376376
install_requires=[
377377
'numpy>=1.16',
378378
'pandas>=1.2.0',
379-
'pyarrow==0.17.0',
379+
'pyarrow==2.0.0',
380380
'numba>=0.52.0,<0.53',
381381
'tbb'
382382
],

0 commit comments

Comments
 (0)