New Tumbleweed snapshot 20211021 released!
Please note that this mail was generated by a script.
The described changes are computed based on the x86_64 DVD.
The full online repo contains too many changes to be listed here.
Please check the known defects of this snapshot before upgrading:
https://openqa.opensuse.org/tests/overview?distri=opensuse&groupid=1&version=Tumbleweed&build=20211021
Please do not reply to this email to report issues, rather file a bug
on bugzilla.opensuse.org. For more information on filing bugs please
see https://en.opensuse.org/openSUSE:Submitting_bug_reports
Packages changed:
ImageMagick (7.1.0.9 -> 7.1.0.10)
MozillaFirefox
at
audit-secondary
avahi
avahi-glib2
dracut (055+suse.119.g6c4187af -> 055+suse.129.g7d8c3ce3)
e2fsprogs
fwupd
gdm
gnome-clocks (40.0 -> 41.0)
gnome-online-accounts (3.40.0 -> 3.40.1)
gpm
gpsd
inotify-tools (3.21.9.5 -> 3.21.9.6)
inxi (3.3.03 -> 3.3.07)
iso-codes (4.6.0 -> 4.7.0)
jack (1.9.18 -> 1.9.19)
jfsutils
kbd
libHX (4.1 -> 4.2)
libaom (3.1.3 -> 3.2.0)
libcdio
libdlm (4.0.9 -> 4.1.0)
libgphoto2
libqt5-qttranslations (5.15.2+kde20 -> 5.15.2+kde22)
librsvg (2.52.1 -> 2.52.2)
libsamplerate (0.2.1 -> 0.2.2)
libyui (4.2.17 -> 4.2.19)
libyui-ncurses (4.2.17 -> 4.2.19)
libyui-ncurses-pkg (4.2.17 -> 4.2.19)
libyui-qt (4.2.17 -> 4.2.19)
libyui-qt-graph (4.2.17 -> 4.2.19)
libyui-qt-pkg (4.2.17 -> 4.2.19)
libzypp (17.28.5 -> 17.28.6)
lightdm
mc (4.8.26 -> 4.8.27)
mpg123 (1.29.0 -> 1.29.1)
perl-Crypt-OpenSSL-RSA (0.31 -> 0.32)
plasma5-openSUSE
python-Jinja2 (3.0.1 -> 3.0.2)
python-alembic (1.6.5 -> 1.7.4)
python-apipkg (1.5 -> 2.1.0)
python-cachetools (4.2.2 -> 4.2.4)
python-click (8.0.1 -> 8.0.3)
python-decorator (5.0.9 -> 5.1.0)
python-distro
python-ecdsa (0.16.1 -> 0.17.0)
python-greenlet (1.1.0 -> 1.1.2)
python-idna (3.2 -> 3.3)
python-more-itertools (8.8.0 -> 8.10.0)
python-outcome (1.0.1 -> 1.1.0)
python-pycryptodome (3.10.1 -> 3.11.0)
python-pytz (2021.1 -> 2021.3)
python-qt5 (5.15.4 -> 5.15.5)
python-urwid
python-zipp (3.5.0 -> 3.6.0)
python-zope.hookable (5.0.1 -> 5.1.0)
python-zope.i18nmessageid
python-zope.interface
qemu
rsyslog (8.2106.0 -> 8.2108.0)
systemd (249.4 -> 249.5)
thai-fonts (0.7.2 -> 0.7.3)
timezone (2021c -> 2021d)
timezone-java (2021c -> 2021d)
tlp
vmaf (2.2.0 -> 2.3.0)
wireless-regdb (20210421 -> 20210828)
xkeyboard-config (2.33 -> 2.34)
yast2-pkg-bindings (4.4.2 -> 4.4.3)
yast2-users (4.4.6 -> 4.4.7)
zypper (1.14.49 -> 1.14.50)
=== Details ===
==== ImageMagick ====
Version update (7.1.0.9 -> 7.1.0.10)
Subpackages: ImageMagick-config-7-SUSE ImageMagick-extra libMagickCore-7_Q16HDRI10 libMagickWand-7_Q16HDRI10
- update to 7.1.0.10:
* improved algorithm for automatic calculation of pointsize for caption and
labels.
* support -auto-orient option in the identify utlity.
==== MozillaFirefox ====
Subpackages: MozillaFirefox-translations-common
- Add patch to fix build on aarch64 - bmo#1729124
* mozilla-bmo1729124.patch
==== at ====
- Added hardening to systemd service(s). Added patch(es):
* harden_atd.service.patch
Modified:
* atd.service
==== audit-secondary ====
Subpackages: audit python3-audit system-group-audit
- Add CONFIG parameter to %sysusers_generate_pre
- Create separate service for augenrules (bsc#1191614, bsc#1181400)
* add create-augenrules-service.patch
Remove ReadWritePaths=/etc/audit from auditd.service, also removes
augenrules call from ExecStartPost.
Create augenrules.service with the ReadWritePaths directive above.
This makes /etc/audit only accessible by augenrules.service and
let auditd.service (and daemon) to be sandboxed again.
- Update audit-secondary.spec to accomodate the new service file.
==== avahi ====
Subpackages: avahi-lang libavahi-client3 libavahi-client3-32bit libavahi-common3 libavahi-common3-32bit libavahi-core7
- Add rpmlintrc: Filter shlib-policy-name-error for libdns_sd
(boo#1191750).
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
==== avahi-glib2 ====
Subpackages: libavahi-glib1 libavahi-gobject0 libavahi-ui-gtk3-0
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
==== dracut ====
Version update (055+suse.119.g6c4187af -> 055+suse.129.g7d8c3ce3)
Subpackages: dracut-mkinitrd-deprecated
- Update to version 055+suse.129.g7d8c3ce3:
* fix(kernel-modules): add blk_mq_alloc_disk and blk_cleanup_disk to blockfuncs (bsc#1190326)
* docs: update SUSE maintainers doc
* fix(suse): add 60-io-scheduler.rules (bsc#1188713)
* revert: remove /sbin/installkernel script from dracut package
* spec: modernize specfile constructs
==== e2fsprogs ====
Subpackages: e2fsprogs-scrub libcom_err2 libcom_err2-32bit libext2fs2
- Drop ProtectClock hardening, can cause issues if other device acceess is needed
==== fwupd ====
Subpackages: fwupd-lang libfwupd2 libfwupdplugin2 typelib-1_0-Fwupd-2_0
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
* harden_fwupd-offline-update.service.patch
* harden_fwupd-refresh.service.patch
==== gdm ====
Subpackages: gdm-lang gdmflexiserver libgdm1 typelib-1_0-Gdm-1_0
- Add gdm-daemon-Infer-session-type-from-desktop-file.patch
(bsc#1191809, bsc#1191248)
- Rebase gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch
(bsc#1191014).
==== gnome-clocks ====
Version update (40.0 -> 41.0)
Subpackages: gnome-clocks-lang gnome-shell-search-provider-gnome-clocks
- Update to version 41.0:
+ Updated translations.
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
==== gnome-online-accounts ====
Version update (3.40.0 -> 3.40.1)
Subpackages: gnome-online-accounts-lang libgoa-1_0-0 libgoa-backend-1_0-1 typelib-1_0-Goa-1_0
- Update to version 3.40.1:
+ Bugs fixed: glgo#GNOME/gnome-online-accounts!68 dbus: Add
missing since tag for IsSupportedProvider.
+ Updated translations.
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
==== gpm ====
Subpackages: libgpm2
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* gpm.service
==== gpsd ====
- Re-enable LTO on aarch64
==== inotify-tools ====
Version update (3.21.9.5 -> 3.21.9.6)
Subpackages: libinotifytools0
- update to 3.21.9.6:
* update path for includes in stats.h
* Fix spellings in manpages
==== inxi ====
Version update (3.3.03 -> 3.3.07)
- update to 3.3.07:
* /usr/share/doc/packages/inxi/inxi.changelog.
==== iso-codes ====
Version update (4.6.0 -> 4.7.0)
Subpackages: iso-codes-lang
- update to 4.7.0:
* Fix weblate check: Remove double spaces
* Rename ku.po to kmr.po.
* Add common names for South and North Korea.
* Updates for Indonesia
* ISO 3166-1 translations
* ISO 3166-2 translations
* ISO 3166-3 translations
* ISO 639-2 translations
* ISO 639-3 translations
* ISO 639-5 translations
* ISO 4217 translations
* ISO 15924 translations
==== jack ====
Version update (1.9.18 -> 1.9.19)
Subpackages: libjack-devel libjack0 libjacknet0 libjackserver0
- drop 0001-Fix-compilation-of-documentation.patch (upstream).
- update to 1.9.19:
* Add jack_position_t::tick_double, and flags around it
* Add zalsa "-w" argument to wait for soundcard to be available
* Bump internal protocol version to 9 (due to struct alignment)
* Fix alignment of fields for atomic accesses
* Fix build for platforms needing __STDC_FORMAT_MACROS
* Fix compilation of documentation
==== jfsutils ====
- UsrMerge: don't override _sbindir (bsc#1191065)
==== kbd ====
Subpackages: kbd-legacy
- regenerated cz-map.patch needed for xkeyboard-config 2.34 update
==== libHX ====
Version update (4.1 -> 4.2)
Subpackages: libHX32 libHX32-32bit
- Update to release 4.2
* string: New functions ``HX_strtod_unit``, ``HX_strtoull_unit``,
``HX_unit_size``, ``HX_unit_size_cu`` for converting between
sizes and human-readable sizes like 1457664 <-> "1.45M"/"1.39M".
==== libaom ====
Version update (3.1.3 -> 3.2.0)
- Update to version 3.2.0:
* This release includes compression efficiency and perceptual
quality improvements, speedup and memory optimizations, as well
as some new features.
* New Features:
+ Introduced speeds 7, 8, and 9 for all intra mode.
+ Introduced speed 10 for real time mode.
+ Introduced an API that allows external partition decisions.
+ SVC: added support for compound prediction.
+ SVC: added support for fixed SVC modes.
* Compression Efficiency Improvements:
+ Intra-mode search improvement.
+ Improved real time (RT) mode BDrate savings by ~5% (RT speed
5) and ~12% (RT speed 6). The improvement was measured on the
video conference set.
+ Improved real time mode for nonrd path (speed 7, 8, 9):
BDrate gains of ~3-5%.
+ Rate control and RD adjustments based on ML research in VP9.
Gains of ~0.5-1.0% for HD.
* Perceptual Quality Improvements:
+ Added a new mode --deltaq-mode=3 to improve perceptual
quality based on a differential contrast model for still
images.
+ Added a new mode ?deltaq-mode=4 to improve perceptual quality
based on user rated cq_level data set for still images.
+ Weighting of some intra mode and partition size choices to
better manage and retain texture.
* Speedup and Memory Optimizations:
+ Further improved 2-pass good quality encoder speed:
. Speed 2 speedup: 18%
. Speed 3 speedup: 22%
. Speed 4 speedup: 37%
. Speed 5 speedup: 30%
. Speed 6 speedup: 20%
+ Optimized the real time encoder (measured on the video
conference set):
. RT speed 5 speedup: 110%
. RT speed 6 speedup: 77%
* Bug Fixes
+ Issue 3069: Fix one-pass mode keyframe placement off-by-one
error.
+ Issue 3156: Fix a bug in av1_quantize_lp AVX2 optimization.
- Drop libaom-CVE-2021-30475.patch: Fixed upstream.
- Remove changesgenerate option from _service file, use data from
CHANGELOG to fill .changes instead as it it much nicer and human
readable than just a list of commit messages.
==== libcdio ====
Subpackages: libcdio19 libiso9660-11
- Bump cdiopp_name libcdio++0 to libcdio++1, this was missed when
it was bumped by upstream. Followup change in baselibs.conf to.
- Split out new subpackage libiso9660++0, add needed Requires and
entry in baselibs.conf.
==== libdlm ====
Version update (4.0.9 -> 4.1.0)
Subpackages: libdlm3
- Update to v4.1.0+ (bsc#1191734)
* include some fixes/enhancements upstream patches based on 4.1.0 tag
+ bug-1191734_0001-libdlm-add-stdint.h-to-api-header.patch
+ bug-1191734_0002-dlm_controld-create-var-parent-directories.patch
+ bug-1191734_0003-stonith_helper-fix-build.patch
+ bug-1191734_0004-plock-move-clear-waiter-to-debug-info.patch
+ bug-1191734_0005-treewide-try-to-resolve-symbols-at-linking-time.patch
+ bug-1191734_0006-dlm_controld-add-version-check-for-libquorum.patch
+ bug-1191734_0007-dlm_tool-man-add-command-joinleave-USAGE.patch
+ bug-1191734_0008-man-add-reload_config-in-dlm_tool-dlm.conf.patch
+ bug-1191734_0009-add-new-dlm_tool-command-reload_config.patch
+ bug-1191734_0010-dlm_tool-man-add-new-command-set_config.patch
+ bug-1191734_0011-dlm_tool-dlm_controld-add-new-feature-set_config.patch
+ bug-1191734_0012-fix-some-minor-bugs.patch
+ bug-1191734_0013-dlm_controld-fix-string-copies.patch
+ bug-1191734_0014-man-page-updates.patch
* patch for compatible with corosync-2.4.5+
+ bug-1191734_0015-Revert-dlm_controld-add-version-check-for-libquorum.patch
+ bug-1191734_0016-Revert-dlm_controld-use-new-quorum-api-to-detect-mis.patch
* drop 2 patches which are already included in upstream code
- cluster-ringid-seq.patch
- sysmacros.patch
* change name and modify patch for code changed
- dlm_controld-add-note-that-the-dlm-file-is-not-creat.patch
+ 0004-man-dlm.conf-add-note-that-the-file-is-not-creat.patch
* change libdlm.spec to seperate upsteam patch and suse special patch
==== libgphoto2 ====
Subpackages: libgphoto2-6 libgphoto2-6-lang
- split out libgphoto2_port for now to meet new shared library policy
requirements. bsc#1191764
==== libqt5-qttranslations ====
Version update (5.15.2+kde20 -> 5.15.2+kde22)
- Update to version 5.15.2+kde22:
* fix pt_BR meta catalog
* rename (outdated) qt_pt.ts => qt_pt_PT.ts
==== librsvg ====
Version update (2.52.1 -> 2.52.2)
Subpackages: gdk-pixbuf-loader-rsvg librsvg-2-2 rsvg-thumbnailer typelib-1_0-Rsvg-2_0
- Update to version 2.52.2:
+ New features:
- rsvg-convert now supports generating multi-page PDFs in a
sensible way.
- With one SVG document per page, each page with the SVG's
natural size:
- rsvg-convert --format=pdf -o out.pdf a.svg b.svg c.svg
- With all pages sized as portrait US Letter, and each SVG
scaled to fit so that there is a 1in margin around each page:
rsvg-convert --format=pdf -o out.pdf \
- -page-width=8.5in --page-height=11in \
- -width=6.5in --height=8.5in --keep-aspect-ratio \
- -top=1in --left=1in a.svg b.svg c.svg
Please see the man page for details.
- Support <a> elements inside <text>. Also, support the CSS
:link pseudo-class for matching against links.
- Support the CSS :lang() pseudo-class for matching against an
element's xml:lang attribute.
- Support the mask-type property from SVG2.
+ Bugs fixed:
- Don't panic when a shorthand property is set to inherit.
- Fix regression with the viewport size of interior <svg>
elements.
- Allow length units to be case-insensitive, per SVG2.
+ Documentation:
- There is now a FEATURES.md in the repository, where you can
see all the elements, attributes, and properties that librsvg
supports. We will be adding detail to this gradually.
- For developers, there is now devel-docs/adding-a-property.md
with a tutorial on how to add support for new CSS properties.
==== libsamplerate ====
Version update (0.2.1 -> 0.2.2)
- update to 0.2.2:
* Fix CMake overlinking for examples (#146)
* Switch to GCC's visibility for hiding more implementation details
* Check GNU ld instead of gcc for exported symbols control logic in configure.ac
* Disable static builds using Autotools by default.
* ABI version incompatibility between Autotools and CMake build on Apple platforms.
* Fixes and improvements for CMake build system.
* Fixes and improvements for Autotools build system.
* Switch to .xz over .bz2 for release tarballs.
* Minor bug fixes and updates.
==== libyui ====
Version update (4.2.17 -> 4.2.19)
- Fixed crash in NCurses online update when retracted packages
are present (bsc#1191130)
- 4.2.19
- Add debug_label as filter and improve error handling (bsc#1174390)
- 4.2.18
==== libyui-ncurses ====
Version update (4.2.17 -> 4.2.19)
- Fixed crash in NCurses online update when retracted packages
are present (bsc#1191130)
- 4.2.19
- Add debug_label as filter and improve error handling (bsc#1174390)
- 4.2.18
==== libyui-ncurses-pkg ====
Version update (4.2.17 -> 4.2.19)
- Fixed crash in NCurses online update when retracted packages
are present (bsc#1191130)
- 4.2.19
- Add debug_label as filter and improve error handling (bsc#1174390)
- 4.2.18
==== libyui-qt ====
Version update (4.2.17 -> 4.2.19)
- Fixed crash in NCurses online update when retracted packages
are present (bsc#1191130)
- 4.2.19
- Add debug_label as filter and improve error handling (bsc#1174390)
- 4.2.18
==== libyui-qt-graph ====
Version update (4.2.17 -> 4.2.19)
- Fixed crash in NCurses online update when retracted packages
are present (bsc#1191130)
- 4.2.19
- Add debug_label as filter and improve error handling (bsc#1174390)
- 4.2.18
==== libyui-qt-pkg ====
Version update (4.2.17 -> 4.2.19)
- Fixed crash in NCurses online update when retracted packages
are present (bsc#1191130)
- 4.2.19
- Add debug_label as filter and improve error handling (bsc#1174390)
- 4.2.18
==== libzypp ====
Version update (17.28.5 -> 17.28.6)
- Zypper should keep cached files if transaction is aborted
(bsc#1190356)
Singletrans mode currently does not keep files around if the
transaction is aborted. This patch fixes the problem.
- Require a minimum number of mirrors for multicurl (bsc#1191609)
- Use procfs to detect nr of open fd's if rlimit is too high
(bsc#1191324)
Especially in a VM iterating over all possible fd's to close open
ones right before a exec() slows down zypper unnecessarily. This
patch uses /proc/self/fd to iterate over open fd's in case rlimit
is above 1024.
- po: Fix some lost '%' signs in positional args (bsc#1191370)
- RepoManager: Don't probe for plaindir repo if URL schema is
plugin: (bsc#1191286)
- version 17.28.6 (22)
==== lightdm ====
Subpackages: liblightdm-gobject-1-0 lightdm-lang
- Replace /usr/etc to /etc for products if suse_version < 1550
(bsc#1190289)
==== mc ====
Version update (4.8.26 -> 4.8.27)
Subpackages: mc-lang
- Midnight Commander 4.8.27:
* Core
- Minimal version of Autoconf is 2.64 (#3603)
- Minimal version of Automake is 1.12 (#3986)
- Minimal version of Gettext is 0.18.2 (#3603)
- Minimal version of libssh2 is 1.2.8 (#4259)
- Reimplement version detection (#3603, #4249)
- Significantly reduce rebuilt time after version change (#2252, #4266)
- Drop automatic migration of configuration from ~/.mc to XDG-based directories (#3682)
- zsh: support custom configuration file: ~/.local/share/mc/.zshrc (#4203)
- Widgets: implement WST_VISIBLE state to show/hide widgets (#2919)
- Find File: add Follow symlinks option (#2020)
* VFS
- extfs: support unrar-6 (#4154)
- extfs: support official 7z binary (7zz) (#4239)
- ftpfs: apply file list parser from lftp project (#2841, #3174)
* Editor
- Word completion: get candidates from all open files (#4160)
- etags: get rid of hardcoded list length and window width (#4132)
- Update syntax files:
- python (#4140)
- Add syntax highlighting:
- Verilog and SystemVerilog? header files (#4215)
- JSON (#4250)
- openrc-run scripts (#4246)
* Viewer
* Diff viewer
* Misc
- Code clean up (#4179, #4173, #4269)
- Filehighlight of c++ and h++ files as sources (#4194)
- Filehighlight of JSON files as documents (#4250)
- Support of alacritty terminal emulator (?https://github.com/alacritty/alacritty) (#4248)
- Support of foot terminal emulator (?https://codeberg.org/dnkl/foot) (#4251)
- Support of (alt+)shift+arrow keys in st terminal emulator (st.suckless.org) (#4267)
- Mouse support in screen: don't check variable (#4233)
- mc.ext: support fb2 e-books (#4167)
- ext.d: use mediainfo to view info about various media files (#4167)
- Remove OS/distro-specific package-related stuff from source tree (#4217)
* Fixes
- FTBFS against NCurses on OS X 10.9.5 (#4181)
- Segfault on dialog before panels get visible (#4244)
- Crash if shadow is out of screen (build against NCurses) (#4192)
- Crash in search (#4222)
- Crash on startup with enabled subshell in FreeBSD (workaround) (#4213)
- Hang on start randomly with zsh as subshell (#4198)
- If command line is invisible it's partially displayed (#4182)
- Broken handling of zip archives (#4180, #4183)
- Broken handling of jar files as zip archives (#4223)
- Timestamps of symlinks, sockets, fifos, etc are not preserved after copy/move (#3985)
- %view action in the user menu doesn't work on no-exec filesystem (#4242)
- Hardlinks are not colored by file type or extension (#3375)
- mcedit: silent macro makes terminal disrupted (#4171)
- mcedit: disrupting of TAGS file path (#4207)
- vfs: unable to browse compressed tar archives (#4191)
- sftpfs vfs: CVE-2021-36370: server fingerprint isn't verified
(discovered by AUT-milCERT during an audit of open source software) (#4259)
- ftpfs vfs: month of file is always January (#4260)
- Tests: log files are written by libcheck and automake simultaneously (#3986)
- Rebase mc-ext-audio.patch.
- Rebase mc-extd-sound.patch.
==== mpg123 ====
Version update (1.29.0 -> 1.29.1)
Subpackages: libmpg123-0 mpg123-openal
- Update to version 1.29.1
mpg123:
* Keep default output encoding of s16 for raw and file outputs
also with the new resampler. This reverts the unintentional
change in 1.26.0 of switching to f32 for forced output rate
unless the NtoM resampler is selected. In any case, you
should make sure to specify your desired --encoding if you
depend on it.
* Catch error in indexing (mpg123_scan() return value was
ignored before, bug 322).
mpg123-strip:
* Lift the resync limit, as it should be to clean up really
dirty streams.
mpg123-id3dump:
* Also lift resync limit for the same reasons.
libout123:
* Fix reporting of device property flags for buffer
libmpg123:
* More safeguarding against attempts to decode if decoder
setup failed and user ignored the returned error code (bug
322)
==== perl-Crypt-OpenSSL-RSA ====
Version update (0.31 -> 0.32)
- updated to 0.32
see /usr/share/doc/packages/perl-Crypt-OpenSSL-RSA/Changes
0.32 Wed Sep 8 2021
- Prefix internal bn2sv function so it doesn't collide with Net::SSLeay
- Ensure that verify() leaves openssl error stack clean on failure
- Fixed broken SEE ALSO links.
- prevent outer $SIG{__DIE__} handler from being called during optional require.
- omit done_testing since it does not work for older perl versions
* Rebase Crypt-OpenSSL-RSA.patch
==== plasma5-openSUSE ====
Subpackages: plasma5-defaults-openSUSE plasma5-theme-openSUSE plasma5-workspace-branding-openSUSE sddm-theme-openSUSE
- Update to 5.23.1
==== python-Jinja2 ====
Version update (3.0.1 -> 3.0.2)
- dropped obsolete no-warnings-as-errors.patch
- update to 3.0.2
* Fix a loop scoping bug that caused assignments in nested loops to still
be referenced outside of it. #1427
* Make compile_templates deterministic for filter and import names. #1452, #1453
* Revert an unintended change that caused Undefined to act like
StrictUndefined for the in operator. #1448
* Imported macros have access to the current template globals in async
environments. #1494
* PackageLoader will not include a current directory (.) path segment.
This allows loading templates from the root of a zip import. #1467
==== python-alembic ====
Version update (1.6.5 -> 1.7.4)
- update to 1.7.4:
* Fixed a regression that prevented the use of post write hooks on python
version lower than 3.9
* Added missing attributes from context stubs.
* Fixed issue where registration of custom ops was prone to failure due to
the registration process running exec() on generated code that as of the
1.7 series includes pep-484 annotations, which in the case of end user code
would result in name resolution errors when the exec occurs
- specfile:
* skip python 2 builds
* require importlib-resources
- update to version 1.7.1:
* Corrected "universal wheel" directive in setup.cfg so that
building a wheel does not target Python 2. The PyPi files index
for 1.7.0 was corrected manually. Pull request courtesy layday.
* Fixed issue in generated .pyi files where default values for
"Optional" arguments were missing, thereby causing mypy to
consider them as required.
* Fixed regression in batch mode due to :ticket:`883` where the
"auto" mode of batch would fail to accommodate any additional
migration directives beyond encountering an "add_column()"
directive, due to a mis-application of the conditional logic that
was added as part of this change, leading to "recreate" mode not
being used in cases where it is required for SQLite such as for
unique constraints.
- changes from version 1.7.0:
* Fixed regression due to :ticket:`803` where the ".info" and
".comment" attributes of "Table" would be lost inside of the
:class:`.DropTableOp` class, which when "reversed" into a
:class:`.CreateTableOp` would then have lost these elements. Pull
request courtesy Nicolas CANIART.
* Enhance "version_locations" parsing to handle paths containing
spaces. The new configuration option "version_path_separator"
specifies the character to use when splitting the
"version_locations" string. The default for new configurations is
"version_path_separator = os", which will use "os.pathsep" (e.g.,
";" on Windows).
* Alembic 1.7 now supports Python 3.6 and above; support for prior
versions including Python 2.7 has been dropped.
* Batch "auto" mode will now select for "recreate" if the
"add_column()" operation is used on SQLite, and the column itself
meets the criteria for SQLite where ADD COLUMN is not allowed, in
this case a functional or parenthesized SQL expression or a
"Computed" (i.e. generated) column.
* Make the "python-dateutil" library an optional dependency. This
library is only required if the "timezone" option is used in the
Alembic configuration. An extra require named "tz" is available
with "pip install alembic[tz]" to install it.
* Re-implemented the "python-editor" dependency as a small internal
function to avoid the need for external dependencies.
* Named CHECK constraints are now supported by batch mode, and will
automatically be part of the recreated table assuming they are
named. They also can be explicitly dropped using
"op.drop_constraint()". For "unnamed" CHECK constraints, these are
still skipped as they cannot be distinguished from the CHECK
constraints that are generated by the "Boolean" and "Enum"
datatypes. Note that this change may require adjustments to
migrations that drop or rename columns which feature an associated
named check constraint, such that an additional
"op.drop_constraint()" directive should be added for that named
constraint as there will no longer be an associated column for it;
for the "Boolean" and "Enum" datatypes, an "existing_type" keyword
may be passed to "BatchOperations.drop_constraint" as well.
* The dependency on "pkg_resources" which is part of "setuptools"
has been removed, so there is no longer any runtime dependency on
"setuptools". The functionality has been replaced with
"importlib.metadata" and "importlib.resources" which are both part
of Python std.lib, or via pypy dependency "importlib-metadata" for
Python version < 3.8 and "importlib-resources" for Python version
< 3.9 (while importlib.resources was added to Python in 3.7, it
did not include the "files" API until 3.9).
* Created a "test suite" similar to the one for SQLAlchemy, allowing
developers of third-party dialects to test their code against a
set of Alembic tests that have been specially selected to exercise
back-end database operations. At the time of release, third-party
dialects that have adopted the Alembic test suite to verify
compatibility include `CockroachDB
participants (1)
-
Dominique Leuenberger