The NetBSD Project

CVS log for pkgsrc/lang/python37/Attic/Makefile

[BACK] Up to [] / pkgsrc / lang / python37

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.38, Sun Jul 30 14:41:06 2023 UTC (4 months ago) by adam
Branch: MAIN
Changes since 1.37: +1 -1 lines

python37, py37-html-docs: removed; end of life; use Python 3.8, 3.9, 3.10 or 3.11

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jun 27 10:35:30 2023 UTC (5 months ago) by riastradh
Branch: MAIN
Changes since 1.36: +3 -12 lines
Diff to previous 1.36 (colored)

python: Override sys.platform with PY_PLATNAME when cross-compiling.

For this purpose, factor the PY_PLATNAME definition out into a new
lang/pythonNN/ file.  It's not the same for 2.x and 3.x;
perhaps we could factor it out further into a single 2.x vs 3.x
conditional but this is a more mechanical change that makes it easier
to audit for now.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 29 20:37:48 2022 UTC (16 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

python37: Skip __pycache__ files seen in macOS build too.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 25 10:04:35 2022 UTC (16 months ago) by jperkin
Branch: MAIN
Changes since 1.34: +5 -1 lines
Diff to previous 1.34 (colored)

python37: Skip wrkrefs exposed by pkg-config change.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 19 18:55:44 2022 UTC (20 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 (colored)

python37 py37-html-docs: updated to 3.7.13

Python 3.7.13 final


bpo-46985: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)
bpo-46932: Update bundled libexpat to 2.4.7
bpo-46811: Make test suite support Expat >=2.4.5
bpo-46784: Fix libexpat symbols collisions with user dynamically loaded or statically linked libexpat in embedded Python.
bpo-46756: Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, access to URI was allowed if the user was authorized for URI


bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n.
bpo-45405: Prevent internal configure error when running configure with recent versions of clang. Patch by David Bohman.


bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900
bpo-46948: Prevent CVE-2022-26488 by ensuring the Add to PATH option in the Windows installer uses the correct path when being repaired.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 27 21:33:42 2022 UTC (22 months ago) by schmonz
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

According to the noted issue, the compiler to avoid is llvm-gcc-4.2,
which means 11.x and 12.x according to mk/platform/ On 10.x
(i386 Snow Leopard Server, at least), no problem with the system gcc.
Adjust the scope of the workaround to match.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 25 12:16:54 2022 UTC (22 months ago) by jperkin
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

python3*: Switch to CFLAGS, CPPFLAGS is ignored.

Fixes build on SmartOS.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jan 21 10:43:51 2022 UTC (22 months, 1 week ago) by jperkin
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

python3*: Add REPLACE_SH, from pekdon via IRC.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 20 13:03:23 2022 UTC (22 months, 1 week ago) by jperkin
Branch: MAIN
Changes since 1.29: +10 -1 lines
Diff to previous 1.29 (colored)

python37: Solaris 10 fixes, from pekdon via IRC.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 12 08:49:01 2022 UTC (22 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

python*: remove no-egg support

This was added in the pkgsrc stone age when pkgsrc had no egg support,
and then carried forward up to python 3.10. This ends now.


Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 30 15:16:14 2021 UTC (23 months ago) by wiz
Branch: MAIN
Changes since 1.27: +11 -3 lines
Diff to previous 1.27 (colored)

python37: prepare for upcoming setuptools change


Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 8 16:05:22 2021 UTC (23 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

revbump for icu and libffi

Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 16 19:40:33 2021 UTC (2 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

python37 py37-html-docs: updated to 3.7.10

Python 3.7.10

bpo-42967: Fix web cache poisoning vulnerability by defaulting the query args separator to &, and allowing the user to choose a custom separator.
bpo-42938: Avoid static buffers when computing the repr of ctypes.c_double and ctypes.c_longdouble values.
bpo-42103: Prevented potential DoS attack via CPU and RAM exhaustion when processing malformed Apple Property List files in binary format.
bpo-42051: The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities. This should not affect users as entity declarations are not used in regular plist files.
bpo-40791: Add volatile to the accumulator variable in hmac.compare_digest, making constant-time-defeating optimizations less likely.

bpo-42103: InvalidFileException and RecursionError are now the only errors caused by loading malformed binary Plist file (previously ValueError and TypeError could be raised in some specific cases).
bpo-41976: Fixed a bug that was causing ctypes.util.find_library() to return None when triying to locate a library in an environment when gcc>=9 is available and ldconfig is not. Patch by Pablo Galindo

bpo-17140: Add documentation for the multiprocessing.pool.ThreadPool class.

bpo-42794: Update test_nntplib to use offical group name of for testing. Patch by Dong-hee Na.
bpo-41944: Tests for CJK codecs no longer call eval() on content received via HTTP.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 7 13:14:38 2020 UTC (2 years, 11 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.24: +1 -5 lines
Diff to previous 1.24 (colored)

python*: Revert shm_open workaround now it's fixed in mksandbox

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 6 11:35:31 2020 UTC (2 years, 11 months ago) by nia
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

python*: Disable runtime configure test on sem_getvalue behaviour

Like the other test, because /dev/shm isn't available in the build
environment doesn't mean it won't be available on the destination
machine for the packages.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 6 11:11:31 2020 UTC (2 years, 11 months ago) by nia
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

python*: Avoid configure test for POSIX semaphores on Linux.

This attempts to build and run a program that uses POSIX semaphores.

This fails in a pbulk sandbox that doesn't contain /dev/shm, resulting
in a broken package where the idea that the platform doesn't support
POSIX semaphores is baked in forever. In newer Python versions,
this means Python doesn't even build properly.

XXX: We might want to avoid it on other platforms too...

Revision 1.22 / (download) - annotate - [select for diffs], Tue Nov 17 19:33:26 2020 UTC (3 years ago) by sjmulder
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

lang/python37: Fix for macOS 11 and Apple Silicon

(Apple Silicon being their aarch64 platform.)

This is backport of the same in lang/python39 and lang/python38. Some
parts weren't applicable in 3.7. The script needed some work
on the ffi code. Otherwise, minor changes.

Patches consist of:
 - Upstream work:
 - Fix for to find libbz2.tbd and libz.tbd now that with the
   shared library cache there's nothing in /usr/lib.
 - Addition of __arch64__ case to fix _decimal module. A very similar fix
   has since been committed upstream.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 1 09:26:54 2020 UTC (3 years, 2 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Avoid MemoryError from "import ctypes" on OpenBSD (PR pkg/55134) for all
applicable Pythons. Bump PKGREVISION.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Aug 19 07:08:34 2020 UTC (3 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

python37 py37-html-docs: updated to 3.7.9

Python 3.7.9 final

bpo-41304: Fixes python3x._pth being ignored on Windows, caused by the fix for bpo-29778 (CVE-2020-15801).
bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (CVE-2020-15523).
bpo-41004: CVE-2020-14422: The __hash__() methods of ipaddress.IPv4Interface and ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and 128 respectively. This resulted in always causing hash collisions. The fix uses hash() to generate hash values for the tuple of (address, mask length, network address).
bpo-39603: Prevent http header injection by rejecting control characters in http.client.putrequest(.
Core and Builtins
bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() correctly

bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the C implementation raises now UnpicklingError instead of crashing.
bpo-39017: Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907).
bpo-41235: Fix the error handling in ssl.SSLContext.load_dh_params().

bpo-41100: Additional fixes for testing on macOS 11 Big Sur Intel. Note: macOS 11 is not yet released, this release of Python is not fully supported on 11.0, and not all tests pass.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Aug 14 19:28:44 2020 UTC (3 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.18: +6 -1 lines
Diff to previous 1.18 (colored)

On systems where both of the conditions

1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH
   (e.g. Linux)
2. A previous libpython with the same major.minor is already installed
   (e.g. a previous version of this package)

hold, the built python will be linked with the installed libpython,
causing it to report an old teeny version in sys.version_info while
staging the install. Then "make package" fails with PLIST mismatches for

pkgsrc knows which version we're building. Pass that down instead.

For platforms that weren't having this problem, no functional change
intended. For platforms that were, this simply restores "make package",
so no PKGREVISION bump.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 3 11:11:33 2020 UTC (3 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

python37: fix CVE-2020-14422 using upstream patch


Revision 1.17 / (download) - annotate - [select for diffs], Thu May 21 17:25:13 2020 UTC (3 years, 6 months ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

python*: findlib subst class can be a noop

It is licit to be a noop for findlib subst class when PREFIX is

Thanks to <jklos>! (via PR pkg/54758)

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 14 21:43:11 2020 UTC (3 years, 6 months ago) by tnn
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

document non-obvious readline build dependency

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 11 08:31:57 2020 UTC (3 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

python37: updated to 3.7.7

Python 3.7.7 final

bpo-13487: Avoid a possible ׳untimeError: dictionary changed size during iterationfrom inspect.getmodule() when it tried to loop through sys.modules.
bpo-17422: The language reference no longer restricts default class namespaces to dicts only.

Python 3.7.7 release candidate 1

bpo-39401: Avoid unsafe load of api-ms-win-core-path-l1-1-0.dll at startup on Windows 7.
Core and Builtins
bpo-39776: Fix race condition where threads created by PyGILState_Ensure() could get a duplicate id.

This affects consumers of tstate->id like the contextvar caching machinery, which could return invalid cached objects under heavy thread load (observed in embedded scenarios).
bpo-39778: Fixed a crash due to incorrect handling of weak references in collections.OrderedDict classes. Patch by Pablo Galindo.
bpo-39382: Fix a use-after-free in the single inheritance path of issubclass(), when the __bases__ of an object has a single reference, and so does its first item. Patch by Yonatan Goldschmidt.
bpo-39606: Fix regression caused by fix for bpo-39386, that prevented calling aclose on an async generator that had already been closed or exhausted.
bpo-39510: Fix segfault in readinto() method on closed BufferedReader.
bpo-39453: Fixed a possible crash in list.__contains__() when a list is changed during comparing items. Patch by Dong-hee Na.
bpo-39427: Document all possibilities for the -X options in the command line help section. Patch by Pablo Galindo.
bpo-39421: Fix possible crashes when operating with the functions in the heapq module and custom comparison operators.
bpo-39386: Prevent double awaiting of async iterator.
bpo-38588: Fix possible crashes in dict and list when calling PyObject_RichCompareBool().
bpo-39031: When parsing an lifnode, lineno and col_offset of the node now point to the lifkeyword and not to its condition, making it consistent with the fnode. Patch by Lysandros Nikolaou.
bpo-38610: Fix possible crashes in several list methods by holding strong references to list elements when calling PyObject_RichCompareBool().
bpo-39794: Add ithout-decimal-contextvar build option. This enables a thread-local rather than a coroutine local context.
bpo-39769: The compileall.compile_dir() function ddir parameter and the compileall command line flag -d no longer write the wrong pathname to the generated pyc file for submodules beneath the root of the directory tree being compiled. This fixes a regression introduced with Python 3.5.
bpo-30566: Fix IndexError when trying to decode an invalid string with punycode codec.
bpo-39649: Remove obsolete check for __args__ in bdb.Bdb.format_stack_entry.
bpo-27657: The original fix for bpo-27657, קix urlparse() with numeric paths(GH-16839) included in 3.7.6, inadvertently introduced a behavior change that broke several third-party packages relying on the original undefined parsing behavior. The change is reverted in 3.7.7, restoring the behavior of 3.7.5 and earlier releases.
bpo-21016: The pydoc and trace modules now use the sysconfig module to get the path to the Python standard library, to support uncommon installation path like /usr/lib64/python3.9/ on Fedora. Patch by Jan Matjek.
bpo-39548: Fix handling of header in urllib.request.AbstractDigestAuthHandler when the optional qop parameter is not present.
bpo-39450: Striped whitespace from docstring before returning it from
bpo-39493: Mark typing.IO.closed as a property
bpo-39485: Fix a bug in unittest.mock.create_autospec() that would complain about the wrong number of arguments for custom descriptors defined in an extension module returning functions.
bpo-39430: Fixed race condition in lazy imports in tarfile.
bpo-39389: Write accurate compression level metadata in gzip archives, rather than always signaling maximum compression.
bpo-39274: bool(fraction.Fraction) now returns a boolean even if (numerator != 0) does not return a boolean (ex: numpy number).
bpo-39242: Updated the Gmane domain from to which is used for examples of NNTP news reader server and nntplib tests.
bpo-39152: Fix ttk.Scale.configure([name]) to return configuration tuple for name or all options. Giovanni Lombardo contributed part of the patch.
bpo-39198: If an exception were to be thrown in Logger.isEnabledFor (say, by asyncio timeouts or stopit) , the logging global lock may not be released appropriately, resulting in deadlock. This change wraps that block of code with try...finally to ensure the lock is released.
bpo-39191: Perform a check for running loop before starting a new task in loop.run_until_complete() to fail fast; it prevents the side effect of new task spawning before exception raising.
bpo-38871: Correctly parenthesize filter-based statements that contain lambda expressions in mod:lib2to3. Patch by Dong-hee Na.
bpo-39142: A change was made to logging.config.dictConfig to avoid converting instances of named tuples to ConvertingTuple. It assumed that named tuples are too specialised to be treated like ordinary tuples; if a user of named tuples requires ConvertingTuple functionality, they will have to implement that themselves in their named tuple class.
bpo-38971: Open issue in the BPO indicated a desire to make the implementation of at parity with, which implements a try/except to assure file stream gets closed before an exception is raised.
bpo-39057: urllib.request.proxy_bypass_environment() now ignores leading dots and no longer ignores a trailing newline.
bpo-39056: Fixed handling invalid warning category in the -W option. No longer import the re module if it is not needed.
bpo-39055: base64.b64decode() with validate=True raises now a binascii.Error if the input ends with a single \n.
bpo-38878: Fixed __subclasshook__ of os.PathLike to return a correct result upon inheritence. Patch by Bar Harel.
bpo-35182: Fixed Popen.communicate() subsequent call crash when the child process has already closed any piped standard stream, but still continues to be running. Patch by Andriy Maletsky.
bpo-38473: Use signature from inner mock for autospecced methods attached with unittest.mock.attach_mock(). Patch by Karthikeyan Singaravelan.
bpo-38293: Add copy.copy() and copy.deepcopy() support to property() objects.
bpo-37953: In typing, improved the __hash__ and __eq__ methods for ForwardReferences.
bpo-36406: Handle namespace packages in doctest. Patch by Karthikeyan Singaravelan.
bpo-13790: Change tringto pecificationin format doc.
bpo-39530: Fix misleading documentation about mixed-type numeric comparisons.
bpo-17422: The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman.
bpo-39654: In pyclbr doc, update lassto odulewhere appropriate and add readmodule comment. Patch by Hakan elik.
bpo-39392: Explain that when filling with turtle, overlap regions may be left unfilled.
bpo-39381: Mention in docs that asyncio.get_event_loop() implicitly creates new event loop only if called from the main thread.
bpo-38918: Add an entry for __module__ in the unction& ethodsections of the inspect docs types and members table
bpo-3530: In the ast module documentation, fix a misleading NodeTransformer example and add advice on when to use the fix_missing_locations function.
bpo-38546: Fix test_ressources_gced_in_workers() of test_concurrent_futures: explicitly stop the manager to prevent leaking a child process running in the background after the test completes.
bpo-39144: The ctags and etags build targets both include Modules/_ctypes and Python standard library source files.
bpo-38597: distutils will no longer statically link vcruntime140.dll when a redistributable version is unavailable. All future releases of CPython will include a copy of this DLL to ensure distributed extensions can continue to load.
bpo-38380: Update Windows builds to use SQLite 3.31.1
bpo-39439: Reduce overhead when using multiprocessing in a Windows virtual environment
bpo-39185: The build.bat script has additional options for very-quiet output (-q) and very-verbose output (-vv)
bpo-38380: Update macOS builds to use SQLite 3.31.1
bpo-39781: Selecting code context lines no longer causes a jump.
bpo-39663: Add tests for pyparse find_good_parse_start().
bpo-39600: In the font configuration window, remove duplicated font names.
bpo-30780: Add remaining configdialog tests for buttons and highlights and keys tabs.
bpo-39388: IDLE Settings Cancel button now cancels pending changes
bpo-39050: Make IDLE Settings dialog Help button work again.
bpo-34118: Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list.
bpo-38792: Close an IDLE shell calltip if a KeyboardInterrupt or shell restart occurs. Patch by Zackery Spytz.
bpo-32989: Add tests for editor newline_and_indent_event method. Remove dead code from pyparse find_good_parse_start method.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 8 16:42:29 2020 UTC (3 years, 8 months ago) by bsiegert
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Revbump packages depending on libffi after .so version change.

Requested by Matthias Ferdinand and Oskar on pkgsrc-users.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 25 10:45:12 2020 UTC (3 years, 10 months ago) by jperkin
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

*: Remove obsolete BUILDLINK_API_DEPENDS.openssl.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jan 18 21:49:43 2020 UTC (3 years, 10 months ago) by jperkin
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

*: Recursive revision bump for openssl 1.1.1.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 16 07:04:04 2019 UTC (4 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

python37: updated to 3.7.5

Python 3.7.5 is the fifth and most recent maintenance release of Python 3.7. The Python 3.7 series contains many new features and optimizations.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 9 07:46:37 2019 UTC (4 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

python37: updated to 3.7.4

Python 3.7.4 final

Core and Builtins
bpo-37500: Due to unintended side effects, revert the change introduced by bpo-1875 in 3.7.4rc1 to check for syntax errors in dead conditional code blocks.
bpo-37149: Replace the dead link to the Tkinter 8.5 reference by John Shipman, New Mexico Tech, with a link to the copy.

Python 3.7.4 release candidate 2

bpo-37463: ssl.match_hostname() no longer accepts IPv4 addresses with additional text after the address and only quad-dotted notation without trailing whitespaces. Some inet_aton() implementations ignore whitespace and all data after whitespace, e.g. whatever

Core and Builtins
bpo-24214: Improved support of the surrogatepass error handler in the UTF-8 and UTF-16 incremental decoders.

bpo-37440: http.client now enables TLS 1.3 post-handshake authentication for default context or if a cert_file is passed to HTTPSConnection.
bpo-37437: Update vendorized expat version to 2.2.7.
bpo-37428: SSLContext.post_handshake_auth = True no longer sets SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the option is documented as ignored for clients, OpenSSL implicitly enables cert chain validation when the flag is set.
bpo-32627: Fix compile error when _uuid headers conflicting included.

bpo-37369: Fixes path for sys.executable when running from the Microsoft Store.
bpo-35360: Update Windows builds to use SQLite 3.28.0.

bpo-34602: Avoid test suite failures on macOS by no longer calling resource.setrlimit to increase the process stack size limit at runtime. The runtime change is no longer needed since the interpreter is being built with a larger default stack size.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 2 12:50:42 2019 UTC (4 years, 7 months ago) by wiedi
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

python37: fix find_library() on SunOS

Help find_library find pkgsrc libs also on SunOS.
While here pull in like Oracle Solaris and
OpenIndiana already do.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 30 04:49:38 2019 UTC (4 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

lang/python37: remove unknown configure option --with-threads

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 25 15:59:54 2019 UTC (4 years, 7 months ago) by roy
Branch: MAIN
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (colored)

python: Don't install if no yp headers

Because python won't even try to build it.
You only see if there is an error building it, when
it wanted to build it, and that should be fixed accordingly.

In a nutshell, if the yp headers are installed, python will build
the nis module, otherwise it won't.

On netbsd systems at least, if you have the yp headers installed and
subsequently re-install over the top with MKYP=no you get into the state
where the headers are installed, but the functions are no longer in libc.
This is an error with *your* system - either rebuild with MKYP=yes OR
remove the yp headers from include/rpc and include/rpcsvc.

Follow on fix for PR pkg/53673.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 3 13:17:28 2019 UTC (4 years, 7 months ago) by maya
Branch: MAIN
Changes since 1.5: +11 -14 lines
Diff to previous 1.5 (colored)

python*: rework logic used to determine if PLIST.nis is used.

Match the logic used by it looks for two headers in the default
include path. This helps newer glibc linux.

Omit PLIST.dll on python3* because it doesn't appear in the PLIST.
Make PLIST.dll true on all non-IRIX.

tested: NetBSD-current, FreeBSD 11.2, Ubuntu 18.10, CentOS 6.9, Source Mage

From Dr. Thomas Orgis, myself, and with pointers to a change from leot.

PR pkg/53673

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 26 20:54:55 2019 UTC (4 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.4: +47 -48 lines
Diff to previous 1.4 (colored)

python37: updated to 3.7.3

Python 3.7.3:
bpo-36216: Changes urlsplit() to raise ValueError when the URL contains characters that decompose under IDNA encoding (NFKC-normalization) into characters that affect how the URL is parsed.
bpo-35746: [CVE-2019-5010] Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL distribution points with empty DP or URI correctly. A malicious or buggy certificate can result into segfault. Vulnerability (TALOS-2018-0758) reported by Colin Read and Nicolas Edet of Cisco.
bpo-35121: Don send cookies of domain A without Domain attribute to domain B when domain A is a suffix match of domain B while using a cookiejar with http.cookiejar.DefaultCookiePolicy policy. Patch by Karthikeyan Singaravelan.

Core and Builtins
bpo-35942: The error message emitted when returning invalid types from __fspath__ in interfaces that allow passing PathLike objects has been improved and now it does explain the origin of the error.
bpo-35992: Fix __class_getitem__() not being called on a class with a custom non-subscriptable metaclass.
bpo-35991: Fix a potential double free in Modules/_randommodule.c.
bpo-35961: Fix a crash in slice_richcompare(): use strong references rather than stolen references for the two temporary internal tuples.
bpo-31506: Clarify the errors reported when object.__new__ and object.__init__ receive more than one argument. Contributed by Sanyam Khurana.
bpo-35720: Fixed a minor memory leak in pymain_parse_cmdline_impl function in Modules/main.c
bpo-35623: Fix a crash when sorting very long lists. Patch by Stephan Hohe.
bpo-35214: clang Memory Sanitizer build instrumentation was added to work around false positives from posix, socket, time, test_io, and test_faulthandler.
bpo-35560: Fix an assertion error in format() in debug build for floating point formatting with format, zero padding and small width. Release build is not impacted. Patch by Karthikeyan Singaravelan.
bpo-35552: Format characters %s and %V in PyUnicode_FromFormat() and %s in PyBytes_FromFormat() no longer read memory past the limit if precision is specified.
bpo-35504: Fix segfaults and SystemErrors when deleting certain attributes. Patch by Zackery Spytz.
bpo-33989: Fix a possible crash in list.sort() when sorting objects with ob_type->tp_richcompare == NULL. Patch by Zackery Spytz.

bpo-35931: The pdb debug command now gracefully handles all exceptions.
bpo-36251: Fix format strings used for stderrprinter and re.Match reprs. Patch by Stephan Hohe.
bpo-35807: Update ensurepip to install pip 19.0.3 and setuptools 40.8.0.
bpo-36179: Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in out-of-memory cases.
bpo-35178: Ensure custom warnings.formatwarning() function can receive line as positional argument. Based on patch by Tashrif Billah.
bpo-36106: Resolve potential name clash with libm sinpi(). Patch by Dmitrii Pasechnik.
bpo-35512: unittest.mock.patch.dict() used as a decorator with string target resolves the target during function call instead of during decorator construction. Patch by Karthikeyan Singaravelan.
bpo-36091: Clean up reference to async generator in Lib/types. Patch by Henry Chen.
bpo-35899: Enum has been fixed to correctly handle empty strings and strings with non-Latin characters (ie. б, ) without crashing. Original patch contributed by Maxwell. Assisted by Stéphane Wirtel.
bpo-35918: Removed broken has_key method from multiprocessing.managers.SyncManager.dict. Contributed by Rémi Lapeyre.
bpo-35960: Fix dataclasses.field() throwing away empty mapping objects passed as metadata.
bpo-35847: RISC-V needed the CTYPES_PASS_BY_REF_HACK. Fixes ctypes Structure test_pass_by_value.
bpo-35780: Fix lru_cache() errors arising in recursive, reentrant, or multi-threaded code. These errors could result in orphan links and in the cache being trapped in a state with fewer than the specified maximum number of links. Fix handling of negative maxsize which should have been treated as zero. Fix errors in toggling the ullstatus flag. Fix misordering of links when errors are encountered. Sync-up the C code and pure Python code for the space saving path in functions with a single positional argument. In this common case, the space overhead of an lru cache entry is reduced by almost half. Fix counting of cache misses. In error cases, the miss count was out of sync with the actual number of times the underlying user function was called.
bpo-23846: asyncio.ProactorEventLoop now catches and logs send errors when the self-pipe is full.
bpo-34323: asyncio: Enhance IocpProactor.close() log: wait 1 second before the first log, then log every second. Log also the number of seconds since close() was called.
bpo-34294: re module, fix wrong capturing groups in rare cases., re.findall(), re.sub() and other functions that scan through string looking for a match, should reset capturing groups between two match attempts. Patch by Ma Lin.
bpo-35717: Fix KeyError exception raised when using enums and compile. Patch contributed by Rémi Lapeyre.
bpo-35699: Fixed detection of Visual Studio Build Tools 2017 in distutils
bpo-32710: Fix memory leaks in asyncio ProactorEventLoop on overlapped operation failure.
bpo-32710: Fix a memory leak in asyncio in the ProactorEventLoop when ReadFile() or WSASend() overlapped operation fail immediately: release the internal buffer.
bpo-35682: Fix asyncio.ProactorEventLoop.sendfile(): don attempt to set the result of an internal future if it already done.
bpo-35283: Add a pending deprecated warning for the threading.Thread.isAlive() method. Patch by Dong-hee Na.
bpo-35643: Fixed a SyntaxWarning: invalid escape sequence in Modules/_sha3/ Patch by Mickaël Schoentgen.
bpo-35615: weakref: Fix a RuntimeError when copying a WeakKeyDictionary or a WeakValueDictionary, due to some keys or values disappearing while iterating.
bpo-28503: The crypt module now internally uses the crypt_r() library function instead of crypt() when available.
bpo-35121: Don set cookie for a request when the request path is a prefix match of the cookie path attribute but doesn end with  Patch by Karthikeyan Singaravelan.
bpo-35585: Speed-up building enums by value, e.g. http.HTTPStatus(200).
bpo-21478: Calls to a child function created with unittest.mock.create_autospec() should propagate to the parent. Patch by Karthikeyan Singaravelan.
bpo-35513: TextTestRunner of unittest.runner now uses time.perf_counter() rather than time.time() to measure the execution time of a test: time.time() can go backwards, whereas time.perf_counter() is monotonic.
bpo-35502: Fixed reference leaks in xml.etree.ElementTree.TreeBuilder in case of unfinished building of the tree (in particular when an error was raised during parsing XML).
bpo-31446: Copy command line that was passed to CreateProcessW since this function can change the content of the input buffer.
bpo-20239: Allow repeated assignment deletion of unittest.mock.Mock attributes. Patch by Pablo Galindo.
bpo-17185: Set __signature__ on mock for inspect to get signature. Patch by Karthikeyan Singaravelan.
bpo-10496: check_environ() of distutils.utils now catches KeyError on calling pwd.getpwuid(): don create the HOME environment variable in this case.
bpo-35066: Previously, calling the strftime() method on a datetime object with a trailing in the format string would result in an exception. However, this only occured when the datetime C module was being used; the python implementation did not match this behavior. Datetime is now PEP-399 compliant, and will not throw an exception on a trailing 
bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff. Orignial patch by R. David Murray & Jairo Trad. Enhanced by Sanyam Khurana.
bpo-35198: Fix C++ extension compilation on AIX
bpo-28441: On Cygwin and MinGW, ensure that sys.executable always includes the full filename in the path, including the .exe suffix (unless it is a symbolic link).
bpo-34572: Fix C implementation of pickle.loads to use importlib locking mechanisms, and thereby avoid using partially-loaded modules. Patch by Tim Burgess.
bpo-33687: Fix the call to os.chmod() for uu.decode() if a mode is given or decoded. Patch by Timo Furrer.
bpo-32146: Document the interaction between frozen executables and the spawn and forkserver start methods in multiprocessing.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 2 13:23:36 2019 UTC (4 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.3: +10 -16 lines
Diff to previous 1.3 (colored)

python3[4567]: find_library() fixes; remove -stack_size from LDFLAGS on Darwin.

PkgSrc changes:
* Make find_library() consitant for all Python versions:
  - Fallback to clang, when gcc is not installed.
  - Find libraries in PkgSrc prefix.
* Do not use -stack_size; it ends up in 'pythonNN-config --ldflags', and some
  modules fail to build.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 13 11:54:06 2018 UTC (5 years ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

python37: add pymalloc option.

pymalloc is on by default in non pkgsrc builds. Add option to allow it in
pkgsrc but don't enable so pkgsrc defaults don't change

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 9 11:58:58 2018 UTC (5 years, 4 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Python 3.7 requires newer OpenSSL. Fix build on netbsd-7

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 3 03:55:40 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN

python37: added version 3.7.0

Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations.

Among the major new features in Python 3.7 are:

PEP 539, new C API for thread-local storage
PEP 545, Python documentation translations
New documentation translations: Japanese, French, and Korean.
PEP 552, Deterministic pyc files
PEP 553, Built-in breakpoint()
PEP 557, Data Classes
PEP 560, Core support for typing module and generic types
PEP 562, Customization of access to module attributes
PEP 563, Postponed evaluation of annotations
PEP 564, Time functions with nanosecond resolution
PEP 565, Improved DeprecationWarning handling
PEP 567, Context Variables
Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode)
The insertion-order preservation nature of dict objects is now an official part of the Python language spec.
Notable performance improvements in many areas.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>