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

GNIP-64: Python 3 & Django 2 Upgrade #4276

Closed
Coop56 opened this issue Mar 7, 2019 · 27 comments · Fixed by #5511
Closed

GNIP-64: Python 3 & Django 2 Upgrade #4276

Coop56 opened this issue Mar 7, 2019 · 27 comments · Fixed by #5511
Assignees
Labels
gnip A GeoNodeImprovementProcess Issue python-3 Stuff related to https://github.com/GeoNode/geonode/issues/4276
Milestone

Comments

@Coop56
Copy link
Contributor

Coop56 commented Mar 7, 2019

NGA is proposing to accelerate the work of upgrading GeoNode’s codebase from Python 2.7 to 3.7, Django 1.11 to 2.1, and replace all Angular 1.4 with React and JavaScript code. We will coordinate this work as part of our GEOINT Services contract to make sure this work is completed and pushed back to the GeoNode community by the end of March 2020. Work related to GeoNode as part of the GEOINT Services program will be pushed back to the GeoNode community as part of our open source commitment when appropriate. All work will be performed by Boundless Spatial at the direction of NGA. The following document outlines the work required to deliver on this upgrade work.

We’ve already begun work on the Angular 1.4 to React migration in another GNIP (#4129). This GNIP will focus on the Python 2 to 3 and Django 1.11 to 2.1 upgrades. We propose to complete the Python and Django upgrade process in the following order. Of note, this process is subject to change as we work on these items and uncover dependencies during the upgrade process.

  1. Remove unnecessary dependencies, to ensure we only spend time upgrading the dependencies that are necessary to GeoNode.
  2. Improve test coverage where possible, to make it easier to spot regressions.
  3. Update dependencies with a version that supports Python 3.7 or replace those dependencies with another option if they do not have a version with Python 3.7 support.
  4. There are certain pieces of Python 3 syntax that are already compatible with Python 2.7. We’ll make as many of these changes as possible in separate commits and get those PR’d into master before moving onto dropping Python 2.7 support entirely.
  5. In one large PR, drop support for Python 2.7 for the entire GeoNode codebase and ensure all code is Python 3.7 compatible. (this PR will have to go on a new version, as it will of course break old systems, the community can decide what version it will be).
  6. In a separate PR, update django-osgeo-importer to drop support for Python 2.7 and ensure all code is Python 3.7 compatible.
  7. Since Django 1.11 supports Python 3 already, we’ll be able to finish the Python 3 upgrade and then move onto upgrading Django separately. We’ll upgrade any dependencies of GeoNode to a version that supports Django 2 first or replace them with another alternative if necessary.
  8. Then we’ll move onto the GeoNode codebase itself and upgrade all of the code to Django 2 compatible syntax.
  9. Finally, we’ll upgrade django-osgeo-importer to Django 2 compatible syntax.

Once all of this is done on master, the community will be able to decide which version we call this, and projects can start upgrading their own codebases if they choose to do so.

Key links:

@Coop56 Coop56 changed the title GNIP: Python 3 Upgrade GNIP: Python 3 & Django 2Upgrade Mar 7, 2019
@Coop56 Coop56 changed the title GNIP: Python 3 & Django 2Upgrade GNIP: Python 3 & Django 2 Upgrade Mar 7, 2019
@francbartoli francbartoli added the gnip A GeoNodeImprovementProcess Issue label Mar 7, 2019
@travislbrundage
Copy link
Member

Looks good. +1 👍

@copaskevin
Copy link

This work has been put on pause by NGA at the moment. We are working with them to identify who/when the work will be completed. Hope to have more information by the end of April.

@frafra
Copy link
Contributor

frafra commented Jun 17, 2019

@copaskevin Any news?

@copaskevin
Copy link

@frafra No news from NGA. The rumor is that they will be funding this work outside a different contract but it will more than likely not be coming from the contract awarded to us.

@afabiani afabiani modified the milestones: 2.10.1, 3.0 Jul 11, 2019
@srtonz
Copy link

srtonz commented Aug 11, 2019

Any update on this proposal? We may be able to contribute some dedicated time late in the year / early next year to help with upgrade efforts.

@afabiani
Copy link
Member

Hi @geotob no particular updates up to now. GeoSolutions will probably invest some resources on this hopefully before the next year. It would be good to cooperate on this of course.

@gannebamm
Copy link
Contributor

If our proposal gets funding, we will also be able to contribute. We will get more info later this year. Let´s do it together.

@afabiani afabiani changed the title GNIP: Python 3 & Django 2 Upgrade GNIP-64: Python 3 & Django 2 Upgrade Aug 22, 2019
@coulonpascal
Copy link

Hi. SCISYS UK is sponsoring the code sprint at the up coming UK FOSS4G conference. We are using geonode in a number of uk government and private sector projects. It would be great to get some progress on this issue. Has there been any progress anywhere on this?

@gannebamm
Copy link
Contributor

gannebamm commented Sep 10, 2019

Regarding the mentioned proposal: If it is succesful the funding will not start before Oktober 2020. I am sorry.

@coulonpascal
Copy link

coulonpascal commented Sep 10, 2019

It would be great to get some help from the community at the up-coming UK FOSS4G, this is a great forum for this?

@travislbrundage
Copy link
Member

Hey all, while I won't be at the up coming UK FOSS4G, I am going to be getting up to speed on this task and picking it up soon. The information is largely the same as described originally to my understanding, but for now the task is on my radar instead. Will keep you updated as I start making progress.

@srtonz
Copy link

srtonz commented Sep 18, 2019

Nice, we have time set aside from late November onwards if help is still needed by then :-)

@srtonz
Copy link

srtonz commented Oct 24, 2019

Just wondering if any one managed to make progress on this? If not I would like to propose that our team picks this up from 18 November. We would develop against a public fork of the latest stable release while keeping close to the plan outlined in the issue above.

Would obviously welcome any community contributions to our efforts.

@t-book
Copy link
Contributor

t-book commented Oct 25, 2019

@geotob What great news! We had this yesterday in gitter chat.
I hope it's okay to quote @travislbrundage here:

Well, I've been wrestling with that + trying to speed up the tests for GeoNode (there's some conversation before about it). So far I have only really done organization. I have a spreadsheet continued from the work coop had done with all the libraries that will need replacement or updating with Python3 (fortunately not too many). With this problem out of the way I'll start committing some updates to the unit tests to increase coverage/speed up if possible.

So it would be great if you two could get in contact and coordinate !

@afabiani
Copy link
Member

@ all ... I guess GeoSolutions also will jump soon into this. Probably from November.

The priority now is to close the 2.10.1 release. Then we will focus on Python3 upgrade.

@srtonz
Copy link

srtonz commented Oct 25, 2019

We have two team members free after FOSS4G Oceania through to February - sounds like this won't be a problem to get done with everyone's help:) Let's coordinate in November?

@t-book
Copy link
Contributor

t-book commented Oct 25, 2019

** Dreamteam ** 👍

@travislbrundage
Copy link
Member

This is excellent to hear! I welcome all the help I can getting this done. :)

There is not too much to update since I last posted as it took a while to get transitioned onto this task. I will reach out on the developer email list to create a more detailed post on progress and what I foresee going forward.

For now I am just trying to help with the 2.10.1 release + improve unit testing so the Python upgrade (hopefully) goes more smoothly. Looking forward to working with you all!

@afabiani afabiani self-assigned this Nov 13, 2019
@travislbrundage
Copy link
Member

Hey all, making a quick update to this. The main post will be edited with key information and links. I've made some documents to keep track of work that needs to be done so people can work in parallel. You can find more detailed information in the thread I've made on the mailing list, also linked. Thanks for all the help and feedback :)

afabiani pushed a commit that referenced this issue Dec 12, 2019
[Issue #4276] Upgrade poster and geonode/tests for Python 2.7/3 compatibility
afabiani pushed a commit to GeoNode/django-mapstore-adapter that referenced this issue Dec 13, 2019
srtonz added a commit to srtonz/django-mapstore-adapter that referenced this issue Dec 15, 2019
The `base_name` attribute has been deprecated in favour of `basename` (https://www.django-rest-framework.org/community/release-notes/#390).

Found while testing for py3 compatibility GeoNode/geonode#4276
dhlambert pushed a commit to srtonz/geonode that referenced this issue Jan 6, 2020
Fixes:

1. When trying to edit the layer metadata I get the following error
GET http://localhost:8000/static/admin/css/autocomplete.css net::ERR_ABORTED 404 (Not Found)

2. If I try to insert new keywords containing substrings of already existing ones, they won't be inserted at all. As an instance, if I already have a keyword named "afabiani" in the system, trying to add a new one like "afa" or "afabi" or "iani" won't work.
afabiani pushed a commit that referenced this issue Jan 8, 2020
)

* [Issue #4276] Updating django-autocomplete-light to version 3.5.0

* [Issue #4276] Updating django-autocomplete-light to version 3.5.0

Fixes:

1. When trying to edit the layer metadata I get the following error
GET http://localhost:8000/static/admin/css/autocomplete.css net::ERR_ABORTED 404 (Not Found)

2. If I try to insert new keywords containing substrings of already existing ones, they won't be inserted at all. As an instance, if I already have a keyword named "afabiani" in the system, trying to add a new one like "afa" or "afabi" or "iani" won't work.

* Fixing red highlight when keywords empty on wizard.

* Updating documentation for autocomplete/select2 changes.

Co-authored-by: Alessio Fabiani <alessio.fabiani@geo-solutions.it>
afabiani pushed a commit that referenced this issue Jan 21, 2020
Co-authored-by: Dingding Fan <dingdingfan@catalyst.net.nz>
Co-authored-by: Dana Lambert <danalambert@catalyst.net.nz>
afabiani pushed a commit that referenced this issue Jan 22, 2020
[Closes #4276] GNIP-64: Python 3 & Django 2 Upgrade
gannebamm added a commit to gannebamm/geonode that referenced this issue Feb 4, 2020
* [Fixes GeoNode#5392][Performance] Put meaningful generic thumbs if thumbnail generation fails some some reason

* Revert "[Issue GeoNode#4276] Upgrade tests for Python 2.7/3 compatibility"

*  - Smoke Test Seg Fault fix

* - Smoke Test Seg Fault fix

*  - Cleanup print messages

* - Smoke Test Seg Fault fix

* - Smoke Test Seg Fault fix

* - Smoke Test Seg Fault fix

* - Integration Tests fix

* - Integration Tests fix

* [Hardening] Minor fixes and checks

* Bump pytest from 4.6.6 to 4.6.7

Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.6 to 4.6.7.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/4.6.7/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@4.6.6...4.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump kombu from 4.6.6 to 4.6.7

Bumps [kombu](https://kombu.readthedocs.io) from 4.6.6 to 4.6.7.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump tqdm from 4.40.0 to 4.40.2

Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.40.0 to 4.40.2.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](tqdm/tqdm@v4.40.0...v4.40.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.32 to 1.10.35

Bumps [boto3](https://github.com/boto/boto3) from 1.10.32 to 1.10.35.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.32...1.10.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump splinter from 0.11.0 to 0.12.0

Bumps [splinter](https://github.com/cobrateam/splinter) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/cobrateam/splinter/releases)
- [Changelog](https://github.com/cobrateam/splinter/blob/master/docs/news.rst)
- [Commits](cobrateam/splinter@0.11.0...0.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.32 to 1.10.36

Bumps [boto3](https://github.com/boto/boto3) from 1.10.32 to 1.10.36.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.32...1.10.36)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Setup code moved to geonode-selenium container

* [Hardening] Get rid of deprecated middelware

* [Hardening] Adding MAPBOX_BASEMAPS to local_settings.py.geoserver.sample

* [Issue GeoNode#4276] Upgrade tests for Python 2.7/3 compatibility

* Bump boto3 from 1.10.36 to 1.10.37

Bumps [boto3](https://github.com/boto/boto3) from 1.10.36 to 1.10.37.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.36...1.10.37)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Fixes GeoNode#5408] Update "sync layers and maps" management commands documentation and cleanup old stuff

* Typos on updatelaters management command

*  - Disabling "Selenium Integration Tests SPCGeonode"

* Bump boto3 from 1.10.37 to 1.10.38

Bumps [boto3](https://github.com/boto/boto3) from 1.10.37 to 1.10.38.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.37...1.10.38)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump geonode-user-messages from 0.1.14 to 0.1.15

Bumps [geonode-user-messages](https://github.com/GeoNode/geonode-user-messages) from 0.1.14 to 0.1.15.
- [Release notes](https://github.com/GeoNode/geonode-user-messages/releases)
- [Changelog](https://github.com/GeoNode/geonode-user-messages/blob/master/CHANGELOG.md)
- [Commits](GeoNode/geonode-user-messages@0.1.14...0.1.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump gn-gsimporter from 1.0.15 to 1.0.17

Bumps [gn-gsimporter](https://github.com/GeoNode/gsimporter) from 1.0.15 to 1.0.17.
- [Release notes](https://github.com/GeoNode/gsimporter/releases)
- [Changelog](https://github.com/GeoNode/gsimporter/blob/gn-gsimporter/CHANGELOG.md)
- [Commits](GeoNode/gsimporter@1.0.15...1.0.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump django-mapstore-adapter from 1.0.13 to 1.0.14

Bumps [django-mapstore-adapter](https://github.com/GeoNode/django-mapstore-adapter) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/GeoNode/django-mapstore-adapter/releases)
- [Changelog](https://github.com/GeoNode/django-mapstore-adapter/blob/master/CHANGELOG.md)
- [Commits](GeoNode/django-mapstore-adapter@1.0.13...1.0.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Fixes GeoNode#5416] LIKE filter on layer download tab doesn't let setting a pattern value

* Bump celery from 4.3.0 to 4.4.0

Bumps [celery](https://github.com/celery/celery) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/celery/celery/releases)
- [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst)
- [Commits](celery/celery@v4.3.0...4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump splinter from 0.12.0 to 0.13.0

Bumps [splinter](https://github.com/cobrateam/splinter) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/cobrateam/splinter/releases)
- [Changelog](https://github.com/cobrateam/splinter/blob/master/docs/news.rst)
- [Commits](cobrateam/splinter@0.12.0...0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump coverage from 4.5.4 to 5.0

Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.4 to 5.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@coverage-4.5.4...coverage-5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.38 to 1.10.39

Bumps [boto3](https://github.com/boto/boto3) from 1.10.38 to 1.10.39.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.38...1.10.39)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

*  - Test fix

* Bump sqlalchemy from 1.3.11 to 1.3.12

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.11 to 1.3.12.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Fixes GeoNode#5429] Layer feature info templates are not used inside maps

* Bump django from 1.11.26 to 1.11.27

Bumps [django](https://github.com/django/django) from 1.11.26 to 1.11.27.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@1.11.26...1.11.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.39 to 1.10.41

Bumps [boto3](https://github.com/boto/boto3) from 1.10.39 to 1.10.41.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.39...1.10.41)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump django-mapstore-adapter from 1.0.14 to 1.0.15

Bumps [django-mapstore-adapter](https://github.com/GeoNode/django-mapstore-adapter) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/GeoNode/django-mapstore-adapter/releases)
- [Changelog](https://github.com/GeoNode/django-mapstore-adapter/blob/master/CHANGELOG.md)
- [Commits](GeoNode/django-mapstore-adapter@1.0.14...1.0.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump django-geonode-mapstore-client from 1.4.6 to 1.4.7

Bumps [django-geonode-mapstore-client](https://github.com/GeoNode/geonode-mapstore-client) from 1.4.6 to 1.4.7.
- [Release notes](https://github.com/GeoNode/geonode-mapstore-client/releases)
- [Changelog](https://github.com/GeoNode/geonode-mapstore-client/blob/master/CHANGELOG.md)
- [Commits](GeoNode/geonode-mapstore-client@1.4.6...1.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update django-jsonfield requirement from <1.3.2 to <1.4.1

Updates the requirements on [django-jsonfield](https://github.com/adamchainz/django-jsonfield) to permit the latest version.
- [Release notes](https://github.com/adamchainz/django-jsonfield/releases)
- [Commits](adamchainz/django-jsonfield@0.7...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.41 to 1.10.42

Bumps [boto3](https://github.com/boto/boto3) from 1.10.41 to 1.10.42.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.41...1.10.42)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update httplib2 requirement from <0.14.1 to <0.15.1

Updates the requirements on [httplib2](https://github.com/httplib2/httplib2) to permit the latest version.
- [Release notes](https://github.com/httplib2/httplib2/releases)
- [Changelog](https://github.com/httplib2/httplib2/blob/master/CHANGELOG)
- [Commits](httplib2/httplib2@0.9...v0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump pytest from 4.6.7 to 4.6.8

Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.7 to 4.6.8.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/4.6.8/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@4.6.7...4.6.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.42 to 1.10.43

Bumps [boto3](https://github.com/boto/boto3) from 1.10.42 to 1.10.43.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.42...1.10.43)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump django-geonode-mapstore-client from 1.4.7 to 1.4.8

Bumps [django-geonode-mapstore-client](https://github.com/GeoNode/geonode-mapstore-client) from 1.4.7 to 1.4.8.
- [Release notes](https://github.com/GeoNode/geonode-mapstore-client/releases)
- [Changelog](https://github.com/GeoNode/geonode-mapstore-client/blob/master/CHANGELOG.md)
- [Commits](GeoNode/geonode-mapstore-client@1.4.7...1.4.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Fixes GeoNode#5446] Fix binary files removed from lib

* [Fixes GeoNode#5419] Hierarchical keyword tree widget issues

* Bump coverage from 5.0 to 5.0.1

Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0 to 5.0.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@coverage-5.0...coverage-5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.43 to 1.10.45

Bumps [boto3](https://github.com/boto/boto3) from 1.10.43 to 1.10.45.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.43...1.10.45)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fixes [5463] Change geolite2-city endpoint

* Fixes GeoNode#5467 Gender neutral terminology

* [Fixes GeoNode#5468] Correct 'Favoriten' in german Translation

* [Hardening] Removing problematic CSS comment

(cherry picked from commit 3e44cbd)

* [Fixes GeoNode#5463] Change geolite2-city endpoint

* Bump geoip2 from 2.9.0 to 3.0.0

Bumps [geoip2](https://github.com/maxmind/libmaxminddb) from 2.9.0 to 3.0.0.
- [Release notes](https://github.com/maxmind/libmaxminddb/releases)
- [Changelog](https://github.com/maxmind/libmaxminddb/blob/master/Changes.md)
- [Commits](https://github.com/maxmind/libmaxminddb/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Fixes 5464] Update docs for Tomcat download

* Bump pillow from 6.2.1 to 6.2.2

Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](python-pillow/Pillow@6.2.1...6.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

*  - Adding back backport bot (https://github.com/marketplace/actions/backporting)

* Add lucernae to CLA

*  - Avoid adding '%' by default

*  - Adding back backport bot (https://github.com/marketplace/actions/backporting)

*  - If no "%" sign is provided I would make it behave as before, i.e. having the "%" automatically added at the beginning and the end of the text, as per @giohappy comments

* Fix environment variable references (GeoNode#5475)

Change environment variable to refer GEONODE_DATABASE_USER
and GEONODE_GEODATABASE_USER respectively for user
field in database connections.

Co-authored-by: Toni  <toni.schoenbuchner@csgis.de>
Co-authored-by: Alessio Fabiani <alessio.fabiani@geo-solutions.it>

* [Issue GeoNode#4276] Updating django-autocomplete-light to version 3.5.0 (GeoNode#5410)

* [Issue GeoNode#4276] Updating django-autocomplete-light to version 3.5.0

* [Issue GeoNode#4276] Updating django-autocomplete-light to version 3.5.0

Fixes:

1. When trying to edit the layer metadata I get the following error
GET http://localhost:8000/static/admin/css/autocomplete.css net::ERR_ABORTED 404 (Not Found)

2. If I try to insert new keywords containing substrings of already existing ones, they won't be inserted at all. As an instance, if I already have a keyword named "afabiani" in the system, trying to add a new one like "afa" or "afabi" or "iani" won't work.

* Fixing red highlight when keywords empty on wizard.

* Updating documentation for autocomplete/select2 changes.

Co-authored-by: Alessio Fabiani <alessio.fabiani@geo-solutions.it>

* .msgapi #mapstore-print-panel.modal-dialog

(cherry picked from commit 52c0194)

* Bump django-treebeard from 4.3 to 4.3.1

Bumps [django-treebeard](https://github.com/django-treebeard/django-treebeard) from 4.3 to 4.3.1.
- [Release notes](https://github.com/django-treebeard/django-treebeard/releases)
- [Changelog](https://github.com/django-treebeard/django-treebeard/blob/master/CHANGES)
- [Commits](django-treebeard/django-treebeard@4.3...4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump setuptools from 42.0.2 to 44.0.0

Bumps [setuptools](https://github.com/pypa/setuptools) from 42.0.2 to 44.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/master/CHANGES.rst)
- [Commits](pypa/setuptools@v42.0.2...v44.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump tqdm from 4.40.2 to 4.41.1

Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.40.2 to 4.41.1.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](tqdm/tqdm@v4.40.2...v4.41.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump coverage from 5.0.1 to 5.0.2

Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@coverage-5.0.1...coverage-5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.45 to 1.10.48

Bumps [boto3](https://github.com/boto/boto3) from 1.10.45 to 1.10.48.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.45...1.10.48)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump django-mapstore-adapter from 1.0.15 to 1.0.16

Bumps [django-mapstore-adapter](https://github.com/GeoNode/django-mapstore-adapter) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/GeoNode/django-mapstore-adapter/releases)
- [Changelog](https://github.com/GeoNode/django-mapstore-adapter/blob/master/CHANGELOG.md)
- [Commits](GeoNode/django-mapstore-adapter@1.0.15...1.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump beautifulsoup4 from 4.8.1 to 4.8.2

Bumps [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/) from 4.8.1 to 4.8.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump pytest from 4.6.8 to 4.6.9

Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.8 to 4.6.9.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/4.6.9/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@4.6.8...4.6.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump invoke from 1.3.0 to 1.4.0

Bumps [invoke](https://github.com/bitprophet/alabaster) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/bitprophet/alabaster/releases)
- [Changelog](https://github.com/bitprophet/alabaster/blob/master/docs/changelog.rst)
- [Commits](https://github.com/bitprophet/alabaster/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Fixes GeoNode#5486] "resolve_object" get confused when present a remote layer with alternate similar to the local one

* [Fixes GeoNode#5497] W*S on QGis not authenticating

* [Fixes GeoNode#5493] User permissions not synched when DEFAULT_ANONYMOUS_VIEW_PERMISSION is True

* Bump coverage from 5.0.2 to 5.0.3

Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@coverage-5.0.2...coverage-5.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump boto3 from 1.10.48 to 1.11.0

Bumps [boto3](https://github.com/boto/boto3) from 1.10.48 to 1.11.0.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.10.48...1.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

*  - Typo

* [Fixes GeoNode#5504] Map Thumbnails Broken

*  - Bump to GeoServer 2.15.4

* Bump pytest-django from 3.7.0 to 3.8.0

Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst)
- [Commits](pytest-dev/pytest-django@v3.7.0...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Fixes GeoNode#5504] Map Thumbnails Broken

*  - Bump to Python 3

*  - Bump to GeoServer 2.15.4

* - Bump to Python 3

* Update JETTY_RUNNER_URL to secure HTTPS equivalent

* Fix mixed content when logged in

*  - Bump to Python 3

* [Issue GeoNode#4276] Fixes to core modules for Python 3

Co-authored-by: Dingding Fan <dingdingfan@catalyst.net.nz>
Co-authored-by: Dana Lambert <danalambert@catalyst.net.nz>

* Adding documentation for Develop section

* Update index.rst

typo in l30 `service apahe2 stop`

* - Bump to Python 3

*  - Bump to officla spcgeonode images @ https://hub.docker.com/r/geonode/spcgeonode/tags

(cherry picked from commit 221de30)

# Conflicts:
#	scripts/spcgeonode/docker-compose.override.yml
#	scripts/spcgeonode/docker-compose.yml

*  - Updating SPCGeoNode README and doc references

(cherry picked from commit 0d824a3)

*  - Bump to Python 3

* Bump django-recaptcha from 2.0.5 to 2.0.6

Bumps [django-recaptcha](https://github.com/praekelt/django-recaptcha) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/praekelt/django-recaptcha/releases)
- [Changelog](https://github.com/praekelt/django-recaptcha/blob/develop/CHANGELOG.rst)
- [Commits](django-recaptcha/django-recaptcha@2.0.5...2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fixed elasticsearch versions

* fixing steps and adding screenshots for develop

* fixing typos

*  - Adding "maabdelghaffar" to CLA signatures

* Update .travis.yml

Do not allow selenium failures anymore

*  - updated install doc

*  - Do not store unpickable objects on request session

* [Fixes GeoNode#5554] Fixed blank page when deleting announcements

* [Issue GeoNode#5555] Improved speed of terminating geoserver locally

* fixing workshop permissions tutorial

* [Fixes GeoNode#5560] Cannot upload XML layer metadata

*  - Update Django version on docs

* Bump pillow from 6.2.2 to 7.0.0

Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.2 to 7.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](python-pillow/Pillow@6.2.2...7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump pyproj from 2.2.1 to 2.4.2.post1

Bumps [pyproj](https://github.com/pyproj4/pyproj) from 2.2.1 to 2.4.2.post1.
- [Release notes](https://github.com/pyproj4/pyproj/releases)
- [Changelog](https://github.com/pyproj4/pyproj/blob/master/docs/history.rst)
- [Commits](https://github.com/pyproj4/pyproj/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump django-mptt from 0.9.1 to 0.11.0

Bumps [django-mptt](https://github.com/django-mptt/django-mptt) from 0.9.1 to 0.11.0.
- [Release notes](https://github.com/django-mptt/django-mptt/releases)
- [Commits](django-mptt/django-mptt@0.9.1...0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump pytest from 4.6.9 to 5.3.4

Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.9 to 5.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@4.6.9...5.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sqlalchemy from 1.3.12 to 1.3.13

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.12 to 1.3.13.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update numpy requirement from ==1.16.* to ==1.18.*

Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/master/doc/HOWTO_RELEASE.rst.txt)
- [Commits](numpy/numpy@v1.16.0rc1...v1.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Workaround for pip 20.0.2+ issue GeoNode#7645: 20.0.2 Regression: module missing pip._internal.download

* fix formatting issues at Develop documentation

* Bump tqdm from 4.41.1 to 4.42.0

Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.41.1 to 4.42.0.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](tqdm/tqdm@v4.41.1...v4.42.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix GeoNode#5577 Vector layer does not have geometry or attributes.

* Changed exceptions messages to be more understandable

* Add travislbrundage to clabot

* Fixes: GeoNode#5585 pg_dump is failing because of version missmatch

* [Fixes GeoNode#5587] Set permissions for current user when DEFAULT_ANONYMOUS_VIEW_PERMISSION is False

* [Fixes GeoNode#5584] Added dutch sorted languages

Co-authored-by: Alessio Fabiani <alessio.fabiani@geo-solutions.it>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Francesco Frassinelli <fraph24@gmail.com>
Co-authored-by: Matthew Northcott <matthew@northcott.nz>
Co-authored-by: Toni  <toni.schoenbuchner@csgis.de>
Co-authored-by: Rizky Maulana Nugraha <lana.pcfre@gmail.com>
Co-authored-by: dhlambert <38519933+dhlambert@users.noreply.github.com>
Co-authored-by: gonrial <gonrial@gmail.com>
Co-authored-by: Dingding <49969913+DingDingFan0207@users.noreply.github.com>
Co-authored-by: M. Ahmed <maabdelghaffar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gnip A GeoNodeImprovementProcess Issue python-3 Stuff related to https://github.com/GeoNode/geonode/issues/4276
Projects
None yet
Development

Successfully merging a pull request may close this issue.