Closed kloczek closed 2 years ago
After add tests/test_apigateway/test_server.py::test_list_apis
to --deselect list I;ve restarted pytest.
However after I found 5 such units I wrorte oneliner to find all units which are ghanging.
Here is my current --deselect list of such units
--deselect tests/test_apigateway/test_server.py::test_create_usage_plans_key_non_existent_api_key \
--deselect tests/test_apigateway/test_server.py::test_list_apis \
--deselect tests/test_apigateway/test_server.py::test_put_integration_response_without_body \
--deselect tests/test_apigateway/test_server.py::test_usage_plans_apis \
--deselect tests/test_apigateway/test_server.py::test_usage_plans_keys \
--deselect tests/test_apigatewayv2/test_server.py::test_apigatewayv2_list_apis \
--deselect tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource \
--deselect tests/test_batch/test_server.py::test_batch_list \
--deselect tests/test_cloudfront/test_server.py::test_cloudfront_list \
--deselect tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication \
--deselect tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication \
--deselect tests/test_core/test_server.py::test_domain_dispatched_with_service \
--deselect tests/test_eks/test_server.py::test_eks_create_multiple_clusters_with_same_name \
--deselect tests/test_eks/test_server.py::test_eks_create_multiple_nodegroups_with_same_name \
--deselect tests/test_eks/test_server.py::test_eks_create_nodegroup_on_existing_cluster \
--deselect tests/test_eks/test_server.py::test_eks_create_nodegroup_without_cluster \
--deselect tests/test_eks/test_server.py::test_eks_create_single_cluster \
--deselect tests/test_eks/test_server.py::test_eks_delete_cluster \
--deselect tests/test_eks/test_server.py::test_eks_delete_nodegroup \
--deselect tests/test_eks/test_server.py::test_eks_delete_nonexisting_cluster \
--deselect tests/test_eks/test_server.py::test_eks_delete_nonexisting_nodegroup \
--deselect tests/test_eks/test_server.py::test_eks_describe_existing_cluster \
--deselect tests/test_eks/test_server.py::test_eks_describe_existing_nodegroup \
--deselect tests/test_eks/test_server.py::test_eks_describe_nodegroup_nonexisting_cluster \
--deselect tests/test_eks/test_server.py::test_eks_describe_nonexisting_cluster \
--deselect tests/test_eks/test_server.py::test_eks_describe_nonexisting_nodegroup \
--deselect tests/test_eks/test_server.py::test_eks_list_clusters \
--deselect tests/test_eks/test_server.py::test_eks_list_nodegroups \
--deselect tests/test_elastictranscoder/test_server.py::test_elastictranscoder_list \
--deselect tests/test_emrcontainers/test_server.py::test_list_virtual_clusters \
--deselect tests/test_es/test_server.py::test_es_list \
--deselect tests/test_glacier/test_server.py::test_list_vaults \
--deselect tests/test_mediaconnect/test_server.py::test_mediaconnect_list_flows \
--deselect tests/test_medialive/test_server.py::test_medialive_list_channels \
--deselect tests/test_medialive/test_server.py::test_medialive_list_inputs \
--deselect tests/test_mediapackage/test_server.py::test_mediapackage_list_channels \
--deselect tests/test_mediapackage/test_server.py::test_mediapackage_list_origin_endpoints \
--deselect tests/test_mediastoredata/test_server.py::test_mediastore_lists_containers \
--deselect tests/test_mediastore/test_server.py::test_mediastore_lists_containers \
--deselect tests/test_mq/test_server.py::test_mq_list \
--deselect tests/test_polly/test_server.py::test_polly_list \
--deselect tests/test_route53/test_server.py::test_list_recordset \
--deselect tests/test_s3bucket_path/test_server.py::test_s3_server_bucket_create \
--deselect tests/test_s3bucket_path/test_server.py::test_s3_server_get \
--deselect tests/test_s3bucket_path/test_server.py::test_s3_server_post_to_bucket \
--deselect tests/test_s3bucket_path/test_server.py::test_s3_server_put_ipv4 \
--deselect tests/test_s3bucket_path/test_server.py::test_s3_server_put_ipv6 \
--deselect tests/test_s3/test_server.py::test_s3_server_bucket_create \
--deselect tests/test_s3/test_server.py::test_s3_server_bucket_versioning \
--deselect tests/test_s3/test_server.py::test_s3_server_get \
--deselect tests/test_s3/test_server.py::test_s3_server_ignore_subdomain_for_bucketnames \
--deselect tests/test_s3/test_server.py::test_s3_server_post_cors \
--deselect tests/test_s3/test_server.py::test_s3_server_post_to_bucket \
--deselect tests/test_s3/test_server.py::test_s3_server_post_unicode_bucket_key \
--deselect tests/test_s3/test_server.py::test_s3_server_post_without_content_length \
--deselect tests/test_utilities/test_threaded_server.py::test_threaded_moto_server__different_port \
--deselect tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_load_data_from_inmemory_client \
--deselect tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services \
--deselect tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_is_reachable \
Hi @kloczek, which version of werkzeug are pulling in? There is a known bug with version>=2.2.0, so you may have better luck installing an older version (2.1.x).
Re docker: we use Docker to run our Lambdas in, to ensure that the environment/context comes as close as possible to what AWS provides. I don't think it is be possible to achieve the same using virtualenv.
After all those hanging units in --deselect list I was able to finish pytest and found that some units are failing. Looks like pytest shows as well some warnings
Here is pytest output
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' idx = 0 def raw_decode(self, s, idx=0): """Decode a JSON document from ``s`` (a ``str`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ try: obj, end = self.scan_once(s, idx) except StopIteration as err: > raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) /usr/lib64/python3.8/json/decoder.py:355: JSONDecodeError _________________________________________________________________________ test_create_cluster[XML] _________________________________________________________________________ is_json = False @pytest.mark.parametrize("is_json", [True, False], ids=["JSON", "XML"]) @mock_redshift def test_create_cluster(is_json): backend = server.create_backend_app("redshift") test_client = backend.test_client() create_params = ( "?Action=CreateCluster" "&ClusterIdentifier=examplecluster" "&MasterUsername=masteruser" "&MasterUserPassword=12345678Aa" "&NodeType=ds2.xlarge" ) if is_json: create_params += "&ContentType=JSON" res = test_client.post(create_params) result = res.data.decode("utf-8") if is_json: result = json.loads(result) else: > result = xmltodict.parse(result, dict_constructor=dict) tests/test_redshift/test_server.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xml_input = b'\n\nThe requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' encoding = 'utf-8', expat =The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' idx = 0 def raw_decode(self, s, idx=0): """Decode a JSON document from ``s`` (a ``str`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ try: obj, end = self.scan_once(s, idx) except StopIteration as err: > raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) /usr/lib64/python3.8/json/decoder.py:355: JSONDecodeError _________________________________________________________________ test_create_cluster_multiple_params[XML] _________________________________________________________________ is_json = False @pytest.mark.parametrize("is_json", [True, False], ids=["JSON", "XML"]) @mock_redshift def test_create_cluster_multiple_params(is_json): backend = server.create_backend_app("redshift") test_client = backend.test_client() create_params = ( "?Action=CreateCluster" "&ClusterIdentifier=examplecluster" "&MasterUsername=masteruser" "&MasterUserPassword=12345678Aa" "&NumberOfNodes=3" "&NodeType=ds2.xlarge" "&EnhancedVpcRouting=True" "&Tags.Tag.1.Key=key1" "&Tags.Tag.1.Value=val1" "&Tags.Tag.2.Key=key2" "&Tags.Tag.2.Value=val2" "&DBName=testdb" "&Encrypted=True" "&ClusterVersion=2.0" "&Port=1234" ) if is_json: create_params += "&ContentType=JSON" res = test_client.post(create_params) result = res.data.decode("utf-8") if is_json: result = json.loads(result) else: > result = xmltodict.parse(result, dict_constructor=dict) tests/test_redshift/test_server.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xml_input = b'\n\nThe requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' encoding = 'utf-8', expat =The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' idx = 0 def raw_decode(self, s, idx=0): """Decode a JSON document from ``s`` (a ``str`` beginning with a JSON document) and return a 2-tuple of the Python representation and the index in ``s`` where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end. """ try: obj, end = self.scan_once(s, idx) except StopIteration as err: > raise JSONDecodeError("Expecting value", s, err.value) from None E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) /usr/lib64/python3.8/json/decoder.py:355: JSONDecodeError _______________________________________________________________ test_create_cluster_with_security_group[XML] _______________________________________________________________ is_json = False @pytest.mark.parametrize("is_json", [True, False], ids=["JSON", "XML"]) @mock_redshift def test_create_cluster_with_security_group(is_json): backend = server.create_backend_app("redshift") test_client = backend.test_client() security_group_names = ["csg1", "csg2"] for csg in security_group_names: create_params = ( "?Action=CreateClusterSecurityGroup" "&ClusterSecurityGroupName=" + csg + "&Description=desc for " + csg + "" ) if is_json: create_params += "&ContentType=JSON" res = test_client.post(create_params) response = res.data.decode("utf-8") if is_json: response = json.loads(response) else: > response = xmltodict.parse(response, dict_constructor=dict) tests/test_redshift/test_server.py:312: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xml_input = b'\n\nThe requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' encoding = 'utf-8', expat =The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n',) kw = {} @wraps(func) def wrapper(self, *args, **kw): try: > value = func(self, *args, **kw) /usr/lib/python3.8/site-packages/sure/__init__.py:408: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' rest = (), collection_should =The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' /usr/lib/python3.8/site-packages/sure/old.py:434: AssertionError During handling of the above exception, another exception occurred: self =The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n',) kw = {} @wraps(func) def wrapper(self, *args, **kw): try: value = func(self, *args, **kw) except AssertionError as e: > raise AssertionError(e) E AssertionError: b'The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' /usr/lib/python3.8/site-packages/sure/__init__.py:410: AssertionError During handling of the above exception, another exception occurred: def test_threaded_moto_server__using_requests(): if settings.TEST_SERVER_MODE: raise SkipTest("No point in testing ServerMode within ServerMode") server = ThreadedMotoServer(port=5001) server.start() requests.post("http://localhost:5001/moto-api/reset") try: r = requests.get("http://localhost:5001/moto-api") > r.content.should.contain(b"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
\n' /usr/lib/python3.8/site-packages/sure/__init__.py:410: AssertionError --------------------------------------------------------------------------- Captured stdout call --------------------------------------------------------------------------- The ThreadedMotoServer is considered in beta for now, and the exact interface and behaviour may still change. Please let us know if you’d like to see any changes. ======== Starting a new Thread with MotoServer running on 0.0.0.0:5001... ---------------------------------------------------------------------------- Captured log call ----------------------------------------------------------------------------- INFO werkzeug:_internal.py:224 127.0.0.1 - - [01/Aug/2022 15:02:32] "POST /moto-api/reset HTTP/1.1" 200 - INFO werkzeug:_internal.py:224 127.0.0.1 - - [01/Aug/2022 15:02:32] "GET /moto-api HTTP/1.1" 404 - ============================================================================= warnings summary ============================================================================= moto/__init__.py:26 tests/test_core/test_url_base_regex.py::TestMockBucketStartingWithServiceName::test_bucketname_starting_with_service_name[dynamodb2-] /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/__init__.py:26: UserWarning: Module mock_dynamodb2 has been deprecated, and will be removed in a later release. Please use mock_dynamodb instead. See https://github.com/spulec/moto/issues/4526 for more information. warnings.warn( moto/__init__.py:26 tests/test_core/test_url_base_regex.py::TestMockBucketStartingWithServiceName::test_bucketname_starting_with_service_name[rds2-] /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/__init__.py:26: UserWarning: Module mock_rds2 has been deprecated, and will be removed in a later release. Please use mock_rds instead. See https://github.com/spulec/moto/issues/4526 for more information. warnings.warn( tests/test_autoscaling/test_autoscaling.py::test_attach_instances tests/test_ec2/test_spot_instances.py::test_launch_spot_instance_instance_lifecycle tests/test_ec2/test_spot_instances.py::test_launch_instance_instance_lifecycle /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/ec2/models/instances.py:124: PendingDeprecationWarning: Could not find AMI with image-id:ami-pytest, in the near future this will cause an error. Use ec2_backend.describe_images() to find suitable image for your test warnings.warn( tests/test_dynamodb2/test_dynamodb.py::test_deprecation_warning tests/test_rds2/test_rds2.py::test_deprecation_warning /usr/lib/python3.8/site-packages/_pytest/python.py:198: PytestRemovedIn8Warning: Passing None has been deprecated. See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases. result = testfunction(**testargs) tests/test_ec2/test_instances.py::test_create_instance_with_launch_template_id_produces_no_warning[LaunchTemplateId] tests/test_ec2/test_instances.py::test_create_instance_with_launch_template_id_produces_no_warning[LaunchTemplateName] /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/core/models.py:122: PytestRemovedIn8Warning: Passing None has been deprecated. See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases. result = func(*args, **kwargs) tests/test_ec2/test_instances.py::test_describe_instances_filter_vpcid_via_networkinterface /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/ec2/models/instances.py:124: PendingDeprecationWarning: Could not find AMI with image-id:myami, in the near future this will cause an error. Use ec2_backend.describe_images() to find suitable image for your test warnings.warn( tests/test_ec2/test_spot_fleet.py::test_request_spot_fleet_using_launch_template_config__name[diversified] tests/test_ec2/test_spot_fleet.py::test_request_spot_fleet_using_launch_template_config__name[lowestCost] tests/test_ec2/test_spot_fleet.py::test_request_spot_fleet_using_launch_template_config__id tests/test_ec2/test_spot_fleet.py::test_request_spot_fleet_using_launch_template_config__overrides /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/ec2/models/instances.py:124: PendingDeprecationWarning: Could not find AMI with image-id:ami-04d4e25790238c5f4, in the near future this will cause an error. Use ec2_backend.describe_images() to find suitable image for your test warnings.warn( tests/test_ec2/test_spot_instances.py::test_request_spot_instances_instance_lifecycle tests/test_ec2/test_spot_instances.py::test_request_spot_instances_with_tags /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/ec2/models/instances.py:124: PendingDeprecationWarning: Could not find AMI with image-id:None, in the near future this will cause an error. Use ec2_backend.describe_images() to find suitable image for your test warnings.warn( tests/test_emr/test_emr_boto3.py::test_describe_cluster tests/test_emr/test_emr_boto3.py::test_describe_job_flow /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/emr/models.py:617: PendingDeprecationWarning: Could not find Subnet with id: subnet-8be41cec In the near future, this will raise an error. Use ec2.describe_subnets() to find a suitable id for your test. warnings.warn( tests/test_events/test_events_integration.py::test_send_to_sqs_fifo_queue /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/events/models.py:216: UserWarning: To let EventBridge send messages to your SQS FIFO queue, you must enable content-based deduplication. warnings.warn( tests/test_glue/test_partition_filter.py::test_get_partitions_expression_unknown_column tests/test_glue/test_partition_filter.py::test_get_partitions_expression_int_column tests/test_glue/test_partition_filter.py::test_get_partitions_expression_decimal_column tests/test_glue/test_partition_filter.py::test_get_partitions_expression_string_column tests/test_glue/test_partition_filter.py::test_get_partitions_expression_date_column tests/test_glue/test_partition_filter.py::test_get_partitions_expression_timestamp_column tests/test_glue/test_partition_filter.py::test_get_partition_expression_warnings_and_exceptions /home/tkloczko/rpmbuild/BUILD/moto-3.1.10/moto/glue/utils.py:350: UserWarning: Expression filtering is experimental warnings.warn("Expression filtering is experimental") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ========================================================================= short test summary info ========================================================================== SKIPPED [2] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:364: Only run test with external server SKIPPED [3] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:364: We only want to test ServerMode here FAILED tests/test_ec2/test_customer_gateways.py::test_create_customer_gateways_boto3 - AssertionError: given FAILED tests/test_redshift/test_server.py::test_create_cluster[JSON] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_redshift/test_server.py::test_create_cluster[XML] - xml.parsers.expat.ExpatError: syntax error: line 1, column 0 FAILED tests/test_redshift/test_server.py::test_create_cluster_multiple_params[JSON] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_redshift/test_server.py::test_create_cluster_multiple_params[XML] - xml.parsers.expat.ExpatError: syntax error: line 1, column 0 FAILED tests/test_redshift/test_server.py::test_create_and_describe_clusters[JSON] - AssertionError: the length of [] should be 2, but is 0 FAILED tests/test_redshift/test_server.py::test_create_and_describe_clusters[XML] - TypeError: 'NoneType' object is not subscriptable FAILED tests/test_redshift/test_server.py::test_create_and_describe_cluster_security_group[JSON] - AssertionError: 'desc for csg1' should be in ['Default Redshift Securi... FAILED tests/test_redshift/test_server.py::test_create_and_describe_cluster_security_group[XML] - TypeError: string indices must be integers FAILED tests/test_redshift/test_server.py::test_create_cluster_with_security_group[JSON] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_redshift/test_server.py::test_create_cluster_with_security_group[XML] - xml.parsers.expat.ExpatError: syntax error: line 1, column 0 FAILED tests/test_utilities/test_threaded_server.py::test_threaded_moto_server__using_requests - AssertionError: b'I'm going to add above failing units to --deselect list as well. FYI: here is list of modules isntalled in build env:
Package Version
----------------------------- -----------------
alabaster 0.7.12
attrs 22.1.0
Babel 2.10.2
boto3 1.24.39
botocore 1.27.39
build 0.8.0
cffi 1.15.1
charset-normalizer 2.1.0
click 8.1.2
cryptography 36.0.2
distro 1.7.0
docutils 0.18.1
ecdsa 0.18.0
extended-project 1.2.3
extras 1.0.0
fixtures 4.0.0
Flask 2.1.3
Flask-Cors 3.0.10
freezegun 1.2.1
gpg 1.17.1-unknown
graphql-core 3.2.1
idna 3.3
imagesize 1.4.1
importlib-metadata 4.12.0
importlib-resources 5.9.0
iniconfig 1.1.1
itsdangerous 2.1.2
Jinja2 3.1.1
jmespath 1.0.0
jsondiff 2.0.0
jsonschema 4.8.0
libcomps 0.1.18
MarkupSafe 2.1.1
mock 4.0.3
openapi-schema-validator 0.3.0
openapi-spec-validator 0.4.0
packaging 21.3
pbr 5.9.0
pep517 0.12.0
pip 22.0.4
pluggy 1.0.0
ply 3.11
py 1.11.0
pyasn1 0.4.8
pycparser 2.21
Pygments 2.12.0
pyparsing 3.0.9
pyrsistent 0.18.1
pytest 7.1.2
python-dateutil 2.8.2
python-jose 3.3.0
pytz 2022.1
PyYAML 6.0
requests 2.28.1
responses 0.21.0
rpm 4.17.0
rsa 4.8
s3transfer 0.6.0
setuptools 63.3.0
simple-project 1.2.3
six 1.16.0
snowballstemmer 2.2.0
Sphinx 5.1.1
sphinxcontrib-applehelp 1.0.2.dev20220730
sphinxcontrib-devhelp 1.0.2.dev20220730
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1.dev20220730
sphinxcontrib-qthelp 1.0.3.dev20220730
sphinxcontrib-serializinghtml 1.1.5
sshpubkeys 3.3.1
sure 2.0.0
testtools 2.5.0
tomli 2.0.1
urllib3 1.26.9
Werkzeug 2.2.1
wheel 0.37.1
xmltodict 0.12.0
zipp 3.8.1
Hi @kloczek, which version of werkzeug are pulling in? There is a known bug with version>=2.2.0, so you may have better luck installing an older version (2.1.x).
Hmm .. as you see I;m using 2.2.1. Do you have URL of the ticket iwth that issue? 🤔
No progress on either, because I haven't had time - master currently just pins werkzeug to an pre-2.2.0 version
OK so there is no yet werkzeug
ticket? 🤔
If it is already known issue feel free close that ticket as duplicate.
So what about those failing units and pytest warnings? Needs to be added to ToDo list? 😋
I'm going to close this in favor of #5341 - the comment there explains the failing unit tests.
The pytest warnings will be solved at some points, but that is not very high prio.
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesHere is pytest output:
BTW I've added all units which requires
docker
andaws_xray_sdk
do --deselect list because I have no packaged yest those modules. Is it really necessary to usedocker
?virtualenv
cannot be used instead?