Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Issue installing latest netdisco - poetry error
      (Oliver Gorwits)
   2. Re: Issue installing latest netdisco - poetry error
      (Oliver Gorwits)
--- Begin Message ---
Hi Muris, indeed, looks like you need to update your Python install as 3.9+
is required.

To your other question about Python, you can read about it here:
https://github.com/netdisco/netdisco/wiki/Python-Worklets

But in short, over time Netdisco will move to having more parts implemented
in Python. The benefit being that people are more able to help develop in
Python than Perl, both for Netdisco itself and the many things it depends
on (libraries).

It may seem annoying to you, but in the early days of Netdisco 2.x we also
had many similar packaging/OS hiccups with Perl libraries, PostgreSQL, and
so on. If this becomes too much for you, the container version of Netdisco
is a great option (with podman).

Kind regards
Oliver.

On Mon, 16 Sept 2024 at 11:35, Muris <alcat...@gmail.com> wrote:

> I managed to find the github group with the issue, ive commented on github
>
>
>
> https://github.com/netdisco/netdisco/issues/1249
>
>
>
> Seems I wasn’t the only one experiencing the problem.
>
>
>
> Just a question though – I noticed with the later versions of netdisco
> Python capability has been added, im assuming what these files are for.
>
>
>
> Is there any examples or use cases how to use this new capability within
> netdisco on the website? Or what benefit it gives?
>
>
>
> *From: *Oliver Gorwits <oli...@cpan.org>
> *Date: *Monday 16 September 2024 at 18:05
> *To: *Muris <alcat...@gmail.com>
> *Cc: *"netdisco-users@lists.sourceforge.net" <
> netdisco-users@lists.sourceforge.net>
> *Subject: *Re: [Netdisco] Issue installing latest netdisco - poetry error
>
>
>
> Hi Muri, very sorry to hear of your trouble installing Netdisco.
>
>
> Have you managed to take a look into the log file which is referenced in
> the output?
> /home/netdisco/.cpanm/work/1726452315.17326/build.log
>
> I guess it's a missing package. For example on Debian we found that
> python3-venv is needed, as well as python3. Not sure on RPM based distro.
>
> kind regards
> Oliver.
>
>
>
> On Mon, 16 Sept 2024 at 05:36, Muris <alcat...@gmail.com> wrote:
>
> Hi,
>
>
>
> Im trying to install the update to netdisco but for some reason poetry is
> not installing, any reason?
>
>
>
> --> Working on App::Netdisco
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.079001.tar.gz ...
> OK
>
> Configuring App-Netdisco-2.079001 ... OK
>
> ==> Found dependencies: Alien::poetry
>
> --> Working on Alien::poetry
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/Alien-poetry-1.000006.tar.gz ...
> OK
>
> Configuring Alien-poetry-1.000006 ... OK
>
> Building Alien-poetry-1.000006 ... FAIL
>
> ! Installing Alien::poetry failed. See
> /home/netdisco/.cpanm/work/1726452181.9503/build.log for details. Retry
> with --force to force install it.
>
> ! Installing the dependencies failed: Module 'Alien::poetry' is not
> installed
>
> ! Bailing out the installation for App-Netdisco-2.079001.
>
> [netdisco@almalinux8 ~]$ ~/bin/localenv cpanm --notest App::Netdisco
>
> --> Working on App::Netdisco
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.079001.tar.gz ...
> OK
>
> Configuring App-Netdisco-2.079001 ... OK
>
> ==> Found dependencies: Alien::poetry
>
> --> Working on Alien::poetry
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/Alien-poetry-1.000006.tar.gz ...
> OK
>
> Configuring Alien-poetry-1.000006 ... OK
>
> Building Alien-poetry-1.000006 ... FAIL
>
> ! Installing Alien::poetry failed. See
> /home/netdisco/.cpanm/work/1726452315.17326/build.log for details. Retry
> with --force to force install it.
>
> ! Installing the dependencies failed: Module 'Alien::poetry' is not
> installed
>
> ! Bailing out the installation for App-Netdisco-2.079001.
>
>
>
> Checked the logs and says ..
>
>
>
> Installing Poetry (1.8.3)
>
> Installing Poetry (1.8.3): Creating environment
>
> Installing Poetry (1.8.3): Installing Poetry
>
> Installing Poetry (1.8.3): An error occurred. Removing partial environment.
>
> Poetry installation failed.
>
> See
> /home/netdisco/.cpanm/work/1726448773.374545/Alien-poetry-1.000006/_alien/build_PLDA/poetry-installer-error-z56l$
>
> external command failed at
> /home/netdisco/perl5/lib/perl5/Alien/Build/CommandSequence.pm line 72.
>
> make: *** [Makefile:957: _alien/mm/build] Error 1
>
> -> FAIL Installing Alien::poetry failed. See
> /home/netdisco/.cpanm/work/1726448773.374545/build.log for details. Ret$
>
> -> FAIL Installing the dependencies failed: Module 'Alien::poetry' is not
> installed
>
> -> FAIL Bailing out the installation for App-Netdisco-2.079001.
>
> Expiring 1 work directories.
>
> 4 distributions installed
>
>
>
>
>
>
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>

--- End Message ---
--- Begin Message ---
Hi Barry, it looks from the similar messages you need to update your Python
version to 3.9 or newer.

Kind regards
oliver.

On Mon, 16 Sept 2024 at 11:35, Dean, Barry <b...@liverpool.ac.uk> wrote:

> I got this as well. Log file
> (/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/poetry-installer-error-nj1i7evr.log)
> says:
>
> ERROR: Could not find a version that satisfies the requirement
> poetry==1.8.3 (from versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.0.post1,
> 0.4.1, 0.4.2, 0.5.0b1, 0.5.0b2, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3b1,
> 0.6.3b2, 0.6.3b3, 0.6.3b4, 0.6.3b5, 0.6.3b6, 0.6.3b7, 0.6.3, 0.6.4b1,
> 0.6.4, 0.6.5, 0.7.0b1, 0.7.0b2, 0.7.0b3, 0.7.0b4, 0.7.0, 0.7.1, 0.8.0a0,
> 0.8.0a1, 0.8.0a2, 0.8.0a3, 0.8.0a4, 0.8.0, 0.8.1a0, 0.8.1, 0.8.2, 0.8.3,
> 0.8.4, 0.8.5a0, 0.8.5, 0.8.6, 0.9.0a0, 0.9.0a1, 0.9.0a2, 0.9.0a3, 0.9.0,
> 0.9.1, 0.10.0a0, 0.10.0a1, 0.10.0a2, 0.10.0a3, 0.10.0, 0.10.1, 0.10.2,
> 0.10.3, 0.11.0a0, 0.11.0a1, 0.11.0a2, 0.11.0a3, 0.11.0a4, 0.11.0, 0.11.1,
> 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.12.0a0, 0.12.0a1, 0.12.0a2, 0.12.0a3,
> 0.12.0a4, 0.12.0a5, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 0.12.5, 0.12.6,
> 0.12.7, 0.12.8, 0.12.9, 0.12.10, 0.12.11, 0.12.12, 0.12.13, 0.12.14,
> 0.12.15, 0.12.16, 0.12.17, 1.0.0a0, 1.0.0a1, 1.0.0a2, 1.0.0a3, 1.0.0a4,
> 1.0.0a5, 1.0.0b1, 1.0.0b2, 1.0.0b3, 1.0.0b4, 1.0.0b5, 1.0.0b6, 1.0.0b7,
> 1.0.0b8, 1.0.0b9, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7,
> 1.0.8, 1.0.9, 1.0.10, 1.1.0a1, 1.1.0a2, 1.1.0a3, 1.1.0b1, 1.1.0b2, 1.1.0b3,
> 1.1.0b4, 1.1.0rc1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7,
> 1.1.8, 1.1.9, 1.1.10, 1.1.11, 1.1.12, 1.1.13, 1.1.14, 1.1.15, 1.2.0a1,
> 1.2.0a2)
>
> ERROR: No matching distribution found for poetry==1.8.3
>
>
>
> Traceback:
>
>
>
>   File
> "/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/install-poetry.py",
> line 923, in main
>
>     return installer.run()
>
>   File
> "/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/install-poetry.py",
> line 560, in run
>
>     self.install(version)
>
>   File
> "/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/install-poetry.py",
> line 582, in install
>
>     self.install_poetry(version, env)
>
>   File
> "/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/install-poetry.py",
> line 685, in install_poetry
>
>     env.pip("install", specification)
>
>   File
> "/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/install-poetry.py",
> line 375, in pip
>
>     return self.python("-m", "pip", *args, **kwargs)
>
>   File
> "/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/install-poetry.py",
> line 372, in python
>
>     return self.run(self._python, *args, **kwargs)
>
>   File
> "/usr/local/netdisco/.cpanm/work/1726480590.24679/Alien-poetry-1.000006/_alien/build_PA2n/install-poetry.py",
> line 367, in run
>
>     log=completed_process.stdout.decode(),
>
>
>
> *Thanks*
>
> *Barry Dean*
>
> *Network Analyst Team Leader*
>
>
>
> *From:* Oliver Gorwits <oli...@cpan.org>
> *Sent:* Monday, September 16, 2024 9:35 AM
> *To:* Muris <alcat...@gmail.com>
> *Cc:* netdisco-users@lists.sourceforge.net
> *Subject:* Re: [Netdisco] Issue installing latest netdisco - poetry error
>
>
>
> Caution: This email originated from outside of the University. Do not
> click links or open attachments unless you recognise the source of this
> email and know the content is safe. Check sender address, hover over URLs
> and don't open suspicious email attachments.
>
> Hi Muri, very sorry to hear of your trouble installing Netdisco.
>
>
> Have you managed to take a look into the log file which is referenced in
> the output?
> /home/netdisco/.cpanm/work/1726452315.17326/build.log
>
> I guess it's a missing package. For example on Debian we found that
> python3-venv is needed, as well as python3. Not sure on RPM based distro.
>
> kind regards
> Oliver.
>
>
>
> On Mon, 16 Sept 2024 at 05:36, Muris <alcat...@gmail.com> wrote:
>
> Hi,
>
>
>
> Im trying to install the update to netdisco but for some reason poetry is
> not installing, any reason?
>
>
>
> --> Working on App::Netdisco
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.079001.tar.gz ...
> OK
>
> Configuring App-Netdisco-2.079001 ... OK
>
> ==> Found dependencies: Alien::poetry
>
> --> Working on Alien::poetry
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/Alien-poetry-1.000006.tar.gz ...
> OK
>
> Configuring Alien-poetry-1.000006 ... OK
>
> Building Alien-poetry-1.000006 ... FAIL
>
> ! Installing Alien::poetry failed. See
> /home/netdisco/.cpanm/work/1726452181.9503/build.log for details. Retry
> with --force to force install it.
>
> ! Installing the dependencies failed: Module 'Alien::poetry' is not
> installed
>
> ! Bailing out the installation for App-Netdisco-2.079001.
>
> [netdisco@almalinux8 ~]$ ~/bin/localenv cpanm --notest App::Netdisco
>
> --> Working on App::Netdisco
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.079001.tar.gz ...
> OK
>
> Configuring App-Netdisco-2.079001 ... OK
>
> ==> Found dependencies: Alien::poetry
>
> --> Working on Alien::poetry
>
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/Alien-poetry-1.000006.tar.gz ...
> OK
>
> Configuring Alien-poetry-1.000006 ... OK
>
> Building Alien-poetry-1.000006 ... FAIL
>
> ! Installing Alien::poetry failed. See
> /home/netdisco/.cpanm/work/1726452315.17326/build.log for details. Retry
> with --force to force install it.
>
> ! Installing the dependencies failed: Module 'Alien::poetry' is not
> installed
>
> ! Bailing out the installation for App-Netdisco-2.079001.
>
>
>
> Checked the logs and says ..
>
>
>
> Installing Poetry (1.8.3)
>
> Installing Poetry (1.8.3): Creating environment
>
> Installing Poetry (1.8.3): Installing Poetry
>
> Installing Poetry (1.8.3): An error occurred. Removing partial environment.
>
> Poetry installation failed.
>
> See
> /home/netdisco/.cpanm/work/1726448773.374545/Alien-poetry-1.000006/_alien/build_PLDA/poetry-installer-error-z56l$
>
> external command failed at
> /home/netdisco/perl5/lib/perl5/Alien/Build/CommandSequence.pm line 72.
>
> make: *** [Makefile:957: _alien/mm/build] Error 1
>
> -> FAIL Installing Alien::poetry failed. See
> /home/netdisco/.cpanm/work/1726448773.374545/build.log for details. Ret$
>
> -> FAIL Installing the dependencies failed: Module 'Alien::poetry' is not
> installed
>
> -> FAIL Bailing out the installation for App-Netdisco-2.079001.
>
> Expiring 1 work directories.
>
> 4 distributions installed
>
>
>
>
>
>
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to