Commit Graph

4775 Commits

Author SHA1 Message Date
Sarah Hoffmann
2914284a83 adapt BDD tests for legacy tokenizer + Python frontend
Mostly disables the tests, the cases are not worth fixing anymore.
Others just avoid using terms that trigger abbreviations.
2024-07-31 14:55:16 +02:00
Sarah Hoffmann
a97bfaf26c fix postcode lookup with legacy tokenizer 2024-07-31 14:54:55 +02:00
Sarah Hoffmann
cfe5284f64 make housenumber search work with non-indexed partials 2024-07-31 14:09:35 +02:00
Sarah Hoffmann
2048009600 disable ZIP5+ test for Python frontend
Currently not working.
2024-07-31 14:08:57 +02:00
Sarah Hoffmann
d47acbc18a add forgotten BDD test 2024-07-31 11:16:49 +02:00
Sarah Hoffmann
f5fd2f0e7a switch CI to new handling of legacy BDD tests 2024-07-31 11:16:49 +02:00
Sarah Hoffmann
c8d45972bb remove support for PHP code coverage in BDD tests 2024-07-31 11:16:49 +02:00
Sarah Hoffmann
474aea61da bdd tests: get rid of dependency on build path
BDD tests will now use whatever osm2pgsql they find in the PATH.
For testing against legacy tokenizer, use -DSERVER_MODULE_PATH
to point to the module. This will no longer work out of the box.
2024-07-31 11:16:49 +02:00
Sarah Hoffmann
67462e0953
Merge pull request #3492 from lonvia/drop-waste-disposal
Remove waste disposals and hunting stands from index
2024-07-30 17:03:08 +02:00
Sarah Hoffmann
804fb5f93e
Merge pull request #3490 from mtmail/which-url-after-webserver-install
After install point user to '/status' not '/' path
2024-07-30 15:39:22 +02:00
marc tobias
f52097c064 After install point user to /status not / path 2024-07-30 13:10:24 +02:00
Sarah Hoffmann
d336b81293 drop amenity=waste_prposal and amenity=hunting_stand 2024-07-30 10:41:13 +02:00
Sarah Hoffmann
507c0286da
Merge pull request #3491 from mtmail/faq-unicode-encoding
Admin FAQ entry for UnicodeEncodeError
2024-07-29 22:01:46 +02:00
marc tobias
04a3f39371 Admin FAQ entry for UnicodeEncodeError 2024-07-29 18:26:11 +02:00
Sarah Hoffmann
bc75e5626e
Merge pull request #3466 from mtmail/apple-silicon-parallels
Vagrant: add config for Apple Silicon
2024-07-29 16:52:54 +02:00
Sarah Hoffmann
0add25e335
Merge pull request #3487 from lonvia/port-to-psycopg3
Move importer code to psycopg3
2024-07-29 16:52:07 +02:00
Sarah Hoffmann
253dc7d7cd Ubuntu 22 doesn't have psycopg yet 2024-07-29 08:54:18 +02:00
Sarah Hoffmann
221b5cd8a2 fix dependencies and adapt documentation for psycopg3 2024-07-29 08:54:09 +02:00
Sarah Hoffmann
9659afbade port code to psycopg3 2024-07-29 08:50:19 +02:00
Sarah Hoffmann
3742fa2929 make DB helper functions free functions
Also changes the drop function so that it can drop multiple tables
at once.
2024-07-29 08:49:30 +02:00
Sarah Hoffmann
71249bd94a remove extension existence helper
This is only used in one place.
2024-07-29 08:49:02 +02:00
Sarah Hoffmann
e3353deee0
Merge pull request #3480 from mtmail/import-style-adits
full,extra import style: add adits
2024-07-24 22:59:29 +02:00
marc tobias
00563a1fa2 full,extra import style: add adits 2024-07-17 10:57:29 +02:00
Shumail Mohyuddin
b8686c19a0
fix docs link in update interval error message (#3479) 2024-07-17 10:37:07 +02:00
Sarah Hoffmann
b89144dcb2
Merge pull request #3468 from mtmail/setup-python-v5
Github Actions: now use setup-python v4->v5
2024-07-08 18:45:06 +02:00
Sarah Hoffmann
8e5a19b392
Merge pull request #3467 from mtmail/docs-datrie
Documentation: typo in python package name
2024-07-08 18:44:50 +02:00
marc tobias
5d12121f6d Github Actions: now use setup-python v4->v5 2024-07-08 17:26:36 +02:00
marc tobias
24f103dcbe Documentation: typo in python package name 2024-07-08 16:44:09 +02:00
marc tobias
0109f167f9 Vagrant: add config for Apple Silicon 2024-07-08 15:35:01 +02:00
Sarah Hoffmann
b63633857e
Merge pull request #3463 from lonvia/sqlalchemy14-with-psycopg
Make sure SQLAlchemy can handle the loaded dialect
2024-07-02 18:43:28 +02:00
Sarah Hoffmann
8cb0d5b262 make sure SQLAlchemy can handle the loaded dialect
The psycopg dialect was only added in SQLAlchemy 2.0. To avoid loading
errors when SQLAlchemy 1.4 is installed together with psycopg3,
check that the dialect is really available.
2024-07-02 15:55:23 +02:00
Mateusz Konieczny
e51973f8b1 fix some typos 2024-07-01 15:03:57 +02:00
Sarah Hoffmann
c314a3092c
Merge pull request #3458 from lonvia/python-package
Add support for installation via pip
2024-07-01 15:02:01 +02:00
Sarah Hoffmann
8dafd8bcb6 add mtm as maintainer for the Python packages 2024-07-01 14:25:26 +02:00
Sarah Hoffmann
ecf4693a79 improve wording
as per review
2024-06-29 16:27:26 +02:00
Sarah Hoffmann
fa1c402b47 enable CI tests for Ubuntu 24 2024-06-28 11:11:59 +02:00
Sarah Hoffmann
4da4cbfe27 reduce from 3 to 2 packages 2024-06-28 09:13:22 +02:00
Sarah Hoffmann
139cea5720 update documentation for new directory layout 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
e2416f90af installation for Ubuntu 24.04 with packages
Also remove Ubuntu 20.04 instructions.
2024-06-26 11:52:47 +02:00
Sarah Hoffmann
1e88321371 switch to symlink approach for packages
Needed to make building work from sdist and source directory.
2024-06-26 11:52:47 +02:00
Sarah Hoffmann
a93ec09932 adapt packaging readmes 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
9abf2c248e update licenses and discussion links 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
ab746eebaf export UsageError and Configuration in api directly
Library users should not have to deal with the core package directly.
2024-06-26 11:52:47 +02:00
Sarah Hoffmann
3ba330c948 update CI commands for linting 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
aef1357066 adapt cmake to new directory structure 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
5d302a03a6 make use of nominatim-api in db package optional 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
3a8c5df82d adapt bdd tests to new layout 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
44d5148e5f fix merge issues 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
63da70685a fix linting issues 2024-06-26 11:52:47 +02:00
Sarah Hoffmann
2bab0ca060 port unit tests to new python package layout 2024-06-26 11:52:47 +02:00