Project

General

Profile

Actions

Bug #1227

closed

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

Added by Marko Lindqvist 3 months ago. Updated 13 days ago.

Status:
Closed
Priority:
Normal
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:


Files

Actions

Also available in: Atom PDF