Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] guake - vsed in do_check fails
@ 2023-09-27 11:37 Requion
  2023-09-27 16:45 ` mhmdanas
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Requion @ 2023-09-27 11:37 UTC (permalink / raw)
  To: ml

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

New issue by Requion on void-packages repository

https://github.com/void-linux/void-packages/issues/46288

Description:
Hello,

i saw the subject line mentioned in #46170 . I like Guake and am actively using it, thus i would like to keep it working. Unfortunately my journey with Void and package maintenance just started and i lack the knowledge to fix it myself currently. For this reason, i wanted to provide my findings so far to help fixing the template as good as i can.

From what i could gather so far, the `vsed -i 's/from mock/from unittest.mock/g' guake/tests/test_quick_open.py` line fails because the directory `quake/tests/` does not exist in the tarball downloaded from pypi.org (it is included in the github tarball though). The `distfiles` property was changed from github to pypi in https://github.com/void-linux/void-packages/commit/eee156e480a0f5b5f89e94c9f59bb90e4bdd3cf9 [^1] by @Johnnynator , which, as per Guakes docs, is the correct approach to [build from source](https://guake.readthedocs.io/en/latest/user/installing.html#install-from-source).

There are multiple options to fix this, which is where i am uncertain about the correct approach.
1. Ask [upstream](https://github.com/Guake/guake) to include the tests in the tarball published on pypi
2. Remove the tests from the template (which were probably added for a reason)
3. Others which i personally see as *too hacky* like sideloading the tests

This said, i am looking forward on any feedback helping to fix the issue and improving my know-how on how to contribute.

Regards
Requion

[^1]: I searched / linked the commit to understand the turn of events, not to point fingers.

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

* Re: guake - vsed in do_check fails
  2023-09-27 11:37 [ISSUE] guake - vsed in do_check fails Requion
@ 2023-09-27 16:45 ` mhmdanas
  2023-09-28  7:46 ` Requion
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mhmdanas @ 2023-09-27 16:45 UTC (permalink / raw)
  To: ml

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

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/issues/46288#issuecomment-1737748839

Comment:
> Ask upstream to include the tests in the tarball published on pypi

This is probably the most reasonable option, but otherwise option 2 is also fine (though not preferred).

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

* Re: guake - vsed in do_check fails
  2023-09-27 11:37 [ISSUE] guake - vsed in do_check fails Requion
  2023-09-27 16:45 ` mhmdanas
@ 2023-09-28  7:46 ` Requion
  2023-12-28  1:45 ` github-actions
  2024-01-11  1:47 ` [ISSUE] [CLOSED] " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: Requion @ 2023-09-28  7:46 UTC (permalink / raw)
  To: ml

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

New comment by Requion on void-packages repository

https://github.com/void-linux/void-packages/issues/46288#issuecomment-1738645635

Comment:
I created Guake/guake#2204 to ask if the test can be added to the pypi tarballs or get some more clarification on the *intended* packaging process.

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

* Re: guake - vsed in do_check fails
  2023-09-27 11:37 [ISSUE] guake - vsed in do_check fails Requion
  2023-09-27 16:45 ` mhmdanas
  2023-09-28  7:46 ` Requion
@ 2023-12-28  1:45 ` github-actions
  2024-01-11  1:47 ` [ISSUE] [CLOSED] " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2023-12-28  1:45 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/46288#issuecomment-1870743065

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

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

* Re: [ISSUE] [CLOSED] guake - vsed in do_check fails
  2023-09-27 11:37 [ISSUE] guake - vsed in do_check fails Requion
                   ` (2 preceding siblings ...)
  2023-12-28  1:45 ` github-actions
@ 2024-01-11  1:47 ` github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2024-01-11  1:47 UTC (permalink / raw)
  To: ml

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

Closed issue by Requion on void-packages repository

https://github.com/void-linux/void-packages/issues/46288

Description:
Hello,

i saw the subject line mentioned in #46170 . I like Guake and am actively using it, thus i would like to keep it working. Unfortunately my journey with Void and package maintenance just started and i lack the knowledge to fix it myself currently. For this reason, i wanted to provide my findings so far to help fixing the template as good as i can.

From what i could gather so far, the `vsed -i 's/from mock/from unittest.mock/g' guake/tests/test_quick_open.py` line fails because the directory `quake/tests/` does not exist in the tarball downloaded from pypi.org (it is included in the github tarball though). The `distfiles` property was changed from github to pypi in https://github.com/void-linux/void-packages/commit/eee156e480a0f5b5f89e94c9f59bb90e4bdd3cf9 [^1] by @Johnnynator , which, as per Guakes docs, is the correct approach to [build from source](https://guake.readthedocs.io/en/latest/user/installing.html#install-from-source).

There are multiple options to fix this, which is where i am uncertain about the correct approach.
1. Ask [upstream](https://github.com/Guake/guake) to include the tests in the tarball published on pypi
2. Remove the tests from the template (which were probably added for a reason)
3. Others which i personally see as *too hacky* like sideloading the tests

This said, i am looking forward on any feedback helping to fix the issue and improving my know-how on how to contribute.

Regards
Requion

[^1]: I searched / linked the commit to understand the turn of events, not to point fingers.

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

end of thread, other threads:[~2024-01-11  1:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 11:37 [ISSUE] guake - vsed in do_check fails Requion
2023-09-27 16:45 ` mhmdanas
2023-09-28  7:46 ` Requion
2023-12-28  1:45 ` github-actions
2024-01-11  1:47 ` [ISSUE] [CLOSED] " github-actions

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).