-
Notifications
You must be signed in to change notification settings - Fork 30
make package plone 6.2 ready #470
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
Merged
Changes from 8 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0a30575
make package plone 6.2 ready
1letter d449d42
update more config and import settings
1letter 17ff3cb
remove Products.PloneFormGen, not py3 compatible
1letter ecb8866
disable selenium robot tests
1letter 48936c6
remove old testmatrix
1letter fac0efe
enable mxdev to fix github actions
1letter d23690d
add changelog entry
1letter a463552
fix rst typo
1letter 6daf82c
remove migration part of PloneFormGen
1letter 33f1b94
enabe towncrier support via plone/meta
1letter 2955afa
add news folder
1letter ef83832
add MANIFEST rule
1letter 6630d3f
move news message to news fragment
1letter 183eb21
move deps to test section
1letter 1cf8ff9
run plone-codemod
1letter 3db7c52
fix towncrier message
1letter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # Generated from: | ||
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | ||
| # See the inline comments on how to expand/tweak this configuration file | ||
| # | ||
| # EditorConfig Configuration file, for more details see: | ||
| # http://EditorConfig.org | ||
| # EditorConfig is a convention description, that could be interpreted | ||
| # by multiple editors to enforce common coding conventions for specific | ||
| # file types | ||
|
|
||
| # top-most EditorConfig file: | ||
| # Will ignore other EditorConfig files in Home directory or upper tree level. | ||
| root = true | ||
|
|
||
|
|
||
| [*] | ||
| # Default settings for all files. | ||
| # Unix-style newlines with a newline ending every file | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
| # Set default charset | ||
| charset = utf-8 | ||
| # Indent style default | ||
| indent_style = space | ||
| # Max Line Length - a hard line wrap, should be disabled | ||
| max_line_length = off | ||
|
|
||
| [*.{py,cfg,ini}] | ||
| # 4 space indentation | ||
| indent_size = 4 | ||
|
|
||
| [*.{yml,zpt,pt,dtml,zcml,html,xml}] | ||
| # 2 space indentation | ||
| indent_size = 2 | ||
|
|
||
| [*.{json,jsonl,js,jsx,ts,tsx,css,less,scss}] | ||
| # Frontend development | ||
| # 2 space indentation | ||
| indent_size = 2 | ||
| max_line_length = 80 | ||
|
|
||
| [{Makefile,.gitmodules}] | ||
| # Tab indentation (no size specified, but view as 4 spaces) | ||
| indent_style = tab | ||
| indent_size = unset | ||
| tab_width = unset | ||
|
|
||
|
|
||
| ## | ||
| # Add extra configuration options in .meta.toml: | ||
| # [editorconfig] | ||
| # extra_lines = """ | ||
| # _your own configuration lines_ | ||
| # """ | ||
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Generated from: | ||
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | ||
| # See the inline comments on how to expand/tweak this configuration file | ||
| [flake8] | ||
| doctests = 1 | ||
| ignore = | ||
| # black takes care of line length | ||
| E501, | ||
| # black takes care of where to break lines | ||
| W503, | ||
| # black takes care of spaces within slicing (list[:]) | ||
| E203, | ||
| # black takes care of spaces after commas | ||
| E231, | ||
|
|
||
| ## | ||
| # Add extra configuration options in .meta.toml: | ||
| # [flake8] | ||
| # extra_lines = """ | ||
| # _your own configuration lines_ | ||
| # """ | ||
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Generated from: | ||
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | ||
| # See the inline comments on how to expand/tweak this configuration file | ||
| version: 2 | ||
| updates: | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| # Check for updates to GitHub Actions every week | ||
| interval: "weekly" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Generated from: | ||
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | ||
| # See the inline comments on how to expand/tweak this configuration file | ||
| name: Meta | ||
|
|
||
| on: | ||
| push: | ||
| workflow_dispatch: | ||
|
|
||
| ## | ||
| # To set environment variables for all jobs, add in .meta.toml: | ||
| # [github] | ||
| # env = """ | ||
| # debug: 1 | ||
| # image-name: 'org/image' | ||
| # image-tag: 'latest' | ||
| # """ | ||
| ## | ||
|
|
||
| jobs: | ||
| qa: | ||
| uses: plone/meta/.github/workflows/qa.yml@2.x | ||
| coverage: | ||
| uses: plone/meta/.github/workflows/coverage.yml@2.x | ||
| dependencies: | ||
| uses: plone/meta/.github/workflows/dependencies.yml@2.x | ||
| release_ready: | ||
| uses: plone/meta/.github/workflows/release_ready.yml@2.x | ||
| circular: | ||
| uses: plone/meta/.github/workflows/circular.yml@2.x | ||
|
|
||
| ## | ||
| # To modify the list of default jobs being created add in .meta.toml: | ||
| # [github] | ||
| # jobs = [ | ||
| # "qa", | ||
| # "coverage", | ||
| # "dependencies", | ||
| # "release_ready", | ||
| # "circular", | ||
| # ] | ||
| ## | ||
|
|
||
| ## | ||
| # To request that some OS level dependencies get installed | ||
| # when running tests/coverage jobs, add in .meta.toml: | ||
| # [github] | ||
| # os_dependencies = "git libxml2 libxslt" | ||
| ## | ||
|
|
||
|
|
||
| ## | ||
| # Specify additional jobs in .meta.toml: | ||
| # [github] | ||
| # extra_lines = """ | ||
| # another: | ||
| # uses: org/repo/.github/workflows/file.yml@main | ||
| # """ | ||
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # Generated from: | ||
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | ||
| # See the inline comments on how to expand/tweak this configuration file | ||
| name: Tests | ||
|
|
||
| on: | ||
| push: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| build: | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| strategy: | ||
| # We want to see all failures: | ||
| fail-fast: false | ||
| matrix: | ||
| os: | ||
| - ["ubuntu", "ubuntu-latest"] | ||
| config: | ||
| # [Python version, visual name, tox env] | ||
| - ["3.14", "6.2 on py3.14", "py314-plone62"] | ||
| - ["3.10", "6.2 on py3.10", "py310-plone62"] | ||
| - ["3.13", "6.1 on py3.13", "py313-plone61"] | ||
| - ["3.10", "6.1 on py3.10", "py310-plone61"] | ||
| - ["3.13", "6.0 on py3.13", "py313-plone60"] | ||
| - ["3.10", "6.0 on py3.10", "py310-plone60"] | ||
|
|
||
| runs-on: ${{ matrix.os[1] }} | ||
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
| name: ${{ matrix.config[1] }} | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Install uv + caching | ||
| uses: astral-sh/setup-uv@v8.0.0 | ||
| with: | ||
| enable-cache: true | ||
| cache-dependency-glob: | | ||
| setup.* | ||
| tox.ini | ||
| pyproject.toml | ||
| python-version: ${{ matrix.config[0] }} | ||
|
|
||
| ## | ||
| # Add extra configuration options in .meta.toml: | ||
| # [github] | ||
| # extra_lines_after_os_dependencies = """ | ||
| # _your own configuration lines_ | ||
| # """ | ||
| ## | ||
| - name: Initialize tox | ||
| # the bash one-liner below does not work on Windows | ||
| if: contains(matrix.os, 'ubuntu') | ||
| run: | | ||
| if [ `uvx tox list --no-desc -f init|wc -l` = 1 ]; then uvx --with tox-uv tox -e init;else true; fi | ||
| - name: Test | ||
| run: uvx --with tox-uv tox -e ${{ matrix.config[2] }} | ||
|
|
||
|
|
||
| ## | ||
| # Add extra configuration options in .meta.toml: | ||
| # [github] | ||
| # extra_lines = """ | ||
| # _your own configuration lines_ | ||
| # """ | ||
| ## |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,40 +1,59 @@ | ||
| *.egg | ||
| # Generated from: | ||
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | ||
| # See the inline comments on how to expand/tweak this configuration file | ||
| # python related | ||
| *.egg-info | ||
| *.graffle | ||
| *.kate-swp | ||
| *.mo | ||
| *.py? | ||
| *.pyc | ||
| *~ | ||
| ._* | ||
| .idea | ||
| *.swp | ||
| .DS_Store | ||
| *.pyo | ||
|
|
||
| # translation related | ||
| *.mo | ||
|
|
||
| # tools related | ||
| build/ | ||
| .coverage | ||
| .installed.cfg | ||
| .mr.developer.cfg | ||
| .Python | ||
| .python-version | ||
| .*project | ||
| coverage.xml | ||
| dist/ | ||
| docs/_build | ||
| __pycache__/ | ||
| .tox | ||
| .vscode/ | ||
| node_modules/ | ||
| forest.dot | ||
| forest.json | ||
|
|
||
| # venv / buildout related | ||
| bin/ | ||
| buildout-cache/ | ||
| build/ | ||
| collective/easyform/tests/*.tar.gz | ||
| develop-eggs/ | ||
| dist | ||
| docs/Makefile | ||
| docs/doctrees | ||
| docs/html | ||
| docs/make.bat | ||
| extras/ | ||
| htmlcov/ | ||
| eggs/ | ||
| .eggs/ | ||
| etc/ | ||
| .installed.cfg | ||
| include/ | ||
| /lib* | ||
| local/ | ||
| lib/ | ||
| lib64 | ||
| .mr.developer.cfg | ||
| parts/ | ||
| pip-selfcheck.json | ||
| share/ | ||
| var/ | ||
| pyvenv.cfg | ||
| var/ | ||
| local.cfg | ||
|
|
||
| # mxdev | ||
| /instance/ | ||
| /.make-sentinels/ | ||
| /*-mxdev.txt | ||
| /reports/ | ||
| /sources/ | ||
| /venv/ | ||
| /.vscode | ||
| local.cfg | ||
| .installed.txt | ||
|
|
||
| .mxdev_cache | ||
|
|
||
| ## | ||
| # Add extra configuration options in .meta.toml: | ||
| # [gitignore] | ||
| # extra_lines = """ | ||
| # _your own configuration lines_ | ||
| # """ | ||
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Generated from: | ||
| # https://github.com/plone/meta/tree/2.x/src/plone/meta/default | ||
| # See the inline comments on how to expand/tweak this configuration file | ||
| [meta] | ||
| template = "default" | ||
| commit-id = "2.8.0" | ||
|
|
||
| [pyproject] | ||
| codespell_ignores = "Ist" | ||
| dependencies_mappings = [ | ||
| "'beautifulsoup4' = ['bs4']", | ||
| ] | ||
| dependencies_ignores = "['zest.pocompile','zestreleaser.towncrier', 'zest.releaser', 'Products.Five','collective.z3cform.norobots','plone.formwidget.hcaptcha','plone.formwidget.recaptcha', 'Products.PloneFormGen']" | ||
|
|
||
| [gitignore] | ||
| extra_lines = """ | ||
| .mxdev_cache | ||
| """ | ||
|
|
||
| [tox] | ||
| # enable mxdev, while Product.validation==3.0.0 in Plone 6.1 | ||
| # see https://github.com/plone/buildout.coredev/issues/1086 | ||
| use_mxdev = true | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.