skylines icon indicating copy to clipboard operation
skylines copied to clipboard

Dependencies: Install `pygdal` from PyPI

Open kerel-fs opened this issue 6 years ago • 9 comments

kerel-fs avatar May 26 '18 10:05 kerel-fs

I'll rebase this PR to entangle the various changes and to provide the pygdal-change only.

Tracking of the psycopg2-thing can continue in #897, just dropping the according trivial commit from this PR.

I also had problems with installation of the GDAL-bindings at first, because there were no matching versions between the installed libgdal1-dev (check with gdal-config --version) and pygdal (check https://pypi.org/project/pygdal/) in Precise/12.04. This changed with Trusty/14.04. Using the package python-gdal provided in Precise/12.04 failed also when I tried.

kerel-fs avatar May 27 '18 08:05 kerel-fs

@kerel-fs I just ran gdal-config --version on the production server and we use 2.1.2 there. Since we use pipenv there too this PR would create an unfortunate conflict there. 🤔

Turbo87 avatar Jun 17 '18 00:06 Turbo87

Oh, I see. Thanks for checking!

@Turbo87 Instead of installing via the Pipfile, we could install the matching pygdal version in the bash script during provisioning of the dev-box. This doesn't interfer with the deployment in production, and allows us at the same time to use the vagrant box without additional manual installation steps for gdal. See the last updated commit 39e07733200b64b8f20f38f4041f3fbf2084e889.

kerel-fs avatar Jun 17 '18 14:06 kerel-fs

Using pipenv in the vagrantfile still means that the lockfile is updated, and that means we can't use it to actually update the lockfile when we need to :thinking:

Turbo87 avatar Jun 18 '18 19:06 Turbo87

@Turbo87 what's the best way forward then?

mongrelion avatar Oct 15 '20 12:10 mongrelion

I wish I knew...

Turbo87 avatar Oct 15 '20 12:10 Turbo87

If this PR is not going to move forward then it's best to close it, imo. Unless @kerel-fs still wants to work on it, but it's been a couple of years already...?

mongrelion avatar Oct 15 '20 14:10 mongrelion

I don't know of a way further either (but also didn't look into this recently).

kerel-fs avatar Oct 15 '20 15:10 kerel-fs

This PR has lost traction for a while now. If it was really urgent, I'd said it would have been merged a long time ago already. Can we close this and if the issue becomes pressing we can reopen it?

mongrelion avatar Oct 16 '20 09:10 mongrelion