Solved npm dependency on Python 2.7?

Hello everyone,
I wanted to download npm, but it wants python 2, which is unsupported.

Code:
:~ # pkg install npm

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        npm: 6.12.1
        python27: 2.7.18

Number of packages to be installed: 2

The process will require 88 MiB more space.

Proceed with this action? [y/N]:

After installing I get message :

Code:
--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter
--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

EOLed upstream.

It is scheduled to be removed on or after 2020-12-31.

I don't get it, except it is using unsupported python. I don't want python2.
On npm github they say it is updated, but 'npm update npm' doesn't work.
Do you know what is it about? Do I miss something?

Edit: on windows I have npm 6.14.4 and only py3. In pkg there is npm: 6.12.1
 
The www/npm has a run dependency on whatever Python is set as default. The default is set to Python 3.7.

Code:
root@molly:/usr/ports/www/npm # make run-depends-list
/usr/ports/devel/gmake
/usr/ports/www/node
/usr/ports/lang/python37

This was changed fairly recently and I suspect that this change hasn't happened in the quarterly repository yet.
 
In July a new quarterly will be made. Then this change will find its way there too.
 
Back
Top