summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
AgeCommit message (Collapse)Author
2021-03-08python3-setuptools: update to 54.1.0Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-08python3-cython: Check for files before editingKhem Raj
If using debug-without-src policy then usr/src/debug won't exist, therefore the function will fail due to missing files, adding a check for files to exist before editing them fixes it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06python3-jinja2: set CVE_PRODUCTChen Qi
Set CVE_PRODUCT for more accurate CVE scanning. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02python3-magic: upgrade 0.4.20 -> 0.4.22zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02python3-git: upgrade 3.1.13 -> 3.1.14zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02python3-cython: upgrade 0.29.21 -> 0.29.22zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02python3-cython: Remove build paths from debug sourcesRichard Purdie
There are build paths which are in generated sources injected into ${PN}-src. These are in generated files and don't influence the binary output. As such we can correct them at do_package time by tweaking in an appropriately injected function. This fixes the reproducbility of the recipe. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23python3: Fix python interpreter line length for nativesdkMingli Yu
Make sure the python interpreter is "#!/usr/bin/env python3" for nativesdk to avoid the shebang path exceeding the limit when install the sdk under the directory with long path. Before: $ cd ${target_sdk_dir} $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3 #!${target_sdk_dir}/sysroots/${SDK_SYS}/usr/bin/python3.9 [snip] After: $ cd ${target_sdk_dir} $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3 #!/usr/bin/env python3 [snip] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23python3-magic: upgrade 0.4.18 -> 0.4.20Richard Purdie
License changed as there was additional copyright information added but the underlying license did not change. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23python3-pycryptodome/pycryptodomex: upgrade 3.9.9 -> 3.10.1Richard Purdie
The license file dropped the APL-2 pieces but this wasn't in LICENSE in the first place, no code seemed to refer to it so no change was needed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23python3: update to 3.9.2Oleksandr Kravchuk
Removed CVE patch was upstreamed. License-Update: copyright years. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18python3-setuptools: upgrade 52.0.0 -> 53.0.0Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18python3-pytest: upgrade 6.2.1 -> 6.2.2Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18python3-pygments: upgrade 2.7.4 -> 2.8.0Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18python3-more-itertools: upgrade 8.6.0 -> 8.7.0Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18python3-hypothesis: upgrade 6.0.2 -> 6.2.0Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18python3-git: upgrade 3.1.12 -> 3.1.13Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17python3-jinja2: upgrade 2.11.2 -> 2.11.3Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09python3-packaging: upgrade 20.8 -> 20.9zhengruoqin
20.9 - 2021-01-29 ~~~~~~~~~~~~~~~~~ * Run [isort](https://pypi.org/project/isort/) over the code base (:issue:`377`) * Add support for the ``macosx_10_*_universal2`` platform tags (:issue:`379`) * Introduce ``packaging.utils.parse_wheel_filename()`` and ``parse_sdist_filename()`` (:issue:`387` and :issue:`389`) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09python3-setuptools: update 51.0.0 -> 52.0.0Alexander Kanavin
easy_install script removed upstream: https://github.com/pypa/setuptools/blob/v52.0.0/CHANGES.rst Tarballs are now provided instead of zip files. License-Update: formatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05python3-importlib-metadata: Add toml dependencyChanghyeok Bae
ERROR: Do not try to fetch 'toml' for building. Please add its native recipe to DEPENDS. Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05python3-smmap: update to 4.0.0Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03python3: fix CVE-2021-3177Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03python3-setuptools: Add back accidentally dropped RDEPENDSRichard Purdie
This was accidentally removed in a previous commit. Due to improvements in the core, we can now just add it as a normal RDEPENDS along with the others as the native case no longer causes issues. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30python3: Use addtask statement instead of task dependenciesTomasz Dziendzielski
The externalsrc class deletes do_patch task which results with: | ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon | non-existent task do_patch in <PATH>/python3_3.8.2.bb Use addtask to define correct order to prevent this error, since addtask mechanism accepts deleted tasks. [YOCTO #14151] Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29meta: Clean up various class-native* RDEPENDS overridesRichard Purdie
With PACKAGES functioning more correctly for native recipes combined with classextend improvements over the years, there are various overrides of RDEPENDS which look unecessary now, clean them up. There some some minor changes in dependencies, specifically: "python3-numpy-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "python3-mako-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "itstool-native.do_populate_sysroot" -> "libxml2-native.do_populate_sysroot" however there are already: XXX-native.do_prepare_recipe_ssysroot -> YYY-native.do_populate_sysroot mappings from DEPENDS so this is effectively a null op. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29native: Stop clearing PACKAGESRichard Purdie
Native recipes have been special and they don't have packages generated from them. The RDEPENDS/RPROVIDES and other runtime package specific variables can contain important data about dependencies recipes need though and currently it is required to write this information explicitly in the native case. We now delete the packaging tasks for native recipes which removes the need to clear PACKAGES. The next step to improve the metadata is to stop clearing it and ensure any entries in these variables are remapped appropriately. The R* variables were already being processed by the class extension code but the implementation was suboptimal. This patch stops clearing PACKAGES and PACKAGES_DYNAMIC and fixes the places where that caused issues in OE-Core, for example PACKAGES additions in anonymous python without the "-native" suffix and a case where the included classes caused a self reference in DEPENDS which would once have been removed by the previous code. The implementation uses datastore/parser parameters to ensure that the variable overrides are not overwritten when calling setVar which is appropriate for a function as close to the core as this one is. Some now unneeded code in python3-setuptools is dropped, there are further changes like this which can follow. This change was verified with OE-Core by comparing task-depends.dot generated by "bitbake world -g" before and after the change, the files were identical. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29bitbake.conf/python: Drop setting RDEPENDS/RPROVIDES defaultRichard Purdie
We never recommend setting RDEPENDS or RPROVIDES without a package name against them. The default in bitbake.conf is legacy only, drop it. The python recipe was trying to add to the empty variable in the native case fix that too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28python3: Avoid installing test data into recipe-sysrootRichard Purdie
There are several thousand files in the test directory which we don't need. Adding these for the native and target sysroots is a crazy amount of files to be throwing around needlessly. Delete the files from the sysroot side of things to tidy up the sysroots and improve performance. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20python3-hypothesis: upgrade 5.43.3 -> 6.0.2Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20python3-dbusmock: upgrade 0.19 -> 0.22.0Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20python3-git: upgrade 3.1.11 -> 3.1.12Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20python3-importlib-metadata: upgrade 3.3.0 -> 3.4.0Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20python3-mako: upgrade 1.1.3 -> 1.1.4Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20python3-pygments: upgrade 2.7.3 -> 2.7.4Anuj Mittal
License-Update: change in copyright years Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31python3-pytest: update 6.1.2 -> 6.2.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30python3: update 3.9.0 -> 3.9.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30python3-importlib-metadata: update 3.1.1 -> 3.3.0Alexander Kanavin
Correct SRC_URI and upstream regex to enable automatic version upgrades. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30python3-setuptools-scm: upgrade 4.1.2 -> 5.0.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30python3-py: upgrade 1.9.0 -> 1.10.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30python3-hypothesis: upgrade 5.41.5 -> 5.43.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18python3-packaging: upgrade 20.4 -> 20.8Tim Orling
Upstream release notes: ''' * 20.8 - 2020-12-11 - Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`) - Do not insert an underscore in wheel tags when the interpreter version number is more than 2 digits (:issue:`372`) * 20.7 - 2020-11-28 - No unreleased changes. * 20.6 - 2020-11-28 - Note: This release was subsequently yanked, and these changes were included in 20.7. - Fix flit configuration, to include LICENSE files (:issue:`357`) - Make intel a recognized CPU architecture for the universal macOS platform tag (:issue:`361`) - Add some missing type hints to packaging.requirements (issue:350) * 20.5 - 2020-11-27 - Officially support Python 3.9 (:issue:`343`) - Deprecate the LegacyVersion and LegacySpecifier classes (:issue:`321`) - Handle OSError on non-dynamic executables when attempting to resolve the glibc version string. """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-setuptools-scm: add python3-toml depTim Orling
Fixes: pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by setuptools-scm Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-setuptools: upgrade 50.3.2 -> 51.0.0Tim Orling
No upstream release notes. Upstream commits since 50.3.2: b6bbe236 Bump version: 50.3.2 → 51.0.0 7f477c52 Merge pull request #2472 from pypa/bugfix/2471-remove-deps 2a0463cb Update changelog. 99bc2c11 Remove tests guaranteeing that (vendored) dependencies can be installed without setuptools. 65441834 Remove conditional skip, no longer relevant. 9365c7ed Merge pull request #2468 from wimglenn/patch-1 43b0b81e Merge pull request #2461 from webknjaz/testing/gha-fix-set-env-usage 43f76003 Merge pull request #2460 from HaraldKorneliussen/master 2065f85d Merge pull request #2444 from zegor/patch-1 e9617599 Merge pull request #2439 from mgedmin/patch-1 475fb309 Update docs/pkg_resources.rst b4de397a fix broken link to entry-points details 4a4d50af Fix all deprecated set-env and add-path uses @ GHA b20d12e1 Fixes syntax issues in quickstart (#2448) 5cf3865f Merge pull request #2457 from webknjaz/testing/gha-broken-setup-python de48cfdb Temporarily allow `set-env` GHA commands ec944a40 Upgrade GHA actions using deprecated env mechanism d7170a28 Update quickstart.rst 0e1fc1c6 s/517/PEP 517/ 544687c3 Merge pull request #2437 from pypa/feature/rtd-2 3ca9e461 Merge pull request #2436 from webknjaz/maintenance/changelog-reconstruction 8ad16115 Merge pull request #2435 from pypa/debt/drop-py35 6597dcb6 Switch to RTD v2 config 7cf674e1 Reconstruct changelog with categories from history 97ee6624 Remove Python 3.5 from Appveyor tests 3dd7313d Bump PPC runs d490709b Merge pull request #2431 from webknjaz/bugfixes/pr-template-docs-links 66ca4205 Use 'virtualenv.python'. Fixes #2434. 419087c4 Merge branch 'master' into debt/drop-py35 38de858e Update changelog 6d33d5dd 📝 Update devguide links in the PR template 898ae046 Merge pull request #2430 from webknjaz/bugfixes/sphinx-failures a94c2c3d 📝 Add change notes e711cb07 🐛📝 Fix "Title level inconsistent" in changelog 9ab7bc54 Clean up syntax on entry_points.console_scripts. Fixes #2429. 2ff24f67 🐛📝 Fix the TOC link to the relocated dev guide a5dbf964 Drop support for Python 3.5. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-pygments: upgrade v2.7.2 -> v2.7.3Tim Orling
Upstream release notes: """ * Updated lexers: - Ada (#1581) - HTML (#1615, #1614) - Java (#1594, #1586) - JavaScript (#1605, #1589, #1588) - JSON (#1569 -- this is a complete rewrite) - Lean (#1601) - LLVM (#1612) - Mason (#1592) - MySQL (#1555, #1551) - Rust (#1608) - Turtle (#1590, #1553) * Deprecated JsonBareObjectLexer, which is now identical to JsonLexer (#1600) * The ImgFormatter now calculates the exact character width, which fixes some issues with overlapping text (#1213, #1611) * Documentation fixes (#1609, #1599, #1598) * Fixed duplicated Juttle language alias (#1604, #1606) * Added support for Kotlin scripts (#1587) * Removed CSS rule which forced margin to 0 """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-importlib-metadata: upgrade 3.1.0 -> 3.1.1Tim Orling
No upstream release notes. Commits since 3.1.0 tag: 155bc48 (HEAD, tag: v3.1.1) Merge branch 'maint/2.x' 83c7dd2 (tag: v2.1.1, origin/maint/2.x) Merge pull request #264 from python/bugfix/261-versionless-egg-info-pre-normalized-fallback 4cb3bd0 Update changelog. Ref #261. 6036a37 Avoid relying on new-style normalization for legacy eggs. 4098b51 Perform exact match on Prepared.normalized, and then add a separate check for an empty self.normalized instead of relying on a degenerate result from startswith. 7bdbb57 Add test to ensure that a prefix isn't matched 595eb5f Compare the name against self.normalized. Fixes #261 but also will cause 'lib' to match 'lib_foo'. fea6e75 Move is_egg into prepared. 313535a Extract method for matching a name in a prepared search. 4335def Add test capturing expectation where versionless metadata exists but hasn't been updated to the new normalization technique. Ref #261. 9aee90b Fix syntax in changelog 55e64a4 Merge pull request #258 from python/feature/skeleton 8721a05 Merge branch 'master' into feature/skeleton ed672ee Consolidate coverage files eabd24d Restore diffcov b29baea Correct syntax for invoking pytest d5a5c90 Bring back perf 67cb123 Run tests to exercise coverage Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15python3-hypothesis: upgrade 5.41.4 -> 5.41.5Tim Orling
Add missing RDEPENDS: - python3-attrs - python3-sortedcontainers Upstream release notes: """ 5.41.5 - 2020-12-05 This patch adds a performance optimisation to avoid saving redundant seeds when using the .fuzz_one_input hook. """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09python3-setuptools-scm: fix upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-hypothesis: upgrade 5.41.3 -> 5.41.4Tim Orling
Upstream release notes: """ 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130".lower() -> "i\u0370"). """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>