Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pylint: depend on python3-tomli; update homepage
@ 2022-07-08  8:50 r-ricci
  2022-07-08  8:54 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: r-ricci @ 2022-07-08  8:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1918 bytes --]

There is a new pull request by r-ricci against master on the void-packages repository

https://github.com/r-ricci/void-packages pylint
https://github.com/void-linux/void-packages/pull/37923

pylint: depend on python3-tomli; update homepage
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

It depends on both `tomlkit` and `tomli`:

```
$ printf 'print("hello")\n' > hello.py
$ pylint hello.py
[...]
pkg_resources.DistributionNotFound: The 'tomli>=1.1.0' distribution was not found and is required by pylint
$ sudo xbps-install python3-tomli
[...]
$ pylint hello.py
************* Module hello
hello.py:1:0: C0114: Missing module docstring (missing-module-docstring)

------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)

$ sudo xbps-remove -F python3-tomlkit
[...]
$ pylint hello.py
[...]
ModuleNotFoundError: No module named 'tomlkit'
```

@paper42

A patch file from https://github.com/void-linux/void-packages/pull/37923.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pylint-37923.patch --]
[-- Type: text/x-diff, Size: 1429 bytes --]

From d912868f73be0581bd3cbf2b51b42e61c8a3d109 Mon Sep 17 00:00:00 2001
From: Roberto Ricci <ricci@disroot.org>
Date: Fri, 8 Jul 2022 10:26:22 +0200
Subject: [PATCH] pylint: depend on python3-tomli; update homepage

---
 srcpkgs/pylint/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template
index d4330581a009..f6129ee6d0c4 100644
--- a/srcpkgs/pylint/template
+++ b/srcpkgs/pylint/template
@@ -1,18 +1,18 @@
 # Template file for 'pylint'
 pkgname=pylint
 version=2.14.4
-revision=1
+revision=2
 build_style=python3-module
 make_check_args="--deselect=tests/benchmark/test_baseline_benchmarks.py"
 hostmakedepends="python3-setuptools"
 depends="python3-astroid python3-isort python3-mccabe python3-tomlkit
- python3-platformdirs python3-dill"
+ python3-tomli python3-platformdirs python3-dill"
 checkdepends="$depends python3-pytest python3-tkinter python3-six
  python3-GitPython git"
 short_desc="Python code static checker"
 maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="GPL-2.0-or-later"
-homepage="https://www.pylint.org/"
+homepage="https://pylint.pycqa.org"
 changelog="https://raw.githubusercontent.com/PyCQA/pylint/main/doc/whatsnew/${version%.*.*}/${version%.*}/summary.rst"
 distfiles="https://github.com/PyCQA/pylint/archive/refs/tags/v$version.tar.gz"
 checksum=fdd513198ccdf96f8b9a70aca3eb80050edf87b433595c67784c0f9ddac80bb5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: pylint: depend on python3-tomli; update homepage
  2022-07-08  8:50 [PR PATCH] pylint: depend on python3-tomli; update homepage r-ricci
@ 2022-07-08  8:54 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-07-08  8:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]

There's a merged pull request on the void-packages repository

pylint: depend on python3-tomli; update homepage
https://github.com/void-linux/void-packages/pull/37923

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

It depends on both `tomlkit` and `tomli`:

```
$ printf 'print("hello")\n' > hello.py
$ pylint hello.py
[...]
pkg_resources.DistributionNotFound: The 'tomli>=1.1.0' distribution was not found and is required by pylint
$ sudo xbps-install python3-tomli
[...]
$ pylint hello.py
************* Module hello
hello.py:1:0: C0114: Missing module docstring (missing-module-docstring)

------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)

$ sudo xbps-remove -F python3-tomlkit
[...]
$ pylint hello.py
[...]
ModuleNotFoundError: No module named 'tomlkit'
```

@paper42

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-08  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08  8:50 [PR PATCH] pylint: depend on python3-tomli; update homepage r-ricci
2022-07-08  8:54 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).