Update debian files
authorBen Steffen <bds@mit.edu>
Tue, 26 Nov 2019 22:23:10 +0000 (17:23 -0500)
committerBen Steffen <bds@mit.edu>
Tue, 26 Nov 2019 22:23:10 +0000 (17:23 -0500)
debian/changelog
debian/control
debian/rules

index 2c600a4..7a848c5 100644 (file)
@@ -1,3 +1,35 @@
+invirt-base (0.0.38) precise; urgency=medium
+
+  * Move to Python 3
+
+  * invirt-mako-renderer just allows regular file exceptions to come from open()ing a nonexistent file instead of raising SystemExit()
+
+  * Remove struct class
+    - struct is supposed to also function as a dict, which can break with unfortunate key names
+      - e.g. Key named 'items' would cause dict.items() to fail for not obvious reasons
+
+  * Renamed many things
+    - expandOwner -> expand_owner
+    - expandAdmin -> expand_admin
+    - captureOutput -> null
+      - subprocess.run provides nearly exactly this interface now
+    - lock_file -> open_locked
+    - checkKinit -> check_kinit
+
+    - src_path -> SRC_PATH
+    - src_dirpath -> SRC_DIRPATH
+    - cache_path -> CACHE_PATH
+    - lock_path -> LOCK_PATH
+
+    - dicts -> null
+    - structs -> null
+    - null -> config
+      - Don't use struct class, just use a regular dict
+
+    - InvirtException -> PathResolutionException
+
+ -- Ben Steffen <bds@mit.edu>  Tue, 26 Nov 2019 17:04:42 -0500
+
 invirt-base (0.0.37) precise; urgency=low
 
   * Updating to reasonable version.
index aae6eb9..d857276 100644 (file)
@@ -2,14 +2,14 @@ Source: invirt-base
 Section: base
 Priority: extra
 Maintainer: Invirt project <invirt@mit.edu>
-Build-Depends: debhelper (>= 7), python-all-dev, python-setuptools, python-debian, python-apt
+Build-Depends: debhelper (>= 7), python3-all-dev, python3-setuptools, python3-debian, python3-apt
 Standards-Version: 3.9.3
 
 Package: invirt-base
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends},
-  python-yaml (>= 3.05), python-mako (>= 0.2.2), python-pkg-resources,
-  remctl-client, invirt-config
+  python-yaml (>= 3.12), python-mako (>= 1.0.7), python-pkg-resources,
+  remctl-client, invirt-config, python3 (>= 3.6.5)
 Provides: ${python:Provides}
 Description: Base configuration required for all Invirt servers
  This package includes common files for the Invirt system.
index d76ac91..ff02218 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-       dh $@ --with python2
+       dh $@ --with python3
 
 override_dh_install:
        dh_install