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 dependency pytest-postgresql to v6 #1051

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 14, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-postgresql (changelog) ^4.1.1 || ^5.0.0 -> ^4.1.1 || ^5.0.0 || ^6.0.0 age adoption passing confidence

Release Notes

ClearcodeHQ/pytest-postgresql (pytest-postgresql)

v6.0.0

Compare Source

==================

Breaking changes

  • DatabaseJanitor class now accepts only keyword arguments. (#&#8203;899 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/899>__)

Bugfixes

  • Fix the remaining DepcrecationWarning for datetime.datetime.utcnow on Python 3.12. (#&#8203;896 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/896>__)

Deprecations

  • Deprecated load parameter on a client fixture.
    Developers are encouraged to either use the load function/parameter
    for process fixture, or create an intermediate fixture placed between client
    and tests themselves to fill in the data. (#&#8203;850 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/850>__)

Features

  • Now all sql files used to initialise database for tests, has to be passed as pathlib.Path instance.

    This helps the DatabaseJanitor choose correct behaviour based on parameter. (#&#8203;638 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/638>__)

  • Have separate parameters for template database name and database name in DatabaseJanitor.
    It'll make it much clearer to understand the code and Janitor's behaviour. (#&#8203;672 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/672>__)

  • Template databases are now created with is_template flag turned on, and not by setting allow_connections to false.

    The allow_connections flag being set to false is used strictly right before we attempt to drop the database. (#&#8203;914 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/914>__)

Miscellaneus

  • #&#8203;865 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/865>, #&#8203;882 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/882>, #&#8203;893 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/893>, #&#8203;900 <https://github.com/ClearcodeHQ/pytest-postgresql/issues/900>

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Pull requests that update a dependency file python labels Mar 14, 2024
@renovate renovate bot force-pushed the renovate/pytest-postgresql-6.x branch from 9ae4f5a to d6a5d75 Compare March 23, 2024 10:41
@renovate renovate bot force-pushed the renovate/pytest-postgresql-6.x branch from d6a5d75 to 21d1db9 Compare March 26, 2024 17:22
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/pytest-postgresql-6.x branch from 21d1db9 to 6a164d9 Compare March 26, 2024 17:24
@nphilipp nphilipp merged commit ed9e723 into dev Mar 26, 2024
13 checks passed
@nphilipp nphilipp deleted the renovate/pytest-postgresql-6.x branch March 26, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant