Phase 7: netfox + godot-jolt stack upgrade
Stack installed: - netfox v1.35.3 (core + extras + noray + internals) - godot-jolt v0.16.0-stable Architecture: - Server: ENet transport (works headless, no netfox deps) - Client/Editor: netfox rollback (RollbackSynchronizer, TickInterpolator) New/modified: - docs/migration-netfox-plan.md — migration architecture - scripts/network/network_manager.gd — netfox-aware ENet fallback - scripts/network/player.gd — clean base player - client/characters/player_netfox.gd — rollback player w/ WeaponManager - client/characters/input/player_net_input.gd — BaseNetInput subclass - client/characters/character/fps_character_controller.gd — netfox input feed - client/weapons/ — weapon data, registry, TacticalWeaponHitscan, WeaponManager - client/scripts/round_replicator.gd — client-side round state bridge - server/scripts/round_manager.gd — improved state machine - server/scripts/plugin_api/plugin_manager.gd — refined plugin system - config: enemy_tag, ally_tag for meatball targeting Removed: old C++ SimulationServer GDExtension (replaced by netfox rollback)
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from setuptools import Command
|
||||
from setuptools.warnings import SetuptoolsDeprecationWarning
|
||||
|
||||
|
||||
# Would restrict to Literal["test"], but mypy doesn't support it: https://github.com/python/mypy/issues/8203
|
||||
def __getattr__(name: str) -> type[_test]:
|
||||
if name == 'test':
|
||||
SetuptoolsDeprecationWarning.emit(
|
||||
"The test command is disabled and references to it are deprecated.",
|
||||
"Please remove any references to `setuptools.command.test` in all "
|
||||
"supported versions of the affected package.",
|
||||
due_date=(2024, 11, 15),
|
||||
stacklevel=2,
|
||||
)
|
||||
return _test
|
||||
raise AttributeError(name)
|
||||
|
||||
|
||||
class _test(Command):
|
||||
"""
|
||||
Stub to warn when test command is referenced or used.
|
||||
"""
|
||||
|
||||
description = "stub for old test command (do not use)"
|
||||
|
||||
user_options = [
|
||||
('test-module=', 'm', "Run 'test_suite' in specified module"),
|
||||
(
|
||||
'test-suite=',
|
||||
's',
|
||||
"Run single test, case or suite (e.g. 'module.test_suite')",
|
||||
),
|
||||
('test-runner=', 'r', "Test runner to use"),
|
||||
]
|
||||
|
||||
def initialize_options(self):
|
||||
pass
|
||||
|
||||
def finalize_options(self):
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
raise RuntimeError("Support for the test command was removed in Setuptools 72")
|
||||
Reference in New Issue
Block a user