pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/py-music21
Module Name: pkgsrc
Committed By: gutteridge
Date: Sat Feb 22 01:19:00 UTC 2025
Modified Files:
pkgsrc/audio/py-music21: Makefile distinfo
Log Message:
py-music21: update to 9.5.0
Music21 v9.5 is a small bug-fix release that fixes a few hard to find bugs, takes advantage of updated dependencies, and adds a bit more typing in various places.
Fixes Introducing Tiny Incompatibilities
These incompatibilities have been removed from music21 in order to get correct typing. They were never documented nor promised to work, hence considering it okay with Semantic versioning.
interval.getWrittenLowerNote works on notes and pitches but both objects must be a Note or must be a Pitch. (This restriction guarantees that the type of object being returned as the lower one
will not vary based on attributes, and lets these functions be properly typed). By @mscuthbert in #1749 (started in 1747 by mistake) -- same is true for the parallel methods getWrittenHigherNote,
getAbsoluteHigherNote, and getAbsoluteLowerNote. Now your IDE/mypy etc. should know the type of object being returned by these poorly-named functions!
Removed the "ability" to do this: p = pitch.Pitch(pitch.Pitch('D')) to get a D. Never was documented before: Pitches now cannot take other pitch objects as arguments; this ability was just used
in the pre-typed past where we were mixing strings and Pitch objects interchangeably and was only used in music21 in one place (reduceChords.py). The newly created Pitch objects lost a lot of
information about harmonics, accidental display, etc. so this was a good catch. Contributed by first-time contributor @float3 in #1746
What's Changed
Fixed links to generated documentation by @jacobtylerwalls in #1741
Take advantage of Astroid 1015 bug being fixed by @mscuthbert in #1745 -- many overloaded functions in music21 were very verbose with code that did not actually run in order to pass mypy with
Astroid bug no. 1015 (a tough bug!). Major contributions to fixing the bug were given by @jacobtylerwalls. Also better docs about why music21 has its own StrEnum package. Also 'highestTime' will
forever be equivalent to OffsetSpecial.AT_END -- if you know about this, it's great. Most will not care.
Added some typing to graph modules by @mscuthbert in PR1745 above.
Updated typing on tablature and intervals by @mscuthbert in #1747
Code of Conduct Clarify by @mscuthbert in #1748
Update interval Typing overloads by @mscuthbert in #1749
Fix a case where octave transposing instruments like piccolo or double bass imported from MusicXML could have incorrect octave information and bad enharmonic transposition (C#s becoming Dbs)
fixed by @gregchapman-dev in #1752 (this is unrelated to a question recently here and in StackOverflow about the difference between transposing by P8 and by 12 semitones (thanks to @vanderstel for
answering).)
Bug fix: corpora (including the built in core corpus) which were indexed using Python 3.13 could not be read on other systems (like Mac to Linux); a pathlib.Path was being stored in the corpus
accidentally. Fixed by @mscuthbert in #1754
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/audio/py-music21/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/audio/py-music21/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/py-music21/Makefile
diff -u pkgsrc/audio/py-music21/Makefile:1.31 pkgsrc/audio/py-music21/Makefile:1.32
--- pkgsrc/audio/py-music21/Makefile:1.31 Thu Nov 7 22:49:07 2024
+++ pkgsrc/audio/py-music21/Makefile Sat Feb 22 01:19:00 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2024/11/07 22:49:07 gutteridge Exp $
+# $NetBSD: Makefile,v 1.32 2025/02/22 01:19:00 gutteridge Exp $
-DISTNAME= music21-noCorpus-9.3.0
+DISTNAME= music21-noCorpus-9.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-noCorpus//}
CATEGORIES= audio python
MASTER_SITES= ${MASTER_SITE_GITHUB:=cuthbertLab/}
Index: pkgsrc/audio/py-music21/distinfo
diff -u pkgsrc/audio/py-music21/distinfo:1.16 pkgsrc/audio/py-music21/distinfo:1.17
--- pkgsrc/audio/py-music21/distinfo:1.16 Thu Nov 7 22:49:07 2024
+++ pkgsrc/audio/py-music21/distinfo Sat Feb 22 01:19:00 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2024/11/07 22:49:07 gutteridge Exp $
+$NetBSD: distinfo,v 1.17 2025/02/22 01:19:00 gutteridge Exp $
-BLAKE2s (music21-noCorpus-9.3.0.tar.gz) = 86bdbacd2978b68b97337106f32073edfa59896d7aa027045b807fb95183bad5
-SHA512 (music21-noCorpus-9.3.0.tar.gz) = 08af47faab9d3e9fbe6725335811930915ebc7db0d29759556b434bcafb037b24cb733df23e565185cd7a32a6b76e5114c553e43c872d6c071ff4e0a2d402775
-Size (music21-noCorpus-9.3.0.tar.gz) = 5137756 bytes
+BLAKE2s (music21-noCorpus-9.5.0.tar.gz) = 488976cbd6956e54080b0715a438c4cc1a6b19400915d8a9260811e00921f31a
+SHA512 (music21-noCorpus-9.5.0.tar.gz) = 03138cb89d588f1fb69380f64603b1b773e4fade7adb8c539f18192b3186093e9873bdf89f579a33238e276d7ce0fb08d23f6d0f8a2a2c18f87249db3186afcf
+Size (music21-noCorpus-9.5.0.tar.gz) = 5139123 bytes
Home |
Main Index |
Thread Index |
Old Index