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

support Python 3.7 #20

Closed
leofang opened this issue Jan 15, 2019 · 9 comments
Closed

support Python 3.7 #20

leofang opened this issue Jan 15, 2019 · 9 comments

Comments

@leofang
Copy link
Collaborator

leofang commented Jan 15, 2019

No description provided.

@leofang
Copy link
Collaborator Author

leofang commented Jun 6, 2019

Tested: almost everything works, but it took some efforts:
1. posix_ipc and pyfftw don't have py37 Conda packages yet, have to be pip-installed.
2. numba v0.44 changed the behavior of looking up env variables like NUMBAPRO_NVVM (this is irrelevant of Python version I think, just in case)
3. matplotlib v3.0.3 doesn't seem to behave properly on line plots. The errors aren't plotted at all. Not sure if this is related: every time the start button is clicked, the following warning is always shown:

'c' argument looks like a single numeric RGB or RGBA sequence, which should be avoided as value-mapping will have precedence in case its length matches with 'x' & 'y'. Please use a 2-D array with a single row if you really want to specify the same RGB or RGBA value for all points.

UPDATE -> see #50.

@leofang
Copy link
Collaborator Author

leofang commented Jun 7, 2019

posix_ipc and pyfftw don't have py37 Conda packages yet, have to be pip-installed.

pyfftw now supports py37, see NSLS-II/lightsource2-recipes#681.

@leofang
Copy link
Collaborator Author

leofang commented Jun 7, 2019

If the package is pip-installed, we're good because posix_ipc will be there. But in Conda it's controlled by upstream (in the anaconda channel, which we mirror to our internal "defaults" channel). Report this to Anaconda.

@leofang
Copy link
Collaborator Author

leofang commented Jun 7, 2019

Reported to AnacondaRecipes/aggregate#154, not sure if that is the best place or I should try https://github.com/ContinuumIO/anaconda-issues/issues...

@leofang
Copy link
Collaborator Author

leofang commented Jun 8, 2019

@leofang
Copy link
Collaborator Author

leofang commented Jun 11, 2019

2. numba v0.44 changed the behavior of looking up env variables like NUMBAPRO_NVVM (this is irrelevant of Python version I think, just in case)

See numba/numba#4164, numba/numba#4165

@leofang
Copy link
Collaborator Author

leofang commented Jun 20, 2019

posix_ipc now has py37 support, see ContinuumIO/anaconda-issues#10993.

@leofang
Copy link
Collaborator Author

leofang commented Jun 20, 2019

  1. numba v0.44 changed the behavior of looking up env variables like NUMBAPRO_NVVM (this is irrelevant of Python version I think, just in case)

See numba/numba#4164, numba/numba#4165

This is considered a bug and is fixed in v0.44.1.

@leofang
Copy link
Collaborator Author

leofang commented Jun 23, 2019

The support for py37 for the internal Conda package is added in NSLS-II/lightsource2-recipes#726. Closing this.

@leofang leofang closed this as completed Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant