Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML::SemanticDiff::BasicHandler cannot be upgraded over cpan from 1.0006 to 1.0007 #12

Open
dilyanpalauzov opened this issue Mar 1, 2024 · 2 comments

Comments

@dilyanpalauzov
Copy link

The problem report is that using utils/cpan, after upgrading successfully XML::SemanticDiff::BasicHandler, it is still shown as not upgraded.

In perl-5.38.2/utils/cpan I do:

cpan shell -- CPAN exploration and modules installation (v2.36)
Enter 'h' for help.

cpan[1]> r
Reading '/root/.cpan/Metadata'
  Database was generated on Fri, 01 Mar 2024 18:29:01 GMT

Package namespace         installed    latest  in CPAN file
Mail::SPF                    v2.009 3.20240206  MBRADSHAW/Mail-SPF-3.20240206.tar.gz
Mail::SpamAssassin::Bayes::CombineChi     undef         1  SIDNEY/Mail-SpamAssassin-4.0.0.tar.gz
Math::Int64::die_on_overflow     undef      0.54  SALVA/Math-Int64-0.54.tar.gz
Types::Serialiser::Error      undef      1.01  MLEHMANN/Types-Serialiser-1.01.tar.gz
XML::DOM::DOMException        undef      1.26  ENNO/libxml-enno-1.00.tar.gz
XML::SemanticDiff::BasicHandler    1.0006    1.0007  PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
688 installed modules have no parsable version number
(use 'o conf show_unparsable_versions 1' to show them)

cpan[2]> upgrade XML::SemanticDiff::BasicHandler

Package namespace         installed    latest  in CPAN file
XML::SemanticDiff::BasicHandler    1.0006    1.0007  PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
Running install for module 'XML::SemanticDiff::BasicHandler'
Checksum for /root/.cpan/sources/authors/id/P/PE/PERIGRIN/XML-SemanticDiff-1.0007.tar.gz ok
Scanning cache /root/.cpan/build for sizes
....................................................------------------------DONE
DEL(1/13): /root/.cpan/build/XML-LibXML-2.0210-0
DEL(2/13): /root/.cpan/build/Data-Printer-1.002001-0
DEL(3/13): /root/.cpan/build/Email-Sender-2.601-0
DEL(4/13): /root/.cpan/build/IPC-Run3-0.049-0
DEL(5/13): /root/.cpan/build/Mail-DKIM-1.20240124-0
DEL(6/13): /root/.cpan/build/Math-Int64-0.57-0
DEL(7/13): /root/.cpan/build/Net-DNS-1.43-0
DEL(8/13): /root/.cpan/build/Test-Warnings-0.033-0
DEL(9/13): /root/.cpan/build/URI-5.25-0
DEL(10/13): /root/.cpan/build/YAML-LibYAML-0.89-0
DEL(11/13): /root/.cpan/build/libwww-perl-6.76-0
DEL(12/13): /root/.cpan/build/DateTime-TimeZone-2.62-0
DEL(13/13): /root/.cpan/build/MIME-Types-2.26-0
'YAML' not installed, will not store persistent state
Configuring P/PE/PERIGRIN/XML-SemanticDiff-1.0007.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'XML-SemanticDiff' version '1.0007'
  PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
  /usr/local/bin/perl Build.PL -- OK
Running Build for P/PE/PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
Building XML-SemanticDiff
  PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
  ./Build -- OK
Running Build test for PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
t/00-compile.t ........................ ok
t/01basic.t ........................... ok
t/02load_xml.t ........................ ok
t/03simple_compare.t .................. ok
t/04namespaces.t ...................... ok
t/05simple_handler.t .................. ok
t/06pass_to_handler.t ................. ok
t/07pitest.t .......................... ok
t/08nonexist_ns.t ..................... ok
t/09two-tags.t ........................ ok
t/10wide-chars.t ...................... ok
t/11tag-in-different-locations.t ...... ok
t/12missing-element-has-o-as-cdata.t .. ok
t/13to-doc-read.t ..................... ok
t/14ignore_xpath.t .................... ok
t/15ignore_multi.t .................... ok
t/16zero_to_empty_str_cmp.t ........... ok
t/style-trailing-space.t .............. skipped: Test::TrailingSpace required for trailing space test.
All tests successful.
Files=18, Tests=47,  4 wallclock secs ( 0.08 usr  0.02 sys +  1.35 cusr  0.31 csys =  1.76 CPU)
Result: PASS
Lockfile removed.
r
  PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
  ./Build test -- OK
Running Build install for PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
Building XML-SemanticDiff
Installing /usr/local/share/man/man3/XML::SemanticDiff::BasicHandler.3
Installing /usr/local/share/man/man3/XML::SemanticDiff.3
  PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
  ./Build install  -- OK

cpan[3]> r

Package namespace         installed    latest  in CPAN file
Mail::SPF                    v2.009 3.20240206  MBRADSHAW/Mail-SPF-3.20240206.tar.gz
Mail::SpamAssassin::Bayes::CombineChi     undef         1  SIDNEY/Mail-SpamAssassin-4.0.0.tar.gz
Math::Int64::die_on_overflow     undef      0.54  SALVA/Math-Int64-0.54.tar.gz
Types::Serialiser::Error      undef      1.01  MLEHMANN/Types-Serialiser-1.01.tar.gz
XML::DOM::DOMException        undef      1.26  ENNO/libxml-enno-1.00.tar.gz
XML::SemanticDiff::BasicHandler    1.0006    1.0007  PERIGRIN/XML-SemanticDiff-1.0007.tar.gz
688 installed modules have no parsable version number
(use 'o conf show_unparsable_versions 1' to show them)

cpan[4]>
@shlomif
Copy link
Owner

shlomif commented Mar 15, 2024

Hi @dilyanpalauzov ! I no longer maintain XML::SemanticDiff (and I also recommend against using it).

@dilyanpalauzov
Copy link
Author

The bottom of https://metacpan.org/pod/XML::SemanticDiff says

Source Code …
https://github.com/shlomif/perl-XML-SemanticDiff

I have installed the dependencies of SpamAssassin and this has somehow installed XML::SemanticDiff. Now cpan’s “report updates” does all the time say, that this package should be updated from version 1.0006 to 1.0007, but in practice this update is not possible. Only someone with authority in CPAN can fix this problem.

I kindly ask you, or the ones who maintain this package, to do the necessary to resolve this versions discrepancy, so that the fix works globally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants