SHA256
1
0
forked from pool/python-build

16 Commits

Author SHA256 Message Date
908eec3c1b Accepting request 1307679 from devel:languages:python
- update to 1.3.0:
  * Add --config-json
  * Drop Python 3.8
  * Test on Python 3.14, colorful help on 3.14+
  * Fix ModuleNotFoundError when pip is not installed
  * Disable use of pip install --python for debundled pip
  * Don't pass no-wheel to virtualenv if it would warn
  * Optimize our tests to run faster
  * Allow running our tests without virtualenv
  * Fix issues in our tests
  * Use SPDX identifiers for our license metadata
  * Use dependency-groups for our development
  * Mention conda and update uv mention in README/docs

OBS-URL: https://build.opensuse.org/request/show/1307679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=14
2025-09-29 19:11:56 +00:00
6af918d962 - update to 1.3.0:
* Add --config-json
  * Drop Python 3.8
  * Test on Python 3.14, colorful help on 3.14+
  * Fix ModuleNotFoundError when pip is not installed
  * Disable use of pip install --python for debundled pip
  * Don't pass no-wheel to virtualenv if it would warn
  * Optimize our tests to run faster
  * Allow running our tests without virtualenv
  * Fix issues in our tests
  * Use SPDX identifiers for our license metadata
  * Use dependency-groups for our development
  * Mention conda and update uv mention in README/docs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=34
2025-09-29 08:15:15 +00:00
c9ed7a90ff Accepting request 1301251 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=13
2025-08-25 18:36:24 +00:00
712993114b - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=32
2025-08-25 11:30:45 +00:00
b244970513 Accepting request 1206482 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=12
2024-10-09 20:03:35 +00:00
ea717da1ee - Update to 1.2.2
* Add editable to ``builder.get_requries_for_build``'s static types
  * Include artifact attestations in our release
  * Fix typing compatibility with typed ``pyproject-hooks``
  * Mark more tests with ``network``
  * Add more intersphinx links to docs
  * Make ``uv`` optional for tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=30
2024-10-09 08:34:22 +00:00
e73b444157 Accepting request 1183987 from devel:languages:python
- update to 1.2.1:
  * Avoid error when terminal width is undetectable on Python <
    3.11
  * Add --installer option, supporting pip and uv. Added uv
    extra.
  * Improve console output and provide -v for dependency
    installation
  * Avoid compiling unused bytecode when using pip
  * Dropped support for Python 3.7
  * Fixed invoking outer pip from user site packages
  * Corrected the minimum pip version required to use an outer
    pip
  * Use external pip if available instead of installing, speeds
    up environment setup with virtualenv slightly and venv
    significantly.
  * Stopped injecting wheel as a build dependency automatically,
    in the case of missing pyproject.toml -- by :user:`webknjaz`.
  * Use importlib_metadata on Python <3.10.2 for bugfixes not
    present in those CPython standard libraries (not required
    when bootstrapping) -- by :user:`GianlucaFicarelli`.

- Update to v0.9.0
- Drop remove-unused-import.patch
- Add remove-unused-import.patch to work with importlib_metadata

OBS-URL: https://build.opensuse.org/request/show/1183987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-build?expand=0&rev=11
2024-07-01 09:19:19 +00:00
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
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
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
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
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
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
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
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
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
4 changed files with 53 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:571fbbcd187eed0e7af47dd49e8f25ab22fb9cfbde5ed1daea67c5187dad9df6
size 47394

3
build-1.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd7a275d4b34e2b5b4c73fb57ae3c8239b54e4d09752eb540d4167c77bfa043d
size 50871

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Mon Sep 29 08:14:37 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0:
* Add --config-json
* Drop Python 3.8
* Test on Python 3.14, colorful help on 3.14+
* Fix ModuleNotFoundError when pip is not installed
* Disable use of pip install --python for debundled pip
* Don't pass no-wheel to virtualenv if it would warn
* Optimize our tests to run faster
* Allow running our tests without virtualenv
* Fix issues in our tests
* Use SPDX identifiers for our license metadata
* Use dependency-groups for our development
* Mention conda and update uv mention in README/docs
-------------------------------------------------------------------
Mon Aug 25 11:29:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Wed Oct 9 07:21:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.2.2
* Add editable to ``builder.get_requries_for_build``'s static types
* Include artifact attestations in our release
* Fix typing compatibility with typed ``pyproject-hooks``
* Mark more tests with ``network``
* Add more intersphinx links to docs
* Make ``uv`` optional for tests
-------------------------------------------------------------------
Sat Jun 29 12:49:33 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-build
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,10 +26,14 @@
%endif
# wheeldir of name build does not work well with this packagename gh#openSUSE/python-rpm-macros#157
%define _pyproject_wheeldir distwheel
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-build%{psuffix}
Version: 1.2.1
Version: 1.3.0
Release: 0
Summary: Simple PEP517 package builder
License: MIT
@@ -37,7 +41,7 @@ URL: https://github.com/pypa/build
Source0: https://github.com/pypa/build/archive/%{version}.tar.gz#/build-%{version}.tar.gz
# Needs the wheels for wheel, flit-core, and tomli for testing
Source10: https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-0.37.1-py2.py3-none-any.whl
Source11: https://files.pythonhosted.org/packages/py3/f/flit-core/flit_core-3.8.0-py3-none-any.whl
Source11: https://files.pythonhosted.org/packages/py3/f/flit_core/flit_core-3.8.0-py3-none-any.whl
Source12: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl
Source14: runtests.py
BuildRequires: %{python_module base >= 3.7}
@@ -50,9 +54,14 @@ Requires: python-pyproject-hooks
Requires: (python-importlib-metadata >= 0.22 if python-base < 3.8)
Requires: (python-tomli >= 1.1.0 if python-base < 3.11)
Recommends: python-virtualenv >= 20.0.35
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%endif
%if %{with test}
BuildRequires: %{python_module build = %{version}}
BuildRequires: %{python_module filelock >= 3}
@@ -100,6 +109,9 @@ export PIP_FIND_LINKS="%{python3_sitelib}/../wheels $PWD/wheels"
%postun
%python_uninstall_alternative pyproject-build
%pre
%python_libalternatives_reset_alternative pyproject-build
%files %{python_files}
%doc README.md
%license LICENSE