Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed distutils_forwardport.py #1241

Merged
merged 2 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 0 additions & 86 deletions distutils_forwardport.py

This file was deleted.

2 changes: 0 additions & 2 deletions ipv8/test/REST/test_attestation_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
from base64 import b64encode
from typing import Collection, Sequence

import distutils_forwardport # noqa: F401

from ...attestation.identity.community import IdentityCommunity, IdentitySettings
from ...attestation.identity.manager import IdentityManager
from ...attestation.wallet.community import AttestationCommunity, AttestationSettings
Expand Down
2 changes: 0 additions & 2 deletions ipv8/test/REST/test_identity_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import urllib.parse
from typing import TYPE_CHECKING, Any, cast

import distutils_forwardport # noqa: F401

from ...attestation.communication_manager import CommunicationChannel, CommunicationManager, PseudonymFolderManager
from ...attestation.default_identity_formats import FORMATS
from ...attestation.identity.community import IdentityCommunity, IdentitySettings
Expand Down
2 changes: 0 additions & 2 deletions ipv8/test/REST/test_isolation_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import unittest
from typing import TYPE_CHECKING, cast

import distutils_forwardport # noqa: F401

from ...bootstrapping.dispersy.bootstrapper import DispersyBootstrapper
from ...configuration import DISPERSY_BOOTSTRAPPER
from ...messaging.anonymization.community import TunnelCommunity
Expand Down
2 changes: 0 additions & 2 deletions ipv8/test/REST/test_network_endpoint.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import base64
import random

import distutils_forwardport # noqa: F401

from ...keyvault.crypto import default_eccrypto
from ...peer import Peer
from ..REST.rest_base import RESTTestBase
Expand Down
2 changes: 0 additions & 2 deletions ipv8/test/REST/test_overlays_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import binascii

import distutils_forwardport # noqa: F401

from ...keyvault.crypto import default_eccrypto
from ...messaging.interfaces.statistics_endpoint import StatisticsEndpoint
from ...peer import Peer
Expand Down
2 changes: 0 additions & 2 deletions ipv8_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
from traceback import format_exception
from typing import Any, Awaitable, Generator

import distutils_forwardport # noqa: F401

if hasattr(sys.modules['__main__'], "IPv8"):
sys.modules[__name__] = sys.modules['__main__']
else:
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ cryptography
libnacl
aiohttp==3.8.6; python_version<'3.11'
aiohttp>=3.9.0b0; python_version>='3.11'
aiohttp_apispec
aiohttp_apispec>=3.0.0b1
pyOpenSSL
pyasn1
asynctest; python_version=='3.7'
marshmallow
typing-extensions
packaging
apispec>=6.0.0
2 changes: 0 additions & 2 deletions run_all_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
from typing import TYPE_CHECKING, Generator, TextIO, cast
from unittest import TestCase

import distutils_forwardport # noqa: F401

if TYPE_CHECKING:
import types

Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"aiohttp_apispec",
"pyOpenSSL",
"pyasn1",
"marshmallow"
"marshmallow",
"typing-extensions",
"packaging"
],
extras_require={
"all": ["asynctest; python_version=='3.7'", "coverage"],
Expand Down