Skip to content

Instantly share code, notes, and snippets.

@FliegendeWurst
Created December 1, 2024 07:37
Show Gist options
  • Save FliegendeWurst/7428162b277d7ca1b9c373e291719e2f to your computer and use it in GitHub Desktop.
Save FliegendeWurst/7428162b277d7ca1b9c373e291719e2f to your computer and use it in GitHub Desktop.
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/palmiyfqg8b0nkf5ihq1qk0xd7y2rg2w-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/worldengine/world.py
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
substituteStream() in derivation python3.12-worldengine-0.19.0: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'setup.py')
applying patch /nix/store/2hd7apyrxpkg6rh87f84wgxg1v1129qw-numpy-sequence.patch
patching file worldengine/image_io.py
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing setuptoolsBuildPhase
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
/nix/store/vrgb0laxgjk101nh3gj2p6a3qzjnjbvb-python3.12-setuptools-75.3.0/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!
********************************************************************************
With Python 2.7 end-of-life, support for building universal wheels
(i.e., wheels that support both Python 2 and Python 3)
is being obviated.
Please discontinue using this option, or if you still need it,
file an issue with pypa/setuptools describing your use case.
By 2025-Aug-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
********************************************************************************
!!
self.finalize_options()
running build
running build_py
creating build/lib/worldengine
copying worldengine/__init__.py -> build/lib/worldengine
copying worldengine/__main__.py -> build/lib/worldengine
copying worldengine/astar.py -> build/lib/worldengine
copying worldengine/basic_map_operations.py -> build/lib/worldengine
copying worldengine/biome.py -> build/lib/worldengine
copying worldengine/common.py -> build/lib/worldengine
copying worldengine/draw.py -> build/lib/worldengine
copying worldengine/drawing_functions.py -> build/lib/worldengine
copying worldengine/generation.py -> build/lib/worldengine
copying worldengine/hdf5_serialization.py -> build/lib/worldengine
copying worldengine/plates.py -> build/lib/worldengine
copying worldengine/step.py -> build/lib/worldengine
copying worldengine/version.py -> build/lib/worldengine
copying worldengine/world.py -> build/lib/worldengine
copying worldengine/image_io.py -> build/lib/worldengine
creating build/lib/worldengine/cli
copying worldengine/cli/__init__.py -> build/lib/worldengine/cli
copying worldengine/cli/main.py -> build/lib/worldengine/cli
creating build/lib/worldengine/simulations
copying worldengine/simulations/__init__.py -> build/lib/worldengine/simulations
copying worldengine/simulations/basic.py -> build/lib/worldengine/simulations
copying worldengine/simulations/biome.py -> build/lib/worldengine/simulations
copying worldengine/simulations/erosion.py -> build/lib/worldengine/simulations
copying worldengine/simulations/humidity.py -> build/lib/worldengine/simulations
copying worldengine/simulations/hydrology.py -> build/lib/worldengine/simulations
copying worldengine/simulations/icecap.py -> build/lib/worldengine/simulations
copying worldengine/simulations/irrigation.py -> build/lib/worldengine/simulations
copying worldengine/simulations/permeability.py -> build/lib/worldengine/simulations
copying worldengine/simulations/precipitation.py -> build/lib/worldengine/simulations
copying worldengine/simulations/temperature.py -> build/lib/worldengine/simulations
creating build/lib/worldengine/protobuf
copying worldengine/protobuf/__init__.py -> build/lib/worldengine/protobuf
copying worldengine/protobuf/World_pb2.py -> build/lib/worldengine/protobuf
creating build/lib/worldengine/imex
copying worldengine/imex/__init__.py -> build/lib/worldengine/imex
/nix/store/vrgb0laxgjk101nh3gj2p6a3qzjnjbvb-python3.12-setuptools-75.3.0/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/worldengine
copying build/lib/worldengine/__init__.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/__main__.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/astar.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/basic_map_operations.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/biome.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/common.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/draw.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/drawing_functions.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/generation.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/hdf5_serialization.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/plates.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/step.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/version.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/world.py -> build/bdist.linux-x86_64/wheel/./worldengine
copying build/lib/worldengine/image_io.py -> build/bdist.linux-x86_64/wheel/./worldengine
creating build/bdist.linux-x86_64/wheel/worldengine/cli
copying build/lib/worldengine/cli/__init__.py -> build/bdist.linux-x86_64/wheel/./worldengine/cli
copying build/lib/worldengine/cli/main.py -> build/bdist.linux-x86_64/wheel/./worldengine/cli
creating build/bdist.linux-x86_64/wheel/worldengine/simulations
copying build/lib/worldengine/simulations/__init__.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/basic.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/biome.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/erosion.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/humidity.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/hydrology.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/icecap.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/irrigation.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/permeability.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/precipitation.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
copying build/lib/worldengine/simulations/temperature.py -> build/bdist.linux-x86_64/wheel/./worldengine/simulations
creating build/bdist.linux-x86_64/wheel/worldengine/protobuf
copying build/lib/worldengine/protobuf/__init__.py -> build/bdist.linux-x86_64/wheel/./worldengine/protobuf
copying build/lib/worldengine/protobuf/World_pb2.py -> build/bdist.linux-x86_64/wheel/./worldengine/protobuf
creating build/bdist.linux-x86_64/wheel/worldengine/imex
copying build/lib/worldengine/imex/__init__.py -> build/bdist.linux-x86_64/wheel/./worldengine/imex
running install_egg_info
running egg_info
creating worldengine.egg-info
writing worldengine.egg-info/PKG-INFO
writing dependency_links to worldengine.egg-info/dependency_links.txt
writing entry points to worldengine.egg-info/entry_points.txt
writing requirements to worldengine.egg-info/requires.txt
writing top-level names to worldengine.egg-info/top_level.txt
writing manifest file 'worldengine.egg-info/SOURCES.txt'
reading manifest file 'worldengine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh'
no previously-included directories found matching 'appveyor'
no previously-included directories found matching 'tests'
no previously-included directories found matching 'tox.ini'
no previously-included directories found matching '*.yml'
no previously-included directories found matching '*.cfg'
adding license file 'LICENSE.txt'
writing manifest file 'worldengine.egg-info/SOURCES.txt'
Copying worldengine.egg-info to build/bdist.linux-x86_64/wheel/./worldengine-0.19.0-py3.12.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/worldengine-0.19.0.dist-info/WHEEL
creating 'dist/worldengine-0.19.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'worldengine/__init__.py'
adding 'worldengine/__main__.py'
adding 'worldengine/astar.py'
adding 'worldengine/basic_map_operations.py'
adding 'worldengine/biome.py'
adding 'worldengine/common.py'
adding 'worldengine/draw.py'
adding 'worldengine/drawing_functions.py'
adding 'worldengine/generation.py'
adding 'worldengine/hdf5_serialization.py'
adding 'worldengine/image_io.py'
adding 'worldengine/plates.py'
adding 'worldengine/step.py'
adding 'worldengine/version.py'
adding 'worldengine/world.py'
adding 'worldengine/cli/__init__.py'
adding 'worldengine/cli/main.py'
adding 'worldengine/imex/__init__.py'
adding 'worldengine/protobuf/World_pb2.py'
adding 'worldengine/protobuf/__init__.py'
adding 'worldengine/simulations/__init__.py'
adding 'worldengine/simulations/basic.py'
adding 'worldengine/simulations/biome.py'
adding 'worldengine/simulations/erosion.py'
adding 'worldengine/simulations/humidity.py'
adding 'worldengine/simulations/hydrology.py'
adding 'worldengine/simulations/icecap.py'
adding 'worldengine/simulations/irrigation.py'
adding 'worldengine/simulations/permeability.py'
adding 'worldengine/simulations/precipitation.py'
adding 'worldengine/simulations/temperature.py'
adding 'worldengine-0.19.0.dist-info/LICENSE.txt'
adding 'worldengine-0.19.0.dist-info/METADATA'
adding 'worldengine-0.19.0.dist-info/WHEEL'
adding 'worldengine-0.19.0.dist-info/entry_points.txt'
adding 'worldengine-0.19.0.dist-info/top_level.txt'
adding 'worldengine-0.19.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Executing pypaInstallPhase
/nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0/lib/python3.12/site-packages/worldengine/cli/main.py:444: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if args.temps and len(args.temps.split('/')) is not 6:
/nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0/lib/python3.12/site-packages/worldengine/cli/main.py:462: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if args.humids and len(args.humids.split('/')) is not 7:
/nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0/lib/python3.12/site-packages/worldengine/cli/main.py:444: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if args.temps and len(args.temps.split('/')) is not 6:
/nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0/lib/python3.12/site-packages/worldengine/cli/main.py:462: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if args.humids and len(args.humids.split('/')) is not 7:
Successfully installed worldengine-0.19.0-py2.py3-none-any.whl
Finished executing pypaInstallPhase
Running phase: pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
shrinking RPATHs of ELF executables and libraries in /nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0
checking for references to /build/ in /nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0...
patching script interpreter paths in /nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0
stripping (with command strip and flags -S -p) in /nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0/lib /nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/4hrrlh65fmvgmiz44ggz2fhs3l45gaf7-python3.12-worldengine-0.19.0-dist
checking for references to /build/ in /nix/store/4hrrlh65fmvgmiz44ggz2fhs3l45gaf7-python3.12-worldengine-0.19.0-dist...
patching script interpreter paths in /nix/store/4hrrlh65fmvgmiz44ggz2fhs3l45gaf7-python3.12-worldengine-0.19.0-dist
Rewriting #!/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7/bin/python3.12 to #!/nix/store/g1zx5x7mmclk2gmwkbd3f33cmc8a6hz2-python3-3.12.7
wrapping `/nix/store/z6br8prs8829428b61jmg96qsgakylax-python3.12-worldengine-0.19.0/bin/worldengine'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
@nix { "action": "setPhase", "phase": "installCheckPhase" }
no Makefile or custom installCheckPhase, doing nothing
Running phase: pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
Running phase: pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
Running phase: pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
Executing pythonImportsCheckPhase
Running phase: pytestCheckPhase
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /build/source
collecting ... 
collected 39 items / 2 deselected / 37 selected 
tests/astar_test.py . [ 2%]
tests/basic_map_operations_test.py F. [ 8%]
tests/biome_test.py ..... [ 21%]
tests/cli_test.py ....... [ 40%]
tests/common_test.py F.. [ 48%]
tests/draw_test.py ........F..... [ 86%]
tests/drawing_functions_test.py F.. [ 94%]
tests/generation_test.py .. [100%]
=================================== FAILURES ===================================
_____________________ TestBasicMapOperations.test_distance _____________________
self = <tests.basic_map_operations_test.TestBasicMapOperations testMethod=test_distance>
def test_distance(self):
> self.assertAlmostEquals(22.360679774997898, distance((0, 0), (10, 20)))
E AttributeError: 'TestBasicMapOperations' object has no attribute 'assertAlmostEquals'. Did you mean: 'assertAlmostEqual'?
tests/basic_map_operations_test.py:12: AttributeError
__________________________ TestCommon.test_antialias ___________________________
self = <tests.common_test.TestCommon testMethod=test_antialias>
def test_antialias(self):
original = numpy.array([[0.5, 0.12, 0.7, 0.15, 0.0],
[0.0, 0.12, 0.7, 0.7, 8.0],
[0.2, 0.12, 0.7, 0.7, 4.0]])
antialiased = anti_alias(original, 1)
> self.assertAlmostEquals(1.2781818181818183, antialiased[0][0])
E AttributeError: 'TestCommon' object has no attribute 'assertAlmostEquals'. Did you mean: 'assertAlmostEqual'?
tests/common_test.py:34: AttributeError
_________________________ TestDraw.test_draw_satellite _________________________
self = <tests.draw_test.TestDraw testMethod=test_draw_satellite>
def test_draw_satellite(self):
w = World.open_protobuf("%s/seed_28070.world" % self.tests_data_dir)
target = PNGWriter.rgba_from_dimensions(w.width, w.height)
> draw_satellite(w, target)
tests/draw_test.py:160:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
worldengine/draw.py:440: in draw_satellite
r, g, b = add_colors(base_color, RIVER_COLOR_CHANGE)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (array([ 2, 3, 25, 255], dtype=uint8), (-12, -12, 4))
def add_colors(*args):
''' Do some *args magic to return a tuple, which has the sums of all tuples in *args '''
# Adapted from an answer here: http://stackoverflow.com/questions/14180866/sum-each-value-in-a-list-of-tuples
> added = [sum(x) for x in zip(*args)]
E OverflowError: Python integer -12 out of bounds for uint8
worldengine/draw.py:220: OverflowError
__________________ TestDrawingFunctions.test_draw_ancient_map __________________
self = <tests.drawing_functions_test.TestDrawingFunctions testMethod=test_draw_ancient_map>
def test_draw_ancient_map(self):
target = PNGWriter.rgba_from_dimensions(self.w.width * 3, self.w.height * 3)
draw_ancientmap(self.w, target, resize_factor=3)
> self._assert_img_equal("ancientmap_28070_factor3", target)
tests/drawing_functions_test.py:18:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/draw_test.py:52: in _assert_img_equal
self.assertTrue(False,
E AssertionError: False is not true : Pixels at 0, 0 are different. Blessed [212 198 169 255], drawn [ 41 27 83 255]
=============================== warnings summary ===============================
worldengine/protobuf/World_pb2.py:16
/build/source/worldengine/protobuf/World_pb2.py:16: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
DESCRIPTOR = _descriptor.FileDescriptor(
worldengine/protobuf/World_pb2.py:34
/build/source/worldengine/protobuf/World_pb2.py:34: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:27
/build/source/worldengine/protobuf/World_pb2.py:27: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_DOUBLEROW = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:64
/build/source/worldengine/protobuf/World_pb2.py:64: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:57
/build/source/worldengine/protobuf/World_pb2.py:57: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_BOOLEANROW = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:94
/build/source/worldengine/protobuf/World_pb2.py:94: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:87
/build/source/worldengine/protobuf/World_pb2.py:87: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_INTEGERROW = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:124
/build/source/worldengine/protobuf/World_pb2.py:124: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:117
/build/source/worldengine/protobuf/World_pb2.py:117: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_BYTEROW = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:154
/build/source/worldengine/protobuf/World_pb2.py:154: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:147
/build/source/worldengine/protobuf/World_pb2.py:147: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_DOUBLEMATRIX = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:184
/build/source/worldengine/protobuf/World_pb2.py:184: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:177
/build/source/worldengine/protobuf/World_pb2.py:177: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_BOOLEANMATRIX = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:214
/build/source/worldengine/protobuf/World_pb2.py:214: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:207
/build/source/worldengine/protobuf/World_pb2.py:207: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_INTEGERMATRIX = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:244
/build/source/worldengine/protobuf/World_pb2.py:244: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:251
/build/source/worldengine/protobuf/World_pb2.py:251: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:237
/build/source/worldengine/protobuf/World_pb2.py:237: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_DOUBLEQUANTILE = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:281
/build/source/worldengine/protobuf/World_pb2.py:281: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:288
/build/source/worldengine/protobuf/World_pb2.py:288: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:274
/build/source/worldengine/protobuf/World_pb2.py:274: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_DOUBLEMATRIXWITHQUANTILES = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:318
/build/source/worldengine/protobuf/World_pb2.py:318: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:325
/build/source/worldengine/protobuf/World_pb2.py:325: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:332
/build/source/worldengine/protobuf/World_pb2.py:332: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:339
/build/source/worldengine/protobuf/World_pb2.py:339: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:311
/build/source/worldengine/protobuf/World_pb2.py:311: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD_GENERATIONDATA = _descriptor.Descriptor(
worldengine/protobuf/World_pb2.py:369
/build/source/worldengine/protobuf/World_pb2.py:369: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:376
/build/source/worldengine/protobuf/World_pb2.py:376: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:383
/build/source/worldengine/protobuf/World_pb2.py:383: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:390
/build/source/worldengine/protobuf/World_pb2.py:390: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:397
/build/source/worldengine/protobuf/World_pb2.py:397: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:404
/build/source/worldengine/protobuf/World_pb2.py:404: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:411
/build/source/worldengine/protobuf/World_pb2.py:411: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:418
/build/source/worldengine/protobuf/World_pb2.py:418: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:425
/build/source/worldengine/protobuf/World_pb2.py:425: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:432
/build/source/worldengine/protobuf/World_pb2.py:432: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:439
/build/source/worldengine/protobuf/World_pb2.py:439: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:446
/build/source/worldengine/protobuf/World_pb2.py:446: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:453
/build/source/worldengine/protobuf/World_pb2.py:453: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:460
/build/source/worldengine/protobuf/World_pb2.py:460: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:467
/build/source/worldengine/protobuf/World_pb2.py:467: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:474
/build/source/worldengine/protobuf/World_pb2.py:474: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:481
/build/source/worldengine/protobuf/World_pb2.py:481: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:488
/build/source/worldengine/protobuf/World_pb2.py:488: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:495
/build/source/worldengine/protobuf/World_pb2.py:495: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:502
/build/source/worldengine/protobuf/World_pb2.py:502: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:509
/build/source/worldengine/protobuf/World_pb2.py:509: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:516
/build/source/worldengine/protobuf/World_pb2.py:516: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:523
/build/source/worldengine/protobuf/World_pb2.py:523: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:530
/build/source/worldengine/protobuf/World_pb2.py:530: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:537
/build/source/worldengine/protobuf/World_pb2.py:537: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:544
/build/source/worldengine/protobuf/World_pb2.py:544: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:551
/build/source/worldengine/protobuf/World_pb2.py:551: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:558
/build/source/worldengine/protobuf/World_pb2.py:558: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:565
/build/source/worldengine/protobuf/World_pb2.py:565: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:572
/build/source/worldengine/protobuf/World_pb2.py:572: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:579
/build/source/worldengine/protobuf/World_pb2.py:579: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:586
/build/source/worldengine/protobuf/World_pb2.py:586: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:593
/build/source/worldengine/protobuf/World_pb2.py:593: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:600
/build/source/worldengine/protobuf/World_pb2.py:600: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:607
/build/source/worldengine/protobuf/World_pb2.py:607: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:614
/build/source/worldengine/protobuf/World_pb2.py:614: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_descriptor.FieldDescriptor(
worldengine/protobuf/World_pb2.py:362
/build/source/worldengine/protobuf/World_pb2.py:362: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
_WORLD = _descriptor.Descriptor(
worldengine/cli/main.py:444
/build/source/worldengine/cli/main.py:444: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if args.temps and len(args.temps.split('/')) is not 6:
worldengine/cli/main.py:462
/build/source/worldengine/cli/main.py:462: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if args.humids and len(args.humids.split('/')) is not 7:
tests/cli_test.py::TestCLI::test_smoke_ancient
tests/drawing_functions_test.py::TestDrawingFunctions::test_draw_ancient_map
/build/source/worldengine/drawing_functions.py:696: RuntimeWarning: overflow encountered in scalar multiply
tot_r = target[y, x][0] * 2
tests/cli_test.py::TestCLI::test_smoke_ancient
tests/drawing_functions_test.py::TestDrawingFunctions::test_draw_ancient_map
/build/source/worldengine/drawing_functions.py:697: RuntimeWarning: overflow encountered in scalar multiply
tot_g = target[y, x][1] * 2
tests/cli_test.py::TestCLI::test_smoke_ancient
tests/drawing_functions_test.py::TestDrawingFunctions::test_draw_ancient_map
/build/source/worldengine/drawing_functions.py:698: RuntimeWarning: overflow encountered in scalar multiply
tot_b = target[y, x][2] * 2
tests/cli_test.py::TestCLI::test_smoke_ancient
tests/drawing_functions_test.py::TestDrawingFunctions::test_draw_ancient_map
/build/source/worldengine/drawing_functions.py:706: RuntimeWarning: overflow encountered in scalar add
tot_r += target[py, px][0]
tests/cli_test.py::TestCLI::test_smoke_ancient
tests/drawing_functions_test.py::TestDrawingFunctions::test_draw_ancient_map
/build/source/worldengine/drawing_functions.py:707: RuntimeWarning: overflow encountered in scalar add
tot_g += target[py, px][1]
tests/cli_test.py::TestCLI::test_smoke_ancient
tests/drawing_functions_test.py::TestDrawingFunctions::test_draw_ancient_map
/build/source/worldengine/drawing_functions.py:708: RuntimeWarning: overflow encountered in scalar add
tot_b += target[py, px][2]
tests/draw_test.py::TestDraw::test_draw_satellite
/build/source/worldengine/draw.py:426: RuntimeWarning: overflow encountered in scalar add
avg_r = int(sum(all_r) / len(all_r))
tests/draw_test.py::TestDraw::test_draw_satellite
/build/source/worldengine/draw.py:427: RuntimeWarning: overflow encountered in scalar add
avg_g = int(sum(all_g) / len(all_g))
tests/draw_test.py::TestDraw::test_draw_satellite
/build/source/worldengine/draw.py:428: RuntimeWarning: overflow encountered in scalar add
avg_b = int(sum(all_b) / len(all_b))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/basic_map_operations_test.py::TestBasicMapOperations::test_distance - AttributeError: 'TestBasicMapOperations' object has no attribute 'assertAlm...
FAILED tests/common_test.py::TestCommon::test_antialias - AttributeError: 'TestCommon' object has no attribute 'assertAlmostEquals'. ...
FAILED tests/draw_test.py::TestDraw::test_draw_satellite - OverflowError: Python integer -12 out of bounds for uint8
FAILED tests/drawing_functions_test.py::TestDrawingFunctions::test_draw_ancient_map - AssertionError: False is not true : Pixels at 0, 0 are different. Blessed [...
====== 4 failed, 33 passed, 2 deselected, 80 warnings in 70.07s (0:01:10) ======
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment