Commit Graph

28 Commits

Author SHA256 Message Date
Ana Guerrero
2e6907dc34 Accepting request 1112478 from devel:languages:python
- Update to 1.0.3:
  * Avoid CPython 3.8.17, 3.9.17, 3.10.12, and 3.11.4 tarfile symlink bug
    triggered by adding data_filter in 1.0.0.
  * Removed the toml library fallback; toml can no longer be used as a
    substitute for tomli
  * Added runner parameter to util.project_wheel_metadata
  * Modified ProjectBuilder constructor signature, added alternative
    ProjectBuilder.from_env constructor, redefined env.IsolatedEnv interface,
    and exposed env.DefaultIsolatedEnv, replacing env.IsolatedEnvBuilder.
  * virtualenv is no longer imported when using -n, for faster builds
  * The SDist now contains the repository contents, including tests.
    Flit-core 3.8+ required.
  * The minimum version of importlib-metadata has been increased to 4.6 and
    Python 3.10 due to a bug in the standard library version with URL
    requirements in extras.
  * Tests now contain a network marker
  * Config-settings are now passed to get_requires* hooks, fixing a long
    standing bug.
  * Test on Python 3.12 betas/RCs
  * Filter out malicious files when extracting tar archives when Python
    supports it
  * Specify encoding, fixing issues when PYTHONWARNDEFAULTENCODING is set.
- Drop patches 589-colorized-pip23.patch, 609-filter-out-malicious.patch:
  * Included upstream.
- Add runtests.py which chdirs before running tests, but after the macros
  have polluted the current working directory, avoiding test failures.

OBS-URL: https://build.opensuse.org/request/show/1112478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=10
2023-09-22 19:47:07 +00:00
Steve Kowalik
ace4ab3762 - Update to 1.0.3:
* Avoid CPython 3.8.17, 3.9.17, 3.10.12, and 3.11.4 tarfile symlink bug
    triggered by adding data_filter in 1.0.0.
  * Removed the toml library fallback; toml can no longer be used as a
    substitute for tomli
  * Added runner parameter to util.project_wheel_metadata
  * Modified ProjectBuilder constructor signature, added alternative
    ProjectBuilder.from_env constructor, redefined env.IsolatedEnv interface,
    and exposed env.DefaultIsolatedEnv, replacing env.IsolatedEnvBuilder.
  * virtualenv is no longer imported when using -n, for faster builds
  * The SDist now contains the repository contents, including tests.
    Flit-core 3.8+ required.
  * The minimum version of importlib-metadata has been increased to 4.6 and
    Python 3.10 due to a bug in the standard library version with URL
    requirements in extras.
  * Tests now contain a network marker
  * Config-settings are now passed to get_requires* hooks, fixing a long
    standing bug.
  * Test on Python 3.12 betas/RCs
  * Filter out malicious files when extracting tar archives when Python
    supports it
  * Specify encoding, fixing issues when PYTHONWARNDEFAULTENCODING is set.
- Drop patches 589-colorized-pip23.patch, 609-filter-out-malicious.patch:
  * Included upstream.
- Add runtests.py which chdirs before running tests, but after the macros
  have polluted the current working directory, avoiding test failures.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=26
2023-09-20 07:51:39 +00:00
Dominique Leuenberger
a890a85289 Accepting request 1085246 from devel:languages:python
- Renamed patches support-pip-23.patch and
  support-tarfile-data-filter.patch to 589-colorized-pip23.patch
  (gh#pypa/build#589) and 609-filter-out-malicious.patch
  (gh#pypa/build#609), respectively.
- Add patch support-pip-23.patch:
  * pip 23 also colorizes output, confusing the test.
- Add patch support-tarfile-data-filter.patch:
  * Set tarfile.data_filter if available.

OBS-URL: https://build.opensuse.org/request/show/1085246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=9
2023-05-19 09:55:08 +00:00
be093e5bae - Renamed patches support-pip-23.patch and
support-tarfile-data-filter.patch to 589-colorized-pip23.patch
  and 609-filter-out-malicious.patch, respectively.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=24
2023-05-06 17:01:25 +00:00
7715cb62bd REmove superflous patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=23
2023-05-06 15:59:34 +00:00
613696a4ad WIP
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=22
2023-05-06 15:58:32 +00:00
Benjamin Greiner
d476f0a8d4 * ignore the DeprecationWarning instead
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=21
2023-05-02 11:59:55 +00:00
Benjamin Greiner
2a1cc284b3 Accepting request 1084005 from home:bnavigator:branches:devel:languages:python
- Remove support-tarfile-data-filter.patch: better documentation
  required, preferable supported through upstream
  * gh#pypa/build#609

OBS-URL: https://build.opensuse.org/request/show/1084005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=20
2023-05-02 10:58:17 +00:00
Steve Kowalik
014ebb2a4a - Add patch support-pip-23.patch:
* pip 23 also colorizes output, confusing the test.
- Add patch support-tarfile-data-filter.patch:
  * Set tarfile.data_filter if available.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=19
2023-05-02 08:05:44 +00:00
Dominique Leuenberger
2e67cc6b19 Accepting request 1081973 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=8
2023-04-22 20:01:43 +00:00
c855ac5788 Accepting request 1081353 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=17
2023-04-21 14:51:15 +00:00
Dominique Leuenberger
5d15d7652f Accepting request 1073633 from devel:languages:python
- Update to 0.10.0
  * Replace pep517 dependency with pyproject_hooks, into which
    pep517 has been renamed (PR #539, Fixes #529)
  * Change build backend from setuptools to flit (PR #470, Fixes
    #394)
  * Dropped support for Python 3.6 (PR #532)
- Avoid namespace clashes with build/ directory
  * gh#openSUSE/python-rpm-macros#157
- Drop build-pr550-packaging22.patch

OBS-URL: https://build.opensuse.org/request/show/1073633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=7
2023-03-31 19:14:04 +00:00
Benjamin Greiner
65cf2d5cf2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=15 2023-03-21 20:20:23 +00:00
Benjamin Greiner
374b061acd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=14 2023-03-21 20:20:10 +00:00
Benjamin Greiner
1da27ddb67 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=13 2023-03-21 20:19:28 +00:00
Benjamin Greiner
39b429be94 Accepting request 1073630 from home:bnavigator:branches:devel:languages:python
- Update to 0.10.0
  * Replace pep517 dependency with pyproject_hooks, into which
    pep517 has been renamed (PR #539, Fixes #529)
  * Change build backend from setuptools to flit (PR #470, Fixes
    #394)
  * Dropped support for Python 3.6 (PR #532)
- Avoid namespace clashes with build/ directory
  * gh#python-rpm-macros#157

OBS-URL: https://build.opensuse.org/request/show/1073630
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=12
2023-03-21 20:11:44 +00:00
Dominique Leuenberger
9b06afa371 Accepting request 1046084 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1046084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=6
2023-01-03 14:04:14 +00:00
1671bb38bb Accepting request 1046025 from home:bnavigator:branches:devel:languages:python
- Add build-pr550-packaging22.patch
  * gh#pypa/build#550: tests: fix for PEP 685 in packaging 22
- Be more specific in requirements

OBS-URL: https://build.opensuse.org/request/show/1046025
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=10
2023-01-02 07:23:44 +00:00
Dominique Leuenberger
a530c6c864 Accepting request 1034384 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1034384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=5
2022-11-09 11:56:03 +00:00
John Vandenberg
d35a8aee0b Accepting request 1034373 from home:yarunachalam:branches:devel:languages:python
- Update to v0.9.0 
  * Hide a Python 3.11.0 unavoidable warning with venv (PR #527)
  * Fix infinite recursion error in check_dependency with circular dependencies (PR #512, Fixes #511)
  * Only import colorama on Windows (PR #494, Fixes #493)
  * Flush output more often to reduce interleaved output (PR #494)
  * Small API cleanup, like better __all__ and srcdir being read only. (PR #477)
  * Only use importlib_metadata when needed (PR #401)
  * Clarify in printout when build dependencies are being installed (PR #514)

OBS-URL: https://build.opensuse.org/request/show/1034373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=8
2022-11-07 22:14:05 +00:00
Dominique Leuenberger
883ff6c1b2 Accepting request 989018 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/989018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=4
2022-07-14 14:34:17 +00:00
74676d71b9 Accepting request 989003 from home:bnavigator:branches:devel:languages:python
- Update to v0.8.0
  * Accept `os.PathLike[str]` in addition to `str` for paths in
    public API (PR #392, Fixes #372)
  * Add schema validation for `build-system` table to check
    conformity with PEP 517 and PEP 518 (PR #365, Fixes #364)
  * Better support for Python 3.11 (sysconfig schemes PR #434, PR
    #463, tomllib PR #443, warnings PR #420)
  * Improved error printouts (PR #442)
  * Avoid importing packaging unless needed (PR #395, Fixes #393)
  * Failure to create a virtual environment in the `build.env`
    module now raises `build.FailedProcessError` (PR #442)
- Rework test suite: provide wheels for testing

OBS-URL: https://build.opensuse.org/request/show/989003
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=6
2022-07-13 15:43:08 +00:00
Dominique Leuenberger
b2b17bc213 Accepting request 925705 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/925705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=3
2021-10-16 20:47:31 +00:00
John Vandenberg
65e3a5efb5 Accepting request 925702 from home:bnavigator:branches:devel:languages:python
- Update to v0.7.0
  Full changelog at
  https://pypa-build.readthedocs.io/en/stable/changelog.html
  * Dropped support for Python 2 and 3.5
- Avoid possible bootstrap build depcycles with _multibuild
- Drop remove-unused-import.patch

OBS-URL: https://build.opensuse.org/request/show/925702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=5
2021-10-16 15:04:24 +00:00
Dominique Leuenberger
9bb48f9266 Accepting request 856769 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/856769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=2
2020-12-21 11:35:06 +00:00
646c68d5a9 Accepting request 856709 from home:bnavigator:branches:devel:languages:python
- Add remove-unused-import.patch to work with importlib_metadata

OBS-URL: https://build.opensuse.org/request/show/856709
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=3
2020-12-17 22:07:37 +00:00
Dominique Leuenberger
7728f99eaa Accepting request 850551 from devel:languages:python
dependency of python-check-manifest, and general replacement for most tasks python-pep517 was doing

OBS-URL: https://build.opensuse.org/request/show/850551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=1
2020-11-24 21:17:14 +00:00
a9e8c3ca5d Accepting request 848337 from home:jayvdb:branches:devel:languages:python
@pypa tool complimenting pep517
depends on https://build.opensuse.org/request/show/848332

OBS-URL: https://build.opensuse.org/request/show/848337
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=1
2020-11-13 18:26:00 +00:00