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

Compat with python2 #117

Merged
merged 4 commits into from
Aug 16, 2022
Merged

Compat with python2 #117

merged 4 commits into from
Aug 16, 2022

Commits on Aug 16, 2022

  1. journal: fix compatibility with python2

    This is a lazy workaround: 4c9a241
    is amended to do nothing on python2, so we have the same issue that
    was present before. This allows the code to execute, and hopefully
    almost nobody is using python2 code anyway.
    
    f868a56 is amended in the same way.
    For python2 code we have the same lack of timezone-awareness as before.
    
    This allows the tests to pass under python 2.7.
    keszybz committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    872ce30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba9d9f8 View commit details
    Browse the repository at this point in the history
  3. tests: simplify imports

    'import foo as _foo' is useful in exported modules to avoid 'foo' being
    present in the public API. No need to play that game in test code.
    keszybz committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    cc03ed6 View commit details
    Browse the repository at this point in the history
  4. NEWS: say that we'll drop support for python2 soon

    I think it's nicer to make one last release with the remaining code
    for python2 in place.
    keszybz committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    c5f8b88 View commit details
    Browse the repository at this point in the history