Project

General

Profile

Actions

Bug #1227

open

generate_packets.py: DeprecationWarning: pathlib.PurePath.is_reserved()

Added by Marko Lindqvist 26 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Bootstrap
Target version:
-
Start date:
01/27/2025
Due date:
% Done:

0%

Estimated time:

Description

[6/781] Generating packets_server with a custom command
/fast/freeciv/S3_2/builds/mall32/../../src/common/generate_packets.py:46: DeprecationWarning: pathlib.PurePath.is_reserved() is deprecated and scheduled for removal in Python 3.15. Use os.path.isreserved() to detect reserved paths on Windows.
if path.is_reserved() or not path.name:
[12/781] Generating packets_client with a custom command
/fast/freeciv/S3_2/builds/mall32/../../src/common/generate_packets.py:46: DeprecationWarning: pathlib.PurePath.is_reserved() is deprecated and scheduled for removal in Python 3.15. Use os.path.isreserved() to detect reserved paths on Windows.
if path.is_reserved() or not path.name:
[14/781] Generating packets_common with a custom command
/fast/freeciv/S3_2/builds/mall32/../../src/common/generate_packets.py:46: DeprecationWarning: pathlib.PurePath.is_reserved() is deprecated and scheduled for removal in Python 3.15. Use os.path.isreserved() to detect reserved paths on Windows.
if path.is_reserved() or not path.name:

No data to display

Actions

Also available in: Atom PDF