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

WIP: Django5 #1384

Open
wants to merge 5 commits into
base: staging
Choose a base branch
from
Open

WIP: Django5 #1384

wants to merge 5 commits into from

Conversation

chris34
Copy link
Member

@chris34 chris34 commented Feb 3, 2025

Mostly to see if the CI runs with the alpha of Django 5.2. (and that work is not done twice)

Drop python 3.9 support, as django 5.2 does not support it anymore
commit should be dropped for production and recreated with only
released versions

For generate_requirments `--pre` was added as a command line argument.
seems like the lib needs to be adapted. Ideally, drop this commit.

Error was

```
ERROR: setUpClass (tests.apps.ikhaya.test_migrations.TestArticalePublicationMerge)
----------------------------------------------------------------------
TypeError: MigratorTestCase._pre_setup() missing 1 required positional argument: 'self'

======================================================================
ERROR: setUpClass (tests.apps.portal.test_migrations.TestEventDateTimeMerge)
----------------------------------------------------------------------
TypeError: MigratorTestCase._pre_setup() missing 1 required positional argument: 'self'

======================================================================
ERROR: setUpClass (tests.apps.portal.test_migrations.TestUserJabberContentMigration)
----------------------------------------------------------------------
TypeError: MigratorTestCase._pre_setup() missing 1 required positional argument: 'self'

======================================================================
ERROR: setUpClass (tests.apps.portal.test_migrations.TestUserJabberFieldMigration)
----------------------------------------------------------------------
TypeError: MigratorTestCase._pre_setup() missing 1 required positional argument: 'self'

======================================================================
ERROR: setUpClass (tests.apps.portal.test_migrations.TestUserSha1PasswordRemoval)
----------------------------------------------------------------------
TypeError: MigratorTestCase._pre_setup() missing 1 required positional argument: 'self'
```
```
pyupgrade --py310-plus --keep-percent-format
```
a not implemented `Given` was used.

Error was

```
You can implement step definitions for undefined steps with these snippets:

from behave.api.pending_step import StepNotImplementedError
@given(u'the user "blog_user" exits')
def step_impl(context):
    raise StepNotImplementedError(u'STEP: Given the user "blog_user" exits')

Errored scenarios:
  tests/bdd/planet/blog.feature:67  URL-Fields should be validated -- @1.1
  tests/bdd/planet/blog.feature:68  URL-Fields should be validated -- @1.2
  tests/bdd/planet/blog.feature:69  URL-Fields should be validated -- @1.3
  tests/bdd/planet/blog.feature:70  URL-Fields should be validated -- @1.4
```
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.

1 participant