<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/README.md, branch master</title>
<subtitle>Community maintained packages for OpenWrt</subtitle>
<id>http://x-nagi.com/cgit/packages/atom?h=master</id>
<link rel='self' href='http://x-nagi.com/cgit/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/'/>
<updated>2022-03-17T18:38:19Z</updated>
<entry>
<title>python3: Add Py3Build/InstallBuildDepends recipe</title>
<updated>2022-03-17T18:38:19Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2022-03-07T13:29:56Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=2f81f907c2ccfc8d905cb0dfc78dbb2ffe75e6c7'/>
<id>urn:sha1:2f81f907c2ccfc8d905cb0dfc78dbb2ffe75e6c7</id>
<content type='text'>
This adds a recipe, Py3Build/InstallBuildDepends, that installs the
requirements listed in HOST_PYTHON3_PACKAGE_BUILD_DEPENDS. This allows
other (non-Python) packages to install host Python packages by calling
this recipe, without having to know the internals of python3-package.mk.

This also updates apparmor to call this recipe.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: Use locked for host pip</title>
<updated>2020-08-31T10:48:47Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-08-30T22:29:44Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=c0340f631c6da75c9e19a6a2132777b55b58b777'/>
<id>urn:sha1:c0340f631c6da75c9e19a6a2132777b55b58b777</id>
<content type='text'>
This also removes PKG_BUILD_PARALLEL:=0 that was added for packages that
use HOST_PYTHON3_PACKAGE_BUILD_DEPENDS.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Use hash-checking mode when installing host pip packages</title>
<updated>2020-08-17T15:05:49Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-08-15T06:33:30Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=722a5b8efa19fd54728af462441dce08cd7e545b'/>
<id>urn:sha1:722a5b8efa19fd54728af462441dce08cd7e545b</id>
<content type='text'>
In hash-checking mode[1], pip will verify downloaded package archives
(source tarballs in our case) against known SHA256 hashes before
installing the packages.

As a consequence, this requires the use of requirements files[2] and
pinning packages to known versions.

The syntax for package Makefiles has changed slightly;
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS no longer accepts requirement
specifiers like "foo&gt;=1.0", only requirements file names (which are the
same as package names in the most common case).

This also updates affected packages, in particular:

* python-zipp: "setuptools_scm[toml]" has been split into
  "setuptools-scm toml" to reuse the requirements file for
  setuptools-scm (the extra depends installed by "setuptools_scm[toml]"
  is toml).

* python-pycparser: This previously used ply 3.10, whereas the
  requirements file will now install 3.11.

[1]: https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode
[2]: https://pip.pypa.io/en/stable/user_guide/#requirements-files

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python-packages: Disable parallel build when host pip is needed</title>
<updated>2020-06-30T07:43:01Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-06-29T20:41:15Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=e0e2224f8a80dd6b93dd00bd1e4a89e5a649c461'/>
<id>urn:sha1:e0e2224f8a80dd6b93dd00bd1e4a89e5a649c461</id>
<content type='text'>
This adds PKG_BUILD_PARALLEL:=0 to packages that depend on host Python
packages (HOST_PYTHON3_PACKAGE_BUILD_DEPENDS), because installing
packages with multiple concurrent pip processes can lead to errors or
unexpected results[1].

This also:

* Move HOST_PYTHON3_PACKAGE_BUILD_DEPENDS definitions to before
  python3-package.mk is included

* Update Python folder readme to include PKG_BUILD_PARALLEL:=0

[1]: https://github.com/pypa/pip/issues/2361

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: Revise pypi.mk section of readme</title>
<updated>2020-06-11T08:49:56Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-06-11T08:49:56Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=6bb3e26fe25ad2a59496ad19ec34fe016a2990f0'/>
<id>urn:sha1:6bb3e26fe25ad2a59496ad19ec34fe016a2990f0</id>
<content type='text'>
Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: Fix relative links in readme</title>
<updated>2020-06-11T08:36:38Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-06-11T08:36:38Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=c662835372c5d573d89720f56f0f662ac0cfd992'/>
<id>urn:sha1:c662835372c5d573d89720f56f0f662ac0cfd992</id>
<content type='text'>
This also removes a link to pypi.org; the previous sentence already
links to pypi.org, a second link in the same paragraph isn't necessary.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: Remove references to variants in readme</title>
<updated>2020-06-11T08:23:49Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-06-11T08:23:49Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=f9ed65d92247f2ed7eae6a7042dc7020c4bbf484'/>
<id>urn:sha1:f9ed65d92247f2ed7eae6a7042dc7020c4bbf484</id>
<content type='text'>
Build variants are no longer necessary.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Add script to help find standard library dependencies</title>
<updated>2020-05-14T15:38:24Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-05-10T11:14:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=d4d78c2511177758a8910dab76ebbc576bbf3df8'/>
<id>urn:sha1:d4d78c2511177758a8910dab76ebbc576bbf3df8</id>
<content type='text'>
This adds a script that searches a Python package's source code to find
imports for separately-packaged standard library modules.

The script can be run by calling make with the configure target and
"PY3=stdlib V=s" arguments, e.g.

    make package/python3-lxml/configure PY3=stdlib V=s

This also updates the readme on how to call this script, as well as more
information on Python package dependencies in general.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: Update readme</title>
<updated>2020-04-03T19:09:25Z</updated>
<author>
<name>Jeffery To</name>
<email>jeffery.to@gmail.com</email>
</author>
<published>2020-04-03T19:09:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=8c7039fa7d711b9d8f854de0ddb0ea9d27614138'/>
<id>urn:sha1:8c7039fa7d711b9d8f854de0ddb0ea9d27614138</id>
<content type='text'>
* Replace the Python 2 pending removal notice/schedule with a brief
  message about the removal
* Replace mentions of "Python &amp; Python 3" with just "Python" (references
  to the version number are kept only in cases where it is necessary)
* Update Makefile example code to use Python 3 conventions/names

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python: readme: drop from table of contents removed sections</title>
<updated>2020-01-27T13:26:07Z</updated>
<author>
<name>Josef Schlehofer</name>
<email>pepe.schlehofer@gmail.com</email>
</author>
<published>2020-01-26T09:20:18Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/packages/commit/?id=de13f35827dfa8dae1565f34a4a49a39fb600033'/>
<id>urn:sha1:de13f35827dfa8dae1565f34a4a49a39fb600033</id>
<content type='text'>
Fixes: 446bc30c527e8c6d24279f21e9e4f7562f98ab67 ("python: Remove
PKG_BUILD_DIR/PKG_UNPACK sections from readme")

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
</feed>
