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

pyup: Scheduled weekly dependency update for week 26 #8293

Merged
merged 11 commits into from Jun 29, 2021

Conversation

pyup-bot
Copy link
Collaborator

Update pip from 21.1.2 to 21.1.3.

Changelog

21.1.3

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

Bug Fixes
---------

- Remove unused optional ``tornado`` import in vendored ``tenacity`` to prevent old versions of Tornado from breaking pip. (`10020 <https://github.com/pypa/pip/issues/10020>`_)
- Require ``setup.cfg``-only projects to be built via PEP 517, by requiring an explicit dependency on setuptools declared in pyproject.toml. (`10031 <https://github.com/pypa/pip/issues/10031>`_)
Links

Update drf-flex-fields from 0.9.0 to 0.9.1.

Changelog

0.9.1

- No longer auto removes `source` argument if it's equal to the field name.
Links

Update celery from 5.1.0 to 5.1.2.

Changelog

5.1.2

=====
:release-date: 2021-06-28 16.15 P.M UTC+3:00
:release-by: Omer Katz

- When chords fail, correctly call errbacks. (6814)

 We had a special case for calling errbacks when a chord failed which
 assumed they were old style. This change ensures that we call the proper
 errback dispatch method which understands new and old style errbacks,
 and adds test to confirm that things behave as one might expect now.
- Avoid using the ``Event.isSet()`` deprecated alias. (6824)
- Reintroduce sys.argv default behaviour for ``Celery.start()``. (6825)

.. version-5.1.1:

5.1.1

=====
:release-date: 2021-06-17 16.10 P.M UTC+3:00
:release-by: Omer Katz

- Fix ``--pool=threads`` support in command line options parsing. (6787)
- Fix ``LoggingProxy.write()`` return type. (6791)
- Couchdb key is now always coerced into a string. (6781)
- grp is no longer imported unconditionally. (6804)
 This fixes a regression in 5.1.0 when running Celery in non-unix systems.
- Ensure regen utility class gets marked as done when concertised. (6789)
- Preserve call/errbacks of replaced tasks. (6770)
- Use single-lookahead for regen consumption. (6799)
- Revoked tasks are no longer incorrectly marked as retried. (6812, 6816)

.. version-5.1.0:
Links

Update GitPython from 3.1.17 to 3.1.18.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update elasticsearch from 7.13.1 to 7.13.2.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update selectolax from 0.2.11 to 0.2.12.

Changelog

0.2.12

--------------

Released

- Build wheels Apple Silicon
Links

Update psycopg2 from 2.8.6 to 2.9.1.

Changelog

2.9.1

^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fix regression with named `sql.Placeholder` (:ticket:`1291`).

2.9

-------------------------

- ``with connection`` starts a transaction on autocommit transactions too
(:ticket:`941`).
- Timezones with fractional minutes are supported on Python 3.7 and following
(:ticket:`1272`).
- Escape table and column names in `~cursor.copy_from()` and
`~cursor.copy_to()`.
- Connection exceptions with sqlstate ``08XXX`` reclassified as
`~psycopg2.OperationalError` (a subclass of the previously used
`~psycopg2.DatabaseError`) (:ticket:`1148`).
- Include library dirs required from libpq to work around MacOS build problems
(:ticket:`1200`).

Other changes:

- Dropped support for Python 2.7, 3.4, 3.5 (:tickets:`1198, 1000, 1197`).
- Dropped support for mx.DateTime.
- Use `datetime.timezone` objects by default in datetime objects instead of
`~psycopg2.tz.FixedOffsetTimezone`.
- The `psycopg2.tz` module is deprecated and scheduled to be dropped in the
next major release.
- Provide :pep:`599` wheels packages (manylinux2014 tag) for i686 and x86_64
platforms.
- Provide :pep:`600` wheels packages (manylinux_2_24 tag) for aarch64 and
ppc64le platforms.
- Wheel package compiled against OpenSSL 1.1.1k and PostgreSQL 13.3.
- Build system for Linux/MacOS binary packages moved to GitHub Actions.

2.8.7

^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Accept empty params as `~psycopg2.connect()` (:ticket:`1250`).
- Fix attributes refcount in `Column` initialisation (:ticket:`1252`).
- Allow re-initialisation of static variables in the C module (:ticket:`1267`).
Links

Update psycopg2-binary from 2.8.6 to 2.9.1.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update watchdog from 2.1.2 to 2.1.3.

Changelog

2.1.3

~~~~~

2021-06-26 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.2...v2.1.3>`__

- Publish macOS ``arm64`` and ``universal2`` wheels. (`740 <https://github.com/gorakhargosh/watchdog/pull/740>`_)
- Thanks to our beloved contributors: kainjow, BoboTiG
Links

Update pytest-xdist from 2.2.1 to 2.3.0.

Changelog

2.3.0

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

Deprecations and Removals
-------------------------

- `654 <https://github.com/pytest-dev/pytest-xdist/issues/654>`_: Python 3.5 is no longer supported.


Features
--------

- `646 <https://github.com/pytest-dev/pytest-xdist/issues/646>`_: Add ``--numprocesses=logical`` flag, which automatically uses the number of logical CPUs available, instead of physical CPUs with ``auto``.

This is very useful for test suites which are not CPU-bound.

- `650 <https://github.com/pytest-dev/pytest-xdist/issues/650>`_: Added new ``pytest_handlecrashitem`` hook to allow handling and rescheduling crashed items.


Bug Fixes
---------

- `421 <https://github.com/pytest-dev/pytest-xdist/issues/421>`_: Copy the parent process sys.path into local workers, to work around execnet's python -c adding the current directory to sys.path.

- `638 <https://github.com/pytest-dev/pytest-xdist/issues/638>`_: Fix issue caused by changing the branch name of the pytest repository.


Trivial Changes
---------------

- `592 <https://github.com/pytest-dev/pytest-xdist/issues/592>`_: Replace master with controller where ever possible.

- `643 <https://github.com/pytest-dev/pytest-xdist/issues/643>`_: Use 'main' to refer to pytest default branch in tox env names.
Links

```
AssertionError: It is redundant to specify `source='last_build'` on field
'BuildSerializer' in serializer 'VersionSerializer'
```
@humitos humitos requested a review from a team June 29, 2021 15:12
@humitos humitos enabled auto-merge June 29, 2021 15:12
@humitos humitos merged commit 3e5cc6b into master Jun 29, 2021
@humitos humitos deleted the pyup/scheduled-update-2021-06-28 branch June 29, 2021 15:17
@RuRo
Copy link

RuRo commented Jul 12, 2021

I think, that this might have broken something. I am trying to get the development setup running and after following the instructions from the Development Installation section, I get an

AssertionError at /accounts/login/
database connection isn't set to UTC

when trying to login as admin:admin at community.dev.readthedocs.io/accounts/login. After a little bit of googling, I found

Currently, you seem to have django pinned to 2.2.24 and psycopg2/psycopg2-binary to 2.9.1 which is not a supported combination according to the above issues.


Edit: I tried manually reverting the psycopg2 pins and after rebuilding the docker images, the issue was seemingly fixed

diff --git a/requirements/deploy.txt b/requirements/deploy.txt
index e3809df00..72cc39e89 100644
--- a/requirements/deploy.txt
+++ b/requirements/deploy.txt
@@ -1,7 +1,7 @@
 # Requirements for our production systems
 
 -r pip.txt
-psycopg2==2.9.1
+psycopg2==2.8.6
 gunicorn==20.1.0
 
 # Version 3.0.0 drops support for Django < 3.0
diff --git a/requirements/docker.txt b/requirements/docker.txt
index 15c8d56fd..a90325484 100644
--- a/requirements/docker.txt
+++ b/requirements/docker.txt
@@ -2,7 +2,7 @@
 
 -r pip.txt
 # https://www.psycopg.org/docs/install.html#psycopg-vs-psycopg-binary
-psycopg2-binary==2.9.1
+psycopg2-binary==2.8.6
 
 # Version 3.0.0 drops support for Django < 3.0
 # https://github.com/sebleier/django-redis-cache/#300

@astrojuanlu
Copy link
Contributor

Thanks @RuRo, I opened #8334 to track this

humitos added a commit that referenced this pull request Jul 12, 2021
We upgraded to latest psycopg2 in #8293 to a version that's incompatible with
Django 2.2. This commit downgrades it to a compatible version.

Closes #8334
stsewd pushed a commit that referenced this pull request Jul 12, 2021
We upgraded to latest psycopg2 in #8293 to a version that's incompatible with
Django 2.2. This commit downgrades it to a compatible version.

Closes #8334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants