Skip to content
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

CSA Connector Incompatible With Virtualenvs On MacOSX #544

Closed
dkfellows opened this issue Sep 20, 2018 · 9 comments
Closed

CSA Connector Incompatible With Virtualenvs On MacOSX #544

dkfellows opened this issue Sep 20, 2018 · 9 comments
Assignees
Labels
Milestone

Comments

@dkfellows
Copy link
Member

The new CSA connector is broke. One of the ways it is broke is that it needs the csa package. The csa package needs to be able to execute inside matplotlib when installing. (WTF dudes!) The matplotlib package is incredibly finicky about running inside virtualenvs on OSX, as has been documented elsewhere… so essentially if you don't configure your virtualenv correctly right at the beginning (a very non-obvious time!) then you can't install sPyNNaker on OSX in that virtualenv because of shitty design in a whole bunch of components that we don't control. And you also need to set up semi-obvious configuration files (~/.matplotlib/matplotlibrc) to make things work. ALL BECAUSE SOME PART-TIME PROGRAMMER HAS NO IDEA WHAT IS A GOOD IDEA TO HAVE AS A DEPENDENCY!

I'm more than a bit aggrieved about this. In particular, I'm upset at how nasty this whole experience is. I also opened INCF/csa#11 about the real problem, but I don't expect anyone professional to ever review that.

@dkfellows dkfellows added the bug label Sep 20, 2018
@dkfellows dkfellows added the blocker Do not release when one of these is open! label Sep 20, 2018
@rowleya
Copy link
Member

rowleya commented Sep 20, 2018

Looks like you are getting a response to the csa ticket :)

@rowleya
Copy link
Member

rowleya commented Sep 20, 2018

Additionally, if this doesn't happen, we could make the csa package optional as well

@andrewgait
Copy link
Contributor

It’s probably best if we make it optional - there are as Donal says a number of issues with installing matplotlib in OSX that are best avoided unless the user wants the plotting capabilities or csa available.

@andrewgait
Copy link
Contributor

@Christian-B was this dealt with fully in #678 ?

@alan-stokes
Copy link
Contributor

this still open? or does it need closing?

@Christian-B Christian-B added this to the 6.0.0 milestone Jul 8, 2020
@Christian-B
Copy link
Member

#678 does not deal with the problem.

It delays raising the import issue from the moment the connector is imported until the moment it is used. (init)

@Christian-B
Copy link
Member

I do not consider this a blocker. Sorry Mac users

@Christian-B Christian-B removed the blocker Do not release when one of these is open! label Mar 30, 2021
@dkfellows dkfellows modified the milestones: 6.0.0, 7.0.0 Apr 12, 2021
@dkfellows
Copy link
Member Author

As long as things install and allow people to use other connectors, it's not a big problem.

@dkfellows dkfellows modified the milestones: 7.0.0, 7.1.0 Sep 27, 2023
@Christian-B
Copy link
Member

This will not be fixed as the CSA connector is not a priority.

Please reopen if there is a specific use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants