~cjwatson/storm/remove-py2

« back to all changes in this revision

Viewing changes to storm/schema/schema.py

  • Committer: Colin Watson
  • Date: 2024-03-04 10:59:55 UTC
  • Revision ID: cjwatson@ubuntu.com-20240304105955-bzu32rhxpjljnfvz
Remove Python 2 support.

We've offered several releases of overlap (Storm gained Python 3 support
in version 0.21, released on 2019-09-20).  There are no known users left
on Python 2, and if there were any then they'd probably need to pin old
versions of quite a few other dependencies anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
upgrade the schema over time.
44
44
"""
45
45
 
46
 
from __future__ import print_function
47
 
 
48
46
import types
49
47
 
50
48
from storm.locals import StormError