Raku / Documentable

Documentation API: caching, parsing, indexing and generating documentation
https://docs.raku.org
Artistic License 2.0
11 stars 13 forks source link

File::Temp dependencies invalid #162

Open coke opened 2 years ago

coke commented 2 years ago

Can't install Documentable because File::Temp:ver<0.0.6> isn't found.

$ zef install Documentable
===> Searching for: Documentable
===> Searching for missing dependencies: Pod::Load:ver<0.5.4>, Pod::To::HTML:ver<0.6.1>, Pod::To::Cached:ver<0.3.3+>, Perl6::TypeGraph:ver<2.1.1+>:auth<github:antoniogamiz>:api<2>, Pod::Utilities:ver<0.0.1>, File::Temp:ver<0.0.6>, JSON::Fast:ver<0.9.18>, Terminal::Spinners, Test::META:ver<0.0.16>
===> Failed to find dependencies: File::Temp:ver<0.0.6>
Failed to resolve some missing dependencies (use e.g. --exclude="File::Temp" to skip)
===> Searching for: Documentable
===> Searching for missing dependencies: Pod::Load:ver<0.5.4>, Pod::To::HTML:ver<0.6.1>, Pod::To::Cached:ver<0.3.3+>, Perl6::TypeGraph:ver<2.1.1+>:auth<github:antoniogamiz>:api<2>, Pod::Utilities:ver<0.0.1>, File::Temp:ver<0.0.6>, JSON::Fast:ver<0.9.18>, Terminal::Spinners, Test::META:ver<0.0.16>
===> Failed to find dependencies: File::Temp:ver<0.0.6>
Failed to resolve some missing dependencies (use e.g. --exclude="File::Temp" to skip)
$ raku --version
Welcome to Rakudo™ v2022.04.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.04.

Looks like the fix is to remove or update the pinned version

JJ commented 2 years ago

Can't reproduce, sorry Captura de pantalla de 2022-04-26 16-52-43 It's in the local cache in my case, so I guess that it will have to be fixed anyway. It fails for a different reason, anyway, and it's probably related to all the changes in CUR in the latest releases.

JJ commented 2 years ago

Also, the version in HEAD has File::Temp 0.0.8+ I guess I'll have to release.

coke commented 2 years ago

Tried via git clone of master, seems ok, so this should be closable post-release.

coke commented 2 years ago

What do we need to do to cut a release?

$ zef info Documentable
- Info for: Documentable
- Identity: Documentable:ver<1.0.0>:auth<github:perl6>:api<3>
- Recommended By: Zef::Repository::Ecosystems<rea>
- Installed: No
Description:     Represents a piece of Perl 6 that is documented.
License:         Artistic-2.0
Source-url:      https://raw.githubusercontent.com/raku/REA/main/archive/D/Documentable/Documentable%3Aver%3C1.0.0%3E%3Aauth%3Cgithub%3Aperl6%3E%3Aapi%3C3%3E.tar.gz
Provides: 16 modules
Depends: 10 items
JJ commented 2 years ago

Problem is, Documentable is not working any more with the current release. And since this is being superseded by the dynamic site, I don't think it's a priority to fix it and/or release a new version.

coke commented 2 years ago

FYI:

I'll work around it for now.

JJ commented 2 years ago

FYI:

* the new dynamic site is also using Documentable

?? Lost me here. There's not much Documentable is doing other than generating a static site.

* this breakage predates the last PR merge in raku/doc

Right, and the fix was too, but the moment we realized we needed to do a release was after documentable stopped working. It's not worth the while to do a release when we know it's going to fail. Workaround is to use current git clone with old Raku, 2022.03. At any rate, if it's really going to be used it might be worth the while to give it a bit of love (in some other issue, probably).