Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gha.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ extends = plone-x.x.x.cfg
recipe = plone.recipe.codeanalysis
pre-commit-hook = False
return-status-codes = True

[versions]
# Use the versions from the requirements files
setuptools =
zc.buildout =
25 changes: 13 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,16 @@ jobs:
strategy:
matrix:
config:
- ["Py2.7-Plone5.1", "2.7", "5.1"]
- ["Py2.7-Plone5.2", "2.7", "5.2"]
- ["Py3.6-Plone5.2", "3.6", "5.2"]
- ["Py3.7-Plone5.2", "3.7", "5.2"]
- ["Py3.8-Plone5.2", "3.8", "5.2"]
- ["Py3.9-Plone6.0", "3.9", "6.0"]
- ["Py3.13-Plone6.1", "3.13", "6.1"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.config[1] }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.config[1] }}
- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand All @@ -44,10 +41,14 @@ jobs:
echo "[buildout]" > $HOME/.buildout/default.cfg
echo "download-cache = $HOME/buildout-cache/downloads" >> $HOME/.buildout/default.cfg
echo "eggs-directory = $HOME/buildout-cache/eggs" >> $HOME/.buildout/default.cfg
wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
mkdir geckodriver && tar zxvf geckodriver-v0.26.0-linux64.tar.gz -C geckodriver
python -m pip install --upgrade pip
pip install -r requirements.txt
echo "abi-tag-eggs = true" >> $HOME/.buildout/default.cfg

- name: Install requirements and buildout
run: |
pip install -r requirements-${{ matrix.config[2] }}.txt

- name: Run buildout
run: |
sed -ie "s#plone-x.x.x.cfg#plone-${{ matrix.config[2] }}.x.cfg#" .gha.cfg
buildout -c .gha.cfg
- name: Test
Expand Down
5 changes: 3 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Changelog
=========

3.0.1 (unreleased)
4.0.0 (unreleased)
------------------

- Nothing changed yet.
- Support only Python 3.9+ and Plone 6.0+
[ale-rt]


3.0.0 (2021-02-17)
Expand Down
106 changes: 0 additions & 106 deletions Makefile

This file was deleted.

13 changes: 11 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,17 @@ Basic Installation
Compatibility
-------------

For Plone 5.1 and 5.2 you should use version 3.x.
For Plone 4.3 and 5.0 you should use version 2.x.
This table shows which version of collective.workspace is compatible with which versions of Plone and Python:

+---------------+----------------------+---------------------------+
| Plone | Python | collective.workspace |
+===============+======================+===========================+
| 6.0+ | 3.9+ | 4 |
+---------------+----------------------+---------------------------+
| 5.1, 5.2 | 2.7 - 3.8 | 3 |
+---------------+----------------------+---------------------------+
| 4.3, 5.0 | 2.7 | 2 |
+---------------+----------------------+---------------------------+

Custom Workspace Groups
-----------------------
Expand Down
4 changes: 2 additions & 2 deletions base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ flake8-extensions =
# flake8-select = E123

[test]
recipe = collective.xmltestreport
recipe = zc.recipe.testrunner
eggs = ${instance:eggs}
defaults = ['-s', 'collective.workspace', '--auto-color', '--auto-progress']
environment = environment
Expand Down Expand Up @@ -106,4 +106,4 @@ mode = 755
[versions]
collective.workspace =
setuptools =
zc.buildout =
zc.buildout =
80 changes: 0 additions & 80 deletions plone-5.1.x.cfg

This file was deleted.

53 changes: 0 additions & 53 deletions plone-5.2.x.cfg

This file was deleted.

9 changes: 9 additions & 0 deletions plone-6.0.x.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[buildout]
extends =
base.cfg
https://dist.plone.org/release/6.0-latest/versions.cfg
https://dist.plone.org/release/6.0-latest/versions-ecosystem.cfg
https://dist.plone.org/release/6.0-latest/versions-extra.cfg
find-links += https://dist.plone.org/thirdparty/
versions=versions
show-picked-versions = true
9 changes: 9 additions & 0 deletions plone-6.1.x.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[buildout]
extends =
base.cfg
https://dist.plone.org/release/6.1-latest/versions.cfg
https://dist.plone.org/release/6.1-latest/versions-ecosystem.cfg
https://dist.plone.org/release/6.1-latest/versions-extra.cfg
find-links += https://dist.plone.org/thirdparty/
versions=versions
show-picked-versions = true
1 change: 1 addition & 0 deletions requirements-6.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-r https://dist.plone.org/release/6.0-latest/requirements.txt
1 change: 1 addition & 0 deletions requirements-6.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-r https://dist.plone.org/release/6.1-latest/requirements.txt
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

Loading