Re: On what days are the git servers available to obtain the ports tree?

2022-05-04 Thread Andy Farkas



On 3/05/2022 9:07 am, Tatsuki Makino wrote:

To clean it up without cloning, we will have to make full use of the following 
commands, which are listed here.

# git stash push --all -- :/
# git stash pop
# git pull --autostash --rebase --prune --
# git reset --soft origin --
# git checkout HEAD -- :/
# git restore --source=HEAD --staged -- :/
# git clean -d --force -X -- :/


and to think in the old days we had to jump through hoops and type in:

# svnlitesync synchronize file://usr/svn/base svn://svn.freebsd.org/base

-andyf




Re: avoiding "install" for dependencies with PORTS_MODULES

2022-05-04 Thread G. Paul Ziemba
arr...@freebsd.org (Gleb Popov) writes:

>This is exactly the situation in which Poudriere helps. You can create a
>Poudriere jail out of /usr/src and /usr/obj and then build all the needed
>ports in the isolated environment. Once you finish, upgrade the host with
>installkernel & installworld and just do pkg upgrade -r
>local_poudriere_repo.

In the past, I've had difficulties creating a poudriere jail with a
newer version of the kernel than the host system. Has that situation
improved (last time I tried it was around two years ago)?
-- 
G. Paul Ziemba
FreeBSD unix:
 6:41AM  up 131 days, 14:43, 13 users, load averages: 0.28, 0.28, 0.25



Re: On what days are the git servers available to obtain the ports tree?

2022-05-04 Thread Jose Quinteiro
On 5/4/22 05:01, Andy Farkas wrote:
> 
> On 3/05/2022 9:07 am, Tatsuki Makino wrote:
>> To clean it up without cloning, we will have to make full use of the
>> following commands, which are listed here.
>>
>> # git stash push --all -- :/
>> # git stash pop
>> # git pull --autostash --rebase --prune --
>> # git reset --soft origin --
>> # git checkout HEAD -- :/
>> # git restore --source=HEAD --staged -- :/
>> # git clean -d --force -X -- :/
> 
> and to think in the old days we had to jump through hoops and type in:
> 
> # svnlitesync synchronize file://usr/svn/base svn://svn.freebsd.org/base
> 
How is that easier than "git pull"?

Thanks,
Jose



FreeBSD Port: py38-openpyxl-2.6.4

2022-05-04 Thread Alex V. Petrov

Very old version in ports.

I have error with pandas:
ImportError: Pandas requires version '3.0.0' or newer of 'openpyxl' 
(version '2.6.4' currently installed).


--
-
Alex.



FreeBSD ports you maintain which are out of date

2022-05-04 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
devel/py-archinfo   | 9.0.5405| v9.2.2
+-+
devel/py-cle| 9.0.5405| v9.2.2
+-+
math/py-claripy | 9.0.5405| v9.2.2
+-+
security/py-ailment | 9.0.5405| v9.2.2
+-+
security/py-angr| 9.0.5405| v9.2.2
+-+
security/py-pyvex   | 9.0.5405| v9.2.2
+-+
sysutils/rset   | 2.1 | 2.4
+-+
www/py-django-haystack  | 3.1.1   | 3.2.0
+-+
x11-wm/awesome-vicious  | 2.5.0   | v2.5.1
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Reported by:portscout!



ports git-repo not being updated?

2022-05-04 Thread Jonathan Chen

Hi,

I seem to be having a problem refreshing my ports-tree from git:

ports,8:39am# pwd
/usr/ports
ports,8:39am# git remote -v
origin  anon...@git.freebsd.org:ports.git (fetch)
origin  anon...@git.freebsd.org:ports.git (push)
ports,8:39am# git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
ports,8:39am# git pull
Already up to date.
#ports,8:39am git log
commit 92f35ee637fbcae48cf883deb68036ed114486ef (HEAD -> main, 
origin/main, origin/HEAD)

Author: Yuri Victorovich 
Date:   Sun May 1 18:02:31 2022 -0700

math/ensmallen: Update 2.17.0 -> 2.19.0

Reported by:portscout

...

However from https://cgit.freebsd.org/ports/ I can see that the last 
commit was 2022-05-04 20:32. For some reason I don't see commits after 
1-May-2022.


Am I using the wrong repo?

Cheers.
--
Jonathan Chen 



Re: ports git-repo not being updated?

2022-05-04 Thread Jonathan Chen

Looks like the developer repo and the public repo is out of sync. I raised:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263777

Cheers
--
Jonathan Chen 



Re: FreeBSD Port: py38-openpyxl-2.6.4

2022-05-04 Thread Kubilay Kocak

On 5/05/2022 3:09 am, Alex V. Petrov wrote:

Very old version in ports.

I have error with pandas:
ImportError: Pandas requires version '3.0.0' or newer of 'openpyxl' 
(version '2.6.4' currently installed).




Alex,

Upstream  does not declare/register a dependency (required or optional) 
on openpyxl in setup.py/setup.cfg/etc but tests for it (3.0.0) within 
their 'compat' module [1] via upstream issue #39603 [2] added in the 
following commit:


https://github.com/pandas-dev/pandas/commit/d5d43e0fa930f9bc96e3dcabf6eeb880c4fc6637

Notably openpyxl is listed within Optional Dependencies, describe as:

"If the optional dependency is not installed, pandas will raise an 
ImportError when the method requiring that dependency is called."


This appears to be intentional error/messaging used to communicate to 
pandas users that the method being used requires an optional dependency, 
that is currently not available/installed, rather than a port/package bug.


A better UX for ports users would be to add OPTIONS that map to the 
categories of additional functionality, depending on the relevant 
optional dependencies. Example:


 - HDF depending on pytables
 - XLSX Support depending on openpyxl
 - etc ...


[1] 
https://github.com/pandas-dev/pandas/blob/v1.3.5/pandas/compat/_optional.py#L22

[2] https://github.com/pandas-dev/pandas/issues/39603



Re: FreeBSD Port: py38-openpyxl-2.6.4

2022-05-04 Thread Alex V. Petrov

05.05.2022 06:48, Kubilay Kocak пишет:

On 5/05/2022 3:09 am, Alex V. Petrov wrote:

Very old version in ports.

I have error with pandas:
ImportError: Pandas requires version '3.0.0' or newer of 'openpyxl' 
(version '2.6.4' currently installed).




Alex,

Upstream  does not declare/register a dependency (required or 
optional) on openpyxl in setup.py/setup.cfg/etc but tests for it 
(3.0.0) within their 'compat' module [1] via upstream issue #39603 [2] 
added in the following commit:


https://github.com/pandas-dev/pandas/commit/d5d43e0fa930f9bc96e3dcabf6eeb880c4fc6637 



Notably openpyxl is listed within Optional Dependencies, describe as:

"If the optional dependency is not installed, pandas will raise an 
ImportError when the method requiring that dependency is called."


This appears to be intentional error/messaging used to communicate to 
pandas users that the method being used requires an optional 
dependency, that is currently not available/installed, rather than a 
port/package bug.


A better UX for ports users would be to add OPTIONS that map to the 
categories of additional functionality, depending on the relevant 
optional dependencies. Example:


 - HDF depending on pytables
 - XLSX Support depending on openpyxl
 - etc ...


[1] 
https://github.com/pandas-dev/pandas/blob/v1.3.5/pandas/compat/_optional.py#L22

[2] https://github.com/pandas-dev/pandas/issues/39603


Before march, pandas perfectly worked with "xlsx" files.


--
-
Alex.




Re: FreeBSD Port: py38-openpyxl-2.6.4

2022-05-04 Thread Kubilay Kocak

On 5/05/2022 9:59 am, Alex V. Petrov wrote:

05.05.2022 06:48, Kubilay Kocak пишет:

On 5/05/2022 3:09 am, Alex V. Petrov wrote:

Very old version in ports.

I have error with pandas:
ImportError: Pandas requires version '3.0.0' or newer of 'openpyxl' 
(version '2.6.4' currently installed).




Alex,

Upstream  does not declare/register a dependency (required or 
optional) on openpyxl in setup.py/setup.cfg/etc but tests for it 
(3.0.0) within their 'compat' module [1] via upstream issue #39603 [2] 
added in the following commit:


https://github.com/pandas-dev/pandas/commit/d5d43e0fa930f9bc96e3dcabf6eeb880c4fc6637

Notably openpyxl is listed within Optional Dependencies, describe as:

"If the optional dependency is not installed, pandas will raise an 
ImportError when the method requiring that dependency is called."


This appears to be intentional error/messaging used to communicate to 
pandas users that the method being used requires an optional 
dependency, that is currently not available/installed, rather than a 
port/package bug.


A better UX for ports users would be to add OPTIONS that map to the 
categories of additional functionality, depending on the relevant 
optional dependencies. Example:


 - HDF depending on pytables
 - XLSX Support depending on openpyxl
 - etc ...


[1] 
https://github.com/pandas-dev/pandas/blob/v1.3.5/pandas/compat/_optional.py#L22

[2] https://github.com/pandas-dev/pandas/issues/39603


Before march, pandas perfectly worked with "xlsx" files.




This is a by-product of upstream bumping the required version to 3.0.0, 
and doesn't change/affect the above analysis.


Of course, the openpyxl port should be updated, but this is orthogonal 
to the error message being intentional, and not a ports bug.


Please feel free to create a Bugzilla issue requesting an update



Re: ports git-repo not being updated?

2022-05-04 Thread Jonathan Chen

On 5/05/22 17:40, Matthias Fechner wrote:

Am 04.05.2022 um 22:45 schrieb Jonathan Chen:

origin anon...@git.freebsd.org:ports.git (fetch)
origin anon...@git.freebsd.org:ports.git (push) 


have you tried:
https://git.FreeBSD.org/ports.git 

like it is mentioned on this page?
https://cgit.freebsd.org/ports/


The issue has been fixed. A new mirror in Sydney had been introduced, 
and it needed a configuration fix.


Cheers.
--
Jonathan Chen