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

Fix issue 247, migration was always true. #250

Merged
merged 4 commits into from
Jan 8, 2025
Merged

Conversation

mauritsvanrees
Copy link
Member

Fixes issue #247.

Also a fix for 6.1. The boolean checkboxes in export_content were displayed in block:

Screenshot 2025-01-07 at 22 45 15

This is because some change in Barceloneta for 6.1 sets label input {display: block}. I guess this is fine in general, but not here.

Now they are displayed inline again:

Screenshot 2025-01-07 at 22 45 30

This works with all supported Python versions.
With previous 3.0.1 I get an error on `tox -e plone60-py311`:

```
Requires-Python support missing and could not be patched into zc.buildout.

Traceback (most recent call last):
  File "/Users/maurits/zest/irceline6/src/collective.exportimport/.tox/plone60-py311/lib/python3.11/site-packages/zc/buildout/patches.py", line 66, in patch_PackageIndex
    from pip._vendor import six
ImportError: cannot import name 'six' from 'pip._vendor' (/Users/maurits/zest/irceline6/src/collective.exportimport/.tox/plone60-py311/lib/python3.11/site-packages/pip/_vendor/__init__.py)
```

`zc.buildout` swallows and accepts the error, but as the error says: Requires-Python support is then missing, and we would like to have it.
Previous, you could uncheck this checkbox in `export_content`, but this was ignored.
This fixes #247.
The checkbox inputs were displayed in block instead of inline with the label.
@mauritsvanrees mauritsvanrees requested review from pbauer and yurj January 7, 2025 21:53
Copy link

@yurj yurj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok, thanks for the fix!

@pbauer pbauer merged commit a4e5351 into main Jan 8, 2025
10 checks passed
@mauritsvanrees mauritsvanrees deleted the maurits-migration-value branch January 8, 2025 08:31
@mauritsvanrees
Copy link
Member Author

@pbauer The last release was in March last year. If you are happy with the current state, could you make a release please?

@pbauer
Copy link
Member

pbauer commented Jan 8, 2025

@pbauer The last release was in March last year. If you are happy with the current state, could you make a release please?

Done

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.

3 participants