-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Increasing minimum cython version silently breaks build_ext --inplace #21829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Does adding |
Unfortunately not. Doing a |
@toobaz has this resolved itself? not clear how this is actionable |
The first line in a the .c file generaetd by cython tells us |
Without |
Let us know if you are still experiencing this issue, and happy to reopen if there are still issues. We have bumped up our min Cython version to 0.29.16 since then #33334 |
Code Sample, a copy-pastable example if possible
Problem description
When the minimum required Cython version is increased (above the installed one), but there is a version of the compiled code available,
python setup.py build_ext --inplace
silently skips compilation.It should be at least emit a warning that the available Cython version is too old.
Expected Output
A warning when running
python setup.py build_ext --inplace
.The above is "fixed" if I remove the check for the
cython >= '0.28.2'
.Output of
pd.show_versions()
(after disabling the check for the minimum Cython version, and re-running
python setup.py build_ext --inplace
)INSTALLED VERSIONS
commit: 5cb5880
python: 3.5.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.0-6-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: en_GB.UTF-8
pandas: 0.24.0.dev0+269.g5cb5880d8.dirty
pytest: 3.0.6
pip: 9.0.1
setuptools: 33.1.1
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.18.1
pyarrow: None
xarray: None
IPython: 5.2.2
sphinx: None
patsy: 0.4.1+dev
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
feather: 0.3.1
matplotlib: 2.0.0
openpyxl: 2.3.0
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: None
lxml: 3.7.1
bs4: 4.5.3
html5lib: 0.999999999
sqlalchemy: 1.0.15
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: None
The text was updated successfully, but these errors were encountered: