14
0

Accepting request 1105871 from home:bnavigator:branches:devel:languages:python

- Update to 3.0.2
  * Handle symlinks pointing to the main python3.x directory in a
    venv. In particular, this fixes an issue with Conda and Python
    3.10 (#16).
- Release 3.0.0
  * Require that the force_venv_activation argument to inithook is
    passed as keyword argument.
  * Remove (official) support for Python 3.6.
  * Do not include documentation files in pure library distribution
    (#13).
  * Clarify that the hook has to be configured in the [MAIN]
    section (#14)
- Drop pylint-venv-pr13-fixinclude.patch

OBS-URL: https://build.opensuse.org/request/show/1105871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint-venv?expand=0&rev=3
This commit is contained in:
2023-08-25 13:00:46 +00:00
committed by Git OBS Bridge
parent a7cf205414
commit a9e1fd0995
5 changed files with 26 additions and 33 deletions

View File

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

View File

@@ -1,22 +0,0 @@
From 1948a5060ad2b42c4badc74abadead866dc108fb Mon Sep 17 00:00:00 2001
From: Ben Greiner <code@bnavigator.de>
Date: Sun, 6 Nov 2022 16:37:14 +0100
Subject: [PATCH] Don't install README.rst into purelib toplevel
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 7d154c8..0125a62 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,7 +25,7 @@ classifiers = [
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development',
]
-include = ["README.rst", "CHANGELOG.md", "pylint_venv.py"]
+include = ["pylint_venv.py"]
[tool.poetry.dependencies]
python = "^3.6"

3
pylint_venv-3.0.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Aug 24 14:34:09 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.2
* Handle symlinks pointing to the main python3.x directory in a
venv. In particular, this fixes an issue with Conda and Python
3.10 (#16).
- Release 3.0.0
* Require that the force_venv_activation argument to inithook is
passed as keyword argument.
* Remove (official) support for Python 3.6.
* Do not include documentation files in pure library distribution
(#13).
* Clarify that the hook has to be configured in the [MAIN]
section (#14)
- Drop pylint-venv-pr13-fixinclude.patch
-------------------------------------------------------------------
Sun Nov 6 15:29:38 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pylint-venv
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,15 @@
Name: python-pylint-venv
Version: 2.3.0
Version: 3.0.2
Release: 0
Summary: Use the same Pylint installation with different virtual environments
License: MIT
URL: https://github.com/jgosmann/pylint-venv/
Source: https://files.pythonhosted.org/packages/source/p/pylint-venv/pylint-venv-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pylint-venv-pr13-fixinclude.patch gh#jgosmann/pylint-venv#13
Patch0: pylint-venv-pr13-fixinclude.patch
BuildRequires: %{python_module base >= 3.6}
Source: https://files.pythonhosted.org/packages/source/p/pylint-venv/pylint_venv-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module poetry-core >= 1}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-pylint_venv = %{version}-%{release}
@@ -38,7 +36,7 @@ BuildArch: noarch
pylint-venv provides a Pylint init-hook to use the same Pylint installation with different virtual environments.
%prep
%autosetup -p1 -n pylint-venv-%{version}
%autosetup -p1 -n pylint_venv-%{version}
%build
%pyproject_wheel