Closed griff-rees closed 1 year ago
Wowza! GREAT WORK!
Thanks @kallewesterling: it's mostly just wrapped around your incredibly detailed work ;)
Would probably close #64, #65 and #66 at least...
Would probably close #64, #65 and #66 at least...
Couldn't imagine better news on a Friday afternoon!!!
What's the reason for Python 3.10+? I agree with it, but want to know - because I also know there are plenty of folks on the LwM team running way lesser versions.
I think this PR looks great, let's go ahead and pull it @griff-rees ! You do the honors since you've worked so hard on this :)
Very good question re Python version. I'm a bit hazy on that decision to be honest. I think it was a dependency problem that I'd solved locally outside docker
(I think related to GDAL: note the line in pyproject.toml
that specifies a version for anyone on Darwin
) and then realised I'd need to enforce that everywhere for consistency, including the dependencies specified in poetry.lock
.
In theory because we now have a docker
deploy, it's agnostic to what versions people have installed locally but of course if they want to run stuff outside docker
that could be tricky if they don't have Python 3.10
. But... they would also need to have gis
extensions enabled if, for example, they'd rather use SQLite
(SpatiaLite
) and would need to alter the config for that as well so... I think for the initial release it's easiest to stick with this. Very good question though, wish I'd documented that decision.
Yeah, it's fine. Just wanted to check.. And I think you're right - the containerised version should be fine and enough for folks on the project, for sure.
Quite a lot in this merge, some details:
pre-commit
CIgazatteer.tests
andnewspapers.tests
modulespre-commit
configuration in.pre-commit-config.yaml
pyproject.toml
.github/workflows/django-docker-test.yml
python
3.10^
docker
container
s to reflect the shift topython
3.10
gis.model.Point
fieldcoordinates
field within thegazatteer.Item
class
to support spatial queries