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 for Python 3.7 #136

Closed
AleksMat opened this issue Jul 10, 2018 · 23 comments
Closed

Support for Python 3.7 #136

AleksMat opened this issue Jul 10, 2018 · 23 comments

Comments

@AleksMat
Copy link

AleksMat commented Jul 10, 2018

Hi,

now that Python 3.7 is officially the latest stable version, do you have any plans to support it?

At the moment pyproj is raising an error when I try to install it locally for Python 3.7.0 (using pip 10.0.1 and Linux Ubuntu). I get the same error as when I try to run Travis CI for my package which has pyproj as a dependency: error message

@AleksMat
Copy link
Author

Thanks for adding Travis tests. I see that installing the package from GitHub repo works fine for me too. It is the latest version available on PyPI that is outdated and is raising an error during installation for Python 3.7.

Could someone also make a new release and upload it to PyPI?

@micahcochran
Copy link
Collaborator

Thanks for adding Travis tests. I see that installing the package from GitHub repo works fine for me too. It is the latest version available on PyPI that is outdated and is raising an error during installation for Python 3.7.

I suspect it is an issue with the C file generated by Cython. The version requirements for Cython probably need to be updated in requirements-dev.txt... I guess Cython 0.28 should be the minimum to support Python 3.7. (Cython Changelog)

@AleksMat
Copy link
Author

AleksMat commented Jul 14, 2018

When I use the latest Cython version 0.28.3 installing pyproj from PyPI still doesn't work, but from GitHub it does. So the reason must be some of the improvements that have been done since the latest release to PyPI (6th January 2016) until now.

@micahcochran
Copy link
Collaborator

micahcochran commented Jul 15, 2018

It looks like 0.28.4 was released last week, so I guess that should now be the minimum Cython version.

@valgur
Copy link

valgur commented Jul 16, 2018

When I use the latest Cython version 0.28.3 installing pyproj from PyPI still doesn't work, but from GitHub it does. So the reason must be some of the improvements that have been done since the latest release to PyPI (6th January 2016) until now.

The reason why the PyPI release does not work but installing from Git (with pip install git+https://github.com/jswhit/pyproj.git, for example) does is essentially the same that @micahcochran already mentioned: the _proj.pyx needs a recompilation to _proj.c with a newer version of Cython. The difference between the PyPI release and the Git repo is that the _proj.c file is not included in the latter, which triggers a recompilation of the _proj.pyx file and solves the problem, provided that a correct version of Cython is installed.

@aleksanb
Copy link

Is this releasable now?
I've been trying to get a dependency of our project to use the master of this library, but pipenv really doesn't like git urls for transitive dependencies, so I think I'm stuck waiting for a new release on pypi.

@aleksanb
Copy link

aleksanb commented Aug 2, 2018

Anything we can help with to build and release a new version of this library?

@milieu
Copy link

milieu commented Aug 5, 2018

Thank you @valgur for what you said above - it gave me inspiration on how to get this repo working with pipenv! 🎉

pipenv install cython
pipenv install git+https://github.com/jswhit/pyproj.git#egg=pyproj

has2k1 added a commit to has2k1/plotnine that referenced this issue Sep 2, 2018
1. Do not do CI testing on Python 3.7
2. Do not install geopandas on Python 3.7

Ref: #178, pyproj4/pyproj#136
has2k1 added a commit to has2k1/plotnine that referenced this issue Sep 2, 2018
1. Do not do CI testing on Python 3.7
2. Do not install geopandas on Python 3.7

Ref: #178, pyproj4/pyproj#136
has2k1 added a commit to has2k1/plotnine that referenced this issue Sep 2, 2018
1. Do not do CI testing on Python 3.7
2. Do not install geopandas on Python 3.7

Ref: #178, pyproj4/pyproj#136
@scheip
Copy link

scheip commented Sep 15, 2018

Try a pre-compiled wheel. After struggling with install via pip, I downloaded the 37 whl file at following URL and pointed my pip install to that file. voila!

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyproj

migurski added a commit to sharedstreets/sharedstreets-python that referenced this issue Sep 17, 2018
migurski added a commit to sharedstreets/sharedstreets-python that referenced this issue Sep 17, 2018
migurski added a commit to sharedstreets/sharedstreets-python that referenced this issue Sep 17, 2018
migurski added a commit to sharedstreets/sharedstreets-python that referenced this issue Sep 17, 2018
migurski added a commit to sharedstreets/sharedstreets-python that referenced this issue Sep 17, 2018
migurski added a commit to sharedstreets/sharedstreets-python that referenced this issue Sep 17, 2018
@dongli
Copy link

dongli commented Oct 6, 2018

PyPI release still does not work.

@heitorPB
Copy link
Contributor

pip install pyproj fails with error: command 'gcc' failed with exit status 1

The reason why the PyPI release does not work but installing from Git (with pip install git+https://github.com/jswhit/pyproj.git, for example) does is essentially the same that @micahcochran already mentioned: the _proj.pyx needs a recompilation to _proj.c with a newer version of Cython. The difference between the PyPI release and the Git repo is that the _proj.c file is not included in the latter, which triggers a recompilation of the _proj.pyx file and solves the problem, provided that a correct version of Cython is installed.

@valgur , is it possible to force pip to recompile the _proj.c? Or to update the PyPi?

heitorPB added a commit to heitorPB/pyproj that referenced this issue Oct 21, 2018
Several issues report problems with using `pip install pyproj`. A workaround is using the latest version from Github.

Some issues with pip problems: pyproj4#141 pyproj4#136 pyproj4#133 pyproj4#132 pyproj4#130 pyproj4#59 pyproj4#25 pyproj4#13 pyproj4#9.
shr-project added a commit to shr-project/meta-ros that referenced this issue May 17, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
shr-project added a commit to shr-project/meta-ros that referenced this issue May 19, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 2, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
shr-project added a commit to shr-project/meta-ros that referenced this issue Jul 3, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
shr-project added a commit to ros/meta-ros that referenced this issue Jul 4, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Dec 18, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Dec 19, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Dec 19, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Dec 30, 2019
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jan 1, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jan 7, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 10, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 16, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 16, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 16, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 16, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 17, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 17, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 17, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 17, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 18, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 23, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 23, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 23, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 23, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jun 30, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
herb-kuta-lge pushed a commit to herb-kuta-lge/meta-ros that referenced this issue Jul 1, 2020
* newer version is needed to fix build with newer python-3.7:
_proj.c:7421:21: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
* see pyproj4/pyproj#138
  pyproj4/pyproj#136
* and pypi.bbclass is needed to fetch the source from
  files.pythonhosted.org, the old pypi.python.org/packages/source
  doesn't have the new releases
* the newest version is 2.1.3, but that needs a bit more changes
  like:
  DEPENDS += "${PYTHON_PN}-cython-native"
  and then it still fails with:
  | Proj executable not found. Please set PROJ_DIR variable.
  | ERROR: 'python3 setup.py build ' execution failed.
  will probably need native pyproj as well, I'll leave that to someone
  actually using pyproj (I was just fixing the build error detected in
  bitbake world with Yocto 2.7 Warrior).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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