Skip to content

Commit

Permalink
Merge pull request #1265 from chris34/update-requirements
Browse files Browse the repository at this point in the history
Update requirements
  • Loading branch information
chris34 authored Jun 18, 2023
2 parents 0bd22af + 118bd3a commit ba37917
Show file tree
Hide file tree
Showing 9 changed files with 421 additions and 394 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
REQUIREMENTS_FILE: extra/requirements/linux-py${{ matrix.python-version }}-development.txt
strategy:
matrix:
python-version: [3.8, 3.9]
python-version: [3.9]
database: ['postgresql', 'sqlite']

include:
Expand Down
9 changes: 7 additions & 2 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,26 @@ Inyoka Changelog
-----------


0.29.0 (2022-MM-DD)
0.29.0 (2023-06-DD)
=====================

Deployment notes
----------------

#. Update requirements
#. Run ``python manage.py migrate``

✨ New features
---------------
* `Async markup rendering <https://github.com/inyokaproject/inyoka/pull/1256>`_

🏗 Changes
----------

* Require python 3.9
* Use default django classes for templates
* `Update celery to version 5 <https://github.com/inyokaproject/inyoka/pull/1249>`_
* `Ubuntu Distro Select: Add Ubuntu Unity, Do not allow Ubuntu GNOME for new threads <https://github.com/inyokaproject/inyoka/pull/1264/>`_

🔥 Removals
-----------
Expand All @@ -50,7 +55,7 @@ Deployment notes
🔒 Security
-----------

* Update requirements (dependency-package ``Pillow`` includes known security fixes)
* Update requirements (at least the dependencies ``Pillow``, ``requests``, ``sqlparse`` include known security fixes)

0.28.0 (2022-09-11)
=====================
Expand Down
1 change: 0 additions & 1 deletion extra/requirements/linux-py3.8-development.txt

This file was deleted.

1 change: 0 additions & 1 deletion extra/requirements/linux-py3.8-production.txt

This file was deleted.

467 changes: 242 additions & 225 deletions extra/requirements/linux-py3.9-development.txt

Large diffs are not rendered by default.

329 changes: 168 additions & 161 deletions extra/requirements/linux-py3.9-production.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inyoka/portal/management/commands/generate_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def generate_requirements_file(self, stage: str, upgrade_all: bool = False, upgr
full_path = self._get_requirements_path(stage)

program_name = 'pip-compile'
arguments = ['--allow-unsafe', '--generate-hashes', '--output-file', full_path]
arguments = ['--allow-unsafe', '--generate-hashes', '--resolver', 'backtracking', '--output-file', full_path]

if upgrade_all and upgrade_packages:
raise ValueError("Both upgrade_all and upgrade_packages are given. That's invalid")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
keywords='Forum Wiki Planet News Calendar',

packages=find_packages(include=('inyoka*',)),
python_requires='>=3.8, <4',
python_requires='>=3.9, <4',
install_requires=[
'Django<2.3',
'pip-tools',
Expand Down
2 changes: 1 addition & 1 deletion tests/bdd/behave_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def close_sessions(conn):
def browser_chrome(context):
options = Options()
options.headless = settings.HEADLESS
context.browser = Chrome(chrome_options=options)
context.browser = Chrome(options=options)
context.browser.set_window_size(1024, 1900)
yield context.browser
context.browser.quit()

0 comments on commit ba37917

Please sign in to comment.