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

Update dependencies (backend) #5642

Merged
merged 15 commits into from
May 23, 2023
Merged

Update dependencies (backend) #5642

merged 15 commits into from
May 23, 2023

Commits on May 22, 2023

  1. Update backend dependencies

    `requirements.txt` now has sections. These sections are intended to make
    it easier to know why a dependency is added.
    
    Some dependency updates required changes to the backend.
    
    Of note, flask_script is no longer supported and flask includes its own
    cli. Some effort was taken to ensure that existing scripts will still
    work, but users should update their scripts as soon as possible.
    
    * Added
     * blinker
     * charset-normalizer
     * mypy-extensions
     * numpy
     * packaging
     * pathspec
     * platformdirs
     * pytz-deprecation-shim
     * typing_extensions
     * tzdata
     * tzlocal
     * zipp
     * zope.event
     * zope.interface
    * Removed
     * Flask-Script
     * Unidecode
     * appdirs
     * attrs
     * chardet
     * entrypoints
     * glob2
     * newrelic
     * pyparsing
     * pyproj
     * python-editor
     * toml
    
    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    e025517 View commit details
    Browse the repository at this point in the history
  2. Replace nose with pytest

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    fb44908 View commit details
    Browse the repository at this point in the history
  3. Switch CI from nosetest to pytest

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    1838590 View commit details
    Browse the repository at this point in the history
  4. Add missing __init__.py files to tests

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    3d63389 View commit details
    Browse the repository at this point in the history
  5. Update python versions used in CI and docker images

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    689da91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ffea683 View commit details
    Browse the repository at this point in the history
  7. migrations: Make compatible with SQLAlchemy 2.x

    The primary change required was wrapping direct SQL commands with
    sqlalchemy.text (written as "sa.text"). Most of these could be converted
    to be not be written as direct SQL commands.
    
    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    c869ffc View commit details
    Browse the repository at this point in the history
  8. Update flask calls

    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    d623323 View commit details
    Browse the repository at this point in the history
  9. Shapely updates

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    41e97b7 View commit details
    Browse the repository at this point in the history
  10. ORM updates

    This is largely paginate changes, along query methodology updates, and
    db execution method updates.
    
    There is also a change in backend/services/organisation_service.py that
    fixes a test failure (`datetime.today()` -> `func.now()`).
    
    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    0793aff View commit details
    Browse the repository at this point in the history
  11. Various fixes for test breakage

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    44e948e View commit details
    Browse the repository at this point in the history
  12. geojson precision updates

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    aa3ab89 View commit details
    Browse the repository at this point in the history
  13. test_project: Add explanation for why the test is flaky

    Also, add debug output for exception
    
    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    390ed7f View commit details
    Browse the repository at this point in the history
  14. ORM updates -- fix deprecation warnings shown in tests (and only thos…

    …e shown by tests)
    
    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    1467c5a View commit details
    Browse the repository at this point in the history
  15. CI: Set TM_ORG_CODE and TM_ORG_NAME

    Signed-off-by: Taylor Smock <[email protected]>
    tsmock committed May 22, 2023
    Configuration menu
    Copy the full SHA
    c3bd7b8 View commit details
    Browse the repository at this point in the history