-
Notifications
You must be signed in to change notification settings - Fork 12
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] Python 3 support #51
Merged
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
9ef86b8
Start Python 3 porting
tomgross 01ad691
Test Python 3 on travis
tomgross eb485af
Adjust path of buildout script
tomgross 853e29e
More Py3 fixes
tomgross bad5608
text type fixes
tomgross 8d52b2e
Test Python 3 via tox.
2906058
Ensure to use the newest non-pinned versions.
39a705e
Colorize output.
1faaf31
Fix imports.
91c9d83
Merge branch 'master' into py3
gotcha 9dc0158
Let's not 3.5 until we got 3.6 working...
witsch 1091141
avoid version conflict for py36 on Travis
gotcha 9b9e1a3
Merge branch 'py3' of github.com:zopefoundation/Products.GenericSetup…
gotcha a5962e7
cache eggs on Travis
gotcha b52ae8e
revert change that broke python27 on Travis
gotcha 132acb2
Allow to pass arguments to the testrunner.
witsch 2bfac16
try to have buildout running under python36 on Travis
gotcha eb2c157
Pass explicit encoding (of "utf-8") when generating XML.
witsch a32024c
The value of the property will be (utf-8) encoded in Python 2.
witsch 49b419c
With eb2c1578 all test XML snippets will need to be encoded (to bytes).
witsch 1d95587
Let's use the latest beta KGS of Zope.
witsch 651e7a2
Put (all) source checkouts into the top-level directory.
witsch b213541
Adjust to 'lines' property now storing bytes.
witsch a1dd854
Refactor tests to work with both Python 2 & 3.
witsch f65a104
(Mostly) fix handling of tarballs.
witsch bf4e7f3
Provide bytes when writing to files.
witsch 9d04a80
get tests passing
davisagli ae3b4e7
Merge remote-tracking branch 'origin/master' into davisagli-py3
davisagli 3293530
fix merge
davisagli bdbd8ae
fixes from @tseaver feedback
davisagli 700ee09
Replace calls to filter(None, seq)by list comprehensions
davilima6 9aac94c
Fetch AccessControl from feature branch
davilima6 eb4dff1
do not use bytes for actions properties and report-filename in py3
pbauer 98f06b9
Temporarily allow Python 3 failures to assure Python 2 stays green. (…
0f131a7
Revert "do not use bytes for actions properties and report-filename i…
pbauer 6782252
fix report-generation
pbauer 81bba2a
Fix RuntimeError: dictionary changed size during iteration
ale-rt d280dc4
Merge pull request #59 from zopefoundation/davisagli-py3-extension-1
ale-rt 33abae2
- DateIndexes have a new property precision
dataflake ef6c7f9
- move Zope dependency to version 4.0b4 and get rid of all source che…
dataflake d6a12be
- Zope has dropped Python 3.4 compatibility, so it makes no sense here.
dataflake 93bc544
- update change log and setup.py compatibility identifier [ci-skip]
dataflake 6051b50
- downgrade Zope2 version - only Zope has a 4.0b4
dataflake ec7a77b
Merge branch 'master' into davisagli-py3
dataflake ab7f8b5
- change XML representation to fix last failing tests
dataflake bab3eea
- no longer allow failures in Python 3 tests
dataflake 6b873bb
- add a test for importing older-style XML
dataflake 3124f89
- drop ``Zope2`` egg dependency and use straight ``Zope`` instead
dataflake 009fab8
Zope2 is no more, long live Zope!
5018a9a
Prepare merge to default.
a7e074a
- add a test for importing ISO-8859-1-encoded properties
dataflake 7800f5c
- use the passed-in encoding for creating export XML instead of hard-…
dataflake c18b499
- respect XML-provided encoding instead of hard-coding UTF-8
dataflake 5f8ca74
- ZPublisher type_converters may use encoding that doesn't match our XML
dataflake 5f7a084
- last contortions to make CMFCore tests run
dataflake 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 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the default. I guess "explicit is better than implicit" blesses the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the other hand, we should probably leave it out of at least one of the tests to make sure that we stay backward-compatible with existing files that don't have it. I'll take it out of this one.