17
0

19 Commits

Author SHA256 Message Date
9ac706fc74 Accepting request 1300342 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1300342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=26
2025-08-20 11:24:58 +00:00
eb0fd6a010 updated because of python-poetry
- Update to 2.1.3
  * Improve performance of marker operations
  * Fix various issues with markers
  * Update list of supported licenses
  * Fix an issue where optional dependencies defined in the project
    section were treated as non-optional when a source was defined
    for them in the tool.poetry section
  * Fix an issue where local versions with upper case letters caused
    an error
  * Fix an issue where inheriting from WheelBuilder was unnecessarily
    difficult

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=62
2025-08-19 17:52:06 +00:00
f16b5f2553 Accepting request 1252483 from devel:languages:python
- Update to 2.1.1
  - Fix an issue where simplifying a python_version marker resulted in an invalid marker (#838).
- Changes from 2.1.0
  - Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440 (#379).
  - Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded (#817).
  - Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint (#824).
  - Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata (#830).
  - Fix an issue where the __pycache__ directory and *.pyc files were included in sdists and wheels (#835).
- Changes from 2.0.1
  - Replace the deprecated core metadata field Home-page with Project-URL: Homepage (#807).
  - Fix an issue where includes from tool.poetry.packages without a specified format were not
    initialized with the default value resulting in a KeyError (#805).
  - Fix an issue where some project.urls entries were not processed correctly resulting in a KeyError (#807).
  - Fix an issue where dynamic project.dependencies via tool.poetry.dependencies were ignored if
    project.optional-dependencies were defined (#811).

OBS-URL: https://build.opensuse.org/request/show/1252483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=25
2025-03-13 14:04:59 +00:00
5b73c897e4 Accepting request 1252362 from home:ecsos:python
- Update to 2.1.1
  - Fix an issue where simplifying a python_version marker resulted in an invalid marker (#838).
- Changes from 2.1.0
  - Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440 (#379).
  - Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded (#817).
  - Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint (#824).
  - Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata (#830).
  - Fix an issue where the __pycache__ directory and *.pyc files were included in sdists and wheels (#835).
- Changes from 2.0.1
  - Replace the deprecated core metadata field Home-page with Project-URL: Homepage (#807).
  - Fix an issue where includes from tool.poetry.packages without a specified format were not
    initialized with the default value resulting in a KeyError (#805).
  - Fix an issue where some project.urls entries were not processed correctly resulting in a KeyError (#807).
  - Fix an issue where dynamic project.dependencies via tool.poetry.dependencies were ignored if
    project.optional-dependencies were defined (#811).

OBS-URL: https://build.opensuse.org/request/show/1252362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=60
2025-03-12 09:57:34 +00:00
a43fd70f97 Accepting request 1236826 from devel:languages:python
- Unset source date epoch for tests

- Change test skipping, the skipped one works, and another is broken.

- update to 2.0.0:
  * **Add support for the `project` section in the
    `pyproject.toml` file according to PEP 621** (#708, #792).
  * Add support for non PEP440 compliant version in the
    `platform_release` marker (#722).
  * Add support for string comparisons with `in` / `not in` in
    generic constraints (#722).
  * Add support for script files that are generated by a build
    script (#710).
  * Add support for `SOURCE_DATE_EPOCH` when building packages
    (#766, #781).
  * Drop support for Python 3.8 (#798).
  * Create `METADATA` files with version 2.3 instead of 2.2
  * Normalize source vcs URLs (#701).
  * Make `allow-prereleases` a tri-state setting (#783).
  * Rename exceptions to have an `Error` suffix (#767).
  * Remove support for `x` in version constraints (#770).
  * Remove support for scripts with extras (#708).
  * Remove deprecated features and interfaces (#702,
  * #769).
  * Deprecate `tool.poetry.dev-dependencies` in favor of
    `tool.poetry.group.dev.dependencies` (#754).
  * Deprecate `Package.python_marker` (#446).
  * Improve Cygwin git support under Windows (#704).
  * Improve error message when the `pyproject.toml` file cannot
    be parsed (#734).

OBS-URL: https://build.opensuse.org/request/show/1236826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=24
2025-01-12 10:08:42 +00:00
3f94f1bf09 Accepting request 1236824 from home:bnavigator:branches:devel:languages:python
- Unset source date epoch for tests

OBS-URL: https://build.opensuse.org/request/show/1236824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=58
2025-01-10 10:30:03 +00:00
cd94ab3826 Moar test skipping
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=57
2025-01-10 03:12:55 +00:00
0d730a7791 - Change test skipping, the skipped one works, and another is broken.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=56
2025-01-10 03:08:40 +00:00
518fefdacc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=55 2025-01-08 18:09:44 +00:00
6ea724095d - update to 2.0.0:
* **Add support for the `project` section in the
    `pyproject.toml` file according to PEP 621** (#708, #792).
  * Add support for non PEP440 compliant version in the
    `platform_release` marker (#722).
  * Add support for string comparisons with `in` / `not in` in
    generic constraints (#722).
  * Add support for script files that are generated by a build
    script (#710).
  * Add support for `SOURCE_DATE_EPOCH` when building packages
    (#766, #781).
  * Drop support for Python 3.8 (#798).
  * Create `METADATA` files with version 2.3 instead of 2.2
  * Normalize source vcs URLs (#701).
  * Make `allow-prereleases` a tri-state setting (#783).
  * Rename exceptions to have an `Error` suffix (#767).
  * Remove support for `x` in version constraints (#770).
  * Remove support for scripts with extras (#708).
  * Remove deprecated features and interfaces (#702,
  * #769).
  * Deprecate `tool.poetry.dev-dependencies` in favor of
    `tool.poetry.group.dev.dependencies` (#754).
  * Deprecate `Package.python_marker` (#446).
  * Improve Cygwin git support under Windows (#704).
  * Improve error message when the `pyproject.toml` file cannot
    be parsed (#734).
  * Improve handling of `readme` files (#752).
  * Improve error handling when the Python constraint is empty
    (#761).
  * Improve performance for creating a PEP 508 requirement from a

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=54
2025-01-08 17:42:43 +00:00
8e1d47ec23 Accepting request 1218891 from devel:languages:python
- update to 1.9.1:
  * Add `3.13` to the list of available Python versions (#747).
- drop support-newer-pythons.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1218891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=23
2024-10-30 16:29:49 +00:00
222ecdfb9a - drop support-newer-pythons.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=52
2024-10-28 23:01:50 +00:00
805ea54435 - update to 1.9.1:
* Add `3.13` to the list of available Python versions (#747).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=51
2024-10-28 22:59:23 +00:00
be4cbd21d1 Accepting request 1201909 from devel:languages:python
- Add patch support-newer-pythons.patch:
  * Remove failing test with Python 3.12.6 and 3.13.
- Switch to autosetup macro.

OBS-URL: https://build.opensuse.org/request/show/1201909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=22
2024-09-20 15:08:55 +00:00
e4974a2787 - Add patch support-newer-pythons.patch:
* Remove failing test with Python 3.12.6 and 3.13.
- Switch to autosetup macro.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=49
2024-09-19 04:15:28 +00:00
f7ebbc86cb Accepting request 1199731 from devel:languages:python
- Skip test failing with Python 3.12.6 gh#python-poetry/poetry#9678

OBS-URL: https://build.opensuse.org/request/show/1199731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=21
2024-09-10 19:12:41 +00:00
2cadc76a80 .
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=47
2024-09-09 18:58:12 +00:00
ababba3267 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=46 2024-09-09 18:51:29 +00:00
51773b5df7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=45 2024-09-09 18:50:09 +00:00
4 changed files with 127 additions and 14 deletions

BIN
poetry-core-1.9.0-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@@ -1,3 +1,114 @@
-------------------------------------------------------------------
Tue Aug 19 08:55:20 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 2.1.3
* Improve performance of marker operations
* Fix various issues with markers
* Update list of supported licenses
* Fix an issue where optional dependencies defined in the project
section were treated as non-optional when a source was defined
for them in the tool.poetry section
* Fix an issue where local versions with upper case letters caused
an error
* Fix an issue where inheriting from WheelBuilder was unnecessarily
difficult
-------------------------------------------------------------------
Wed Mar 12 07:32:46 UTC 2025 - ecsos <ecsos@opensuse.org>
- Update to 2.1.1
- Fix an issue where simplifying a python_version marker resulted in an invalid marker (#838).
- Changes from 2.1.0
- Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440 (#379).
- Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded (#817).
- Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint (#824).
- Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata (#830).
- Fix an issue where the __pycache__ directory and *.pyc files were included in sdists and wheels (#835).
- Changes from 2.0.1
- Replace the deprecated core metadata field Home-page with Project-URL: Homepage (#807).
- Fix an issue where includes from tool.poetry.packages without a specified format were not
initialized with the default value resulting in a KeyError (#805).
- Fix an issue where some project.urls entries were not processed correctly resulting in a KeyError (#807).
- Fix an issue where dynamic project.dependencies via tool.poetry.dependencies were ignored if
project.optional-dependencies were defined (#811).
-------------------------------------------------------------------
Fri Jan 10 10:23:44 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Unset source date epoch for tests
-------------------------------------------------------------------
Fri Jan 10 03:12:41 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Change test skipping, the skipped one works, and another is broken.
-------------------------------------------------------------------
Wed Jan 8 17:39:28 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.0.0:
* **Add support for the `project` section in the
`pyproject.toml` file according to PEP 621** (#708, #792).
* Add support for non PEP440 compliant version in the
`platform_release` marker (#722).
* Add support for string comparisons with `in` / `not in` in
generic constraints (#722).
* Add support for script files that are generated by a build
script (#710).
* Add support for `SOURCE_DATE_EPOCH` when building packages
(#766, #781).
* Drop support for Python 3.8 (#798).
* Create `METADATA` files with version 2.3 instead of 2.2
* Normalize source vcs URLs (#701).
* Make `allow-prereleases` a tri-state setting (#783).
* Rename exceptions to have an `Error` suffix (#767).
* Remove support for `x` in version constraints (#770).
* Remove support for scripts with extras (#708).
* Remove deprecated features and interfaces (#702,
* #769).
* Deprecate `tool.poetry.dev-dependencies` in favor of
`tool.poetry.group.dev.dependencies` (#754).
* Deprecate `Package.python_marker` (#446).
* Improve Cygwin git support under Windows (#704).
* Improve error message when the `pyproject.toml` file cannot
be parsed (#734).
* Improve handling of `readme` files (#752).
* Improve error handling when the Python constraint is empty
(#761).
* Improve performance for creating a PEP 508 requirement from a
dependency (#779).
* Fix an issue where the `platlib` directory of the wrong
Python was used (#726).
* Fix handling of generic constraints (#732).
* Fix an issue where building a wheel in a nested output
directory results in an error (#762).
* Fix an issue where `+` was not allowed in git URL paths
(#765).
* Fix an issue where the temporary directory was not cleaned up
on error (#775).
* Fix an issue where the regular expression for author names
was too restrictive (#517).
* Fix an issue where basic auth http(s) credentials could not
be parsed (#791).
-------------------------------------------------------------------
Mon Oct 28 22:59:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.9.1:
* Add `3.13` to the list of available Python versions (#747).
- drop support-newer-pythons.patch (upstream)
-------------------------------------------------------------------
Thu Sep 19 04:14:57 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-newer-pythons.patch:
* Remove failing test with Python 3.12.6 and 3.13.
- Switch to autosetup macro.
-------------------------------------------------------------------
Mon Sep 9 18:50:14 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Skip test failing with Python 3.12.6 gh#python-poetry/poetry#9678
-------------------------------------------------------------------
Tue Mar 19 15:29:49 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-poetry-core
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,26 +18,26 @@
%{?sle15_python_module_pythons}
Name: python-poetry-core
Version: 1.9.0
Version: 2.1.3
Release: 0
Summary: Poetry PEP 517 Build Backend
License: Apache-2.0 AND BSD-2-Clause AND MIT AND Python-2.0
Group: Development/Languages/Python
URL: https://github.com/python-poetry/poetry-core
# Only the github archive provides the tests
Source: %{url}/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION these are all test dependencies, including python-devel and git-core
BuildRequires: %{python_module devel}
BuildRequires: %{python_module build}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tomli-w}
BuildRequires: %{python_module virtualenv}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module build >= 0.10.0}
BuildRequires: %{python_module pytest >= 7.1.2}
BuildRequires: %{python_module pytest-mock >= 3.10}
BuildRequires: %{python_module tomli-w >= 1.0.0}
BuildRequires: %{python_module trove-classifiers >= 2022.5.19}
BuildRequires: %{python_module virtualenv >= 20.21}
BuildRequires: git-core
# /SECTION
%python_subpackages
@@ -48,7 +48,7 @@ intended to be a light weight, fully compliant, self-contained package allowing
PEP 517 compatible build frontends to build Poetry managed projects.
%prep
%setup -q -n poetry-core-%{version}
%autosetup -p1 -n poetry-core-%{version}
mkdir vendoredlicenses
cp -p src/poetry/core/_vendor/lark/LICENSE vendoredlicenses/lark.LICENSE
cp -p src/poetry/core/_vendor/fastjsonschema/LICENSE vendoredlicenses/fastjsonschema.LICENSE
@@ -67,6 +67,8 @@ cp -p src/poetry/core/_vendor/tomli/LICENSE vendoredlicenses/tomli.L
%check
# gh#python-poetry/poetry#1645
git init
# tests expect the default 2016-01-01 for test builds, not the epoch set by OBS (serverside)
unset SOURCE_DATE_EPOCH
%pytest
%files %{python_files}