Comments (12)
Hit by the same issue, building on travis fails for osx:
https://s3.amazonaws.com/archive.travis-ci.org/jobs/170573675/log.txt
.....
File "/Users/travis/build/maartenbreddels/vaex-wheels/venv/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 19, in finalize_options
self.distribution.ext_modules)
File "/Users/travis/build/maartenbreddels/vaex-wheels/venv/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 809, in cythonize
aliases=aliases)
File "/Users/travis/build/maartenbreddels/vaex-wheels/venv/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 752, in create_extension_list
**kwds))
TypeError: __init__() takes exactly 6 arguments (3 given)
Using cython==0.24.1 seems to work.
from pyyaml.
I can't find the parameters that are required documented in Cython (feature_name
, feature_description
, feature_check
). I won't have the time tonight to research this, but I hope to get to it before the weekend.
from pyyaml.
Would be great 👍
from pyyaml.
These parameters are in yaml's custom Extension class. This was due to the switch to use cythonize(...) by default (which I'm planning on temporarily reverting).
from pyyaml.
@robertwb so, we're going to have problems when you switch to it anyway. Can you help me understand how I might go about fixing this? I'm not intimately familiar with cython or distutils. Thanks.
from pyyaml.
Looks like you have quite the complicated setup.py file. This is going to take some thought, but I'll keep pyyaml in mind while rewriting https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#
from pyyaml.
FYI, if you get travis ci up and running, it'd be easier for me to play with.
from pyyaml.
@robertwb Yeah, I've been trying to get a hold of someone who can add that. In the meantime, I assume we should be using something like https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#multiple-cython-files-in-a-package ?
from pyyaml.
Is there any quick fix for the above? I got the same error while installing Keras on a Ubuntu 14.04 32 bit machine. Any help would be appreciated.
from pyyaml.
@robertwb we have Travis CI set up now.
from pyyaml.
from pyyaml.
I see, is this an easy fix, @sigmavirus24 ?
from pyyaml.
Related Issues (20)
- compatibility HOT 1
- Python 3.13 support HOT 1
- Tabs support HOT 1
- Question about a "curly quotes" safe check HOT 3
- Strange issue with invalid YAML HOT 4
- li
- Publishing possible security issues HOT 2
- "on: true" gets parsed as "True: True" when using safe_load HOT 3
- `setup.py test` is broken in 6.0.2rc1 HOT 4
- Lightweight py-poyo integration
- Custom tags are evaluated after solving the union operators. But they must be calculated before them.
- Failed to compile on macos sonoma HOT 1
- 6.0.2 final release checklist for Python 3.13 support
- Maintain dictionary order when generating YAML HOT 2
- ConstructorError: could not determine a constructor for the tag '!reference' HOT 3
- Seemingly random quoting of keys HOT 2
- yaml.dump(torch.float32) produces a ValueError from Representer.represent_object HOT 1
- Can't serialize ZoneInfo
- how to ignore duplicate anchor error HOT 1
- When using different dumpers with yaml.dump, disk flushing behavior is inconsistent. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyyaml.