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

Relax prometheus_client version (#3161) #3163

Merged
merged 1 commit into from
May 12, 2022
Merged

Relax prometheus_client version (#3161) #3163

merged 1 commit into from
May 12, 2022

Conversation

nstinus
Copy link
Contributor

@nstinus nstinus commented May 9, 2022

Description

Relax prometheus_client contraints.

Motivation and Context

Currently, prometheus_client is pinned at 0.5.0 which dates from 2018. Having strong contraints on old packages prevents the installation of luigi with other more up to date packages in environments.

Have you tested this? If so, how?

Ran the py39-contrib test suite:

$ python -m tox -e py39-contrib
py39-contrib create: /n/nvme1/nstinus/src/luigi/.tox/py39-contrib
py39-contrib installdeps: pytest<7.0, pytest-cov>=2.0,<3.0, mock<2.0, moto>=1.3.10, HTTPretty==0.8.10, docker>=2.1.0, boto>=2.42,<3.0, boto3>=1.11.0, pyhive[presto]==0.6.1, s3transfer>=0.3,<4.0, sqlalchemy<1.4, elasticsearch>=1.0.0,<2.0.0, psutil<4.0, mysql-connector-python>=8.0.12, avro-python3, google-compute-engine, coverage>=5.0,<6, codecov>=1.4.0, requests>=2.20.0,<3.0, pygments, hypothesis>=6.7.0,<7.0.0, selenium==3.0.2, pymongo==3.4.0, toml<2.0.0, responses<1.0.0, azure-storage<=0.36, datadog==0.22.0, prometheus-client>=0.5.0<0.15
WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
py39-contrib develop-inst: /n/nvme1/nstinus/src/luigi
WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
py39-contrib installed: attrs==21.4.0,avro-python3==1.10.2,azure-common==1.1.28,azure-nspkg==3.0.2,azure-storage==0.36.0,boto==2.49.0,boto3==1.22.10,botocore==1.25.10,certifi==2021.10.8,cffi==1.15.0,charset-normalizer==2.0.12,codecov==2.1.12,coverage==5.5,cryptography==37.0.2,datadog==0.22.0,decorator==5.1.1,distro==1.7.0,docker==5.0.3,docutils==0.18.1,elasticsearch==1.9.0,future==0.18.2,google-compute-engine==2.8.13,httpretty==0.8.10,hypothesis==6.46.2,idna==3.3,iniconfig==1.1.1,Jinja2==3.1.2,jmespath==1.0.0,lockfile==0.12.2,-e git+https://github.com/nstinus/luigi.git@e57372720f3bbdb09f4718e8a2ab78fff7f54443#egg=luigi,MarkupSafe==2.1.1,mock==1.3.0,moto==3.1.8,mysql-connector-python==8.0.29,packaging==21.3,pbr==5.9.0,pluggy==1.0.0,prometheus-client==0.14.1,protobuf==3.20.1,psutil==3.4.2,py==1.11.0,pycparser==2.21,Pygments==2.12.0,PyHive==0.6.1,pymongo==3.4.0,pyparsing==3.0.8,pytest==6.2.5,pytest-cov==2.12.1,python-daemon==2.3.0,python-dateutil==2.8.2,pytz==2022.1,requests==2.27.1,responses==0.20.0,s3transfer==0.5.2,selenium==3.0.2,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,SQLAlchemy==1.3.24,tenacity==8.0.1,toml==0.10.2,tornado==6.1,urllib3==1.26.9,websocket-client==1.3.2,Werkzeug==2.1.2,xmltodict==0.13.0
py39-contrib run-test-pre: PYTHONHASHSEED='1142964723'
py39-contrib run-test: commands[0] | python --version
Python 3.8.10
py39-contrib run-test: commands[1] | python test/runtests.py -m contrib
=========================================================================================================== test session starts ============================================================================================================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /n/nvme1/nstinus/src/luigi/.tox/py39-contrib/bin/python
cachedir: .tox/py39-contrib/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/n/nvme1/nstinus/src/luigi/.hypothesis/examples')
rootdir: /n/nvme1/nstinus/src/luigi, configfile: tox.ini, testpaths: test
plugins: cov-2.12.1, hypothesis-6.46.2
collected 1826 items / 1693 deselected / 11 skipped / 122 selected                                                                                                                                                                         

test/contrib/cascading_test.py::CascadingClientTest::test_FileAlreadyExists_propagation PASSED                                                                                                                                       [  0%]
test/contrib/cascading_test.py::CascadingClientTest::test_failings PASSED                                                                                                                                                            [  1%]
test/contrib/cascading_test.py::CascadingClientTest::test_fallbacking PASSED                                                                                                                                                         [  2%]
test/contrib/cascading_test.py::CascadingClientTest::test_method_names_kwarg PASSED                                                                                                                                                  [  3%]
test/contrib/cascading_test.py::CascadingClientTest::test_successes PASSED                                                                                                                                                           [  3%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_always_log_stderr_on_failure PASSED                                                                                                                             [  4%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_app_interruption PASSED                                                                                                                                         [  5%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_capture_output_set_to_false_writes_output_to_stdout PASSED                                                                                                      [  6%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_dont_log_stderr_on_success_if_disabled PASSED                                                                                                                   [  6%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_handle_failed_job PASSED                                                                                                                                        [  7%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_log_stderr_on_success_by_default PASSED                                                                                                                         [  8%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_no_url_searching_is_performed_if_pattern_is_not_set PASSED                                                                                                      [  9%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_non_mocked_task_run PASSED                                                                                                                                      [  9%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_program_args_must_be_implemented PASSED                                                                                                                         [ 10%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_run PASSED                                                                                                                                                      [ 11%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_context_works_correctly_when_logs_output_pattern_to_url_is_not_default PASSED                                                                      [ 12%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_context_works_without_capture_output PASSED                                                                                                        [ 12%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_pattern_works_with_capture_output_disabled PASSED                                                                                                  [ 13%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_pattern_works_with_capture_output_enabled PASSED                                                                                                   [ 14%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_pattern_works_with_stderr PASSED                                                                                                                   [ 15%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_original_environment_is_kept_intact PASSED                                                                                                                [ 15%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_pythonpath_is_prepended_if_not_empty PASSED                                                                                                               [ 16%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_pythonpath_is_set_if_empty PASSED                                                                                                                         [ 17%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_venv_is_set_and_prepended_to_path PASSED                                                                                                                  [ 18%]
test/contrib/lsf_test.py::TestSGEJob::test_run_job PASSED                                                                                                                                                                            [ 18%]
test/contrib/lsf_test.py::TestSGEJob::test_run_job_with_dump PASSED                                                                                                                                                                  [ 19%]
test/contrib/opener_test.py::TestOpenerTarget::test_binary_support PASSED                                                                                                                                                            [ 20%]
test/contrib/opener_test.py::TestOpenerTarget::test_default_target PASSED                                                                                                                                                            [ 21%]
test/contrib/opener_test.py::TestOpenerTarget::test_invalid_target PASSED                                                                                                                                                            [ 21%]
test/contrib/opener_test.py::TestOpenerTarget::test_local_target PASSED                                                                                                                                                              [ 22%]
test/contrib/opener_test.py::TestOpenerTarget::test_local_tmp_target PASSED                                                                                                                                                          [ 23%]
test/contrib/opener_test.py::TestOpenerTarget::test_mock_target PASSED                                                                                                                                                               [ 24%]
test/contrib/opener_test.py::TestOpenerTarget::test_mock_target_root PASSED                                                                                                                                                          [ 24%]
test/contrib/opener_test.py::TestOpenerTarget::test_s3_parse PASSED                                                                                                                                                                  [ 25%]
test/contrib/opener_test.py::TestOpenerTarget::test_s3_parse_param PASSED                                                                                                                                                            [ 26%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_configure_http_handler PASSED                                                                                                                                     [ 27%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_disabled PASSED                                                                                                                                       [ 27%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_done PASSED                                                                                                                                           [ 28%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_failed PASSED                                                                                                                                         [ 29%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_started PASSED                                                                                                                                        [ 30%]
test/contrib/salesforce_test.py::TestSalesforceAPI::test_deprecated_results_warning PASSED                                                                                                                                           [ 30%]
test/contrib/salesforce_test.py::TestSalesforceAPI::test_result_ids PASSED                                                                                                                                                           [ 31%]
test/contrib/salesforce_test.py::TestSalesforceQuery::test_multi_csv_download PASSED                                                                                                                                                 [ 32%]
test/contrib/scalding_test.py::ScaldingTest::test_scalding PASSED                                                                                                                                                                    [ 33%]
test/contrib/sge_test.py::TestSGEWrappers::test_track_job PASSED                                                                                                                                                                     [ 33%]
test/contrib/sge_test.py::TestSGEJob::test_run_job PASSED                                                                                                                                                                            [ 34%]
test/contrib/sge_test.py::TestSGEJob::test_run_job_with_dump PASSED                                                                                                                                                                  [ 35%]
test/contrib/sqla_test.py::TestSQLA::test_column_row_separator PASSED                                                                                                                                                                [ 36%]
test/contrib/sqla_test.py::TestSQLA::test_create_marker_table PASSED                                                                                                                                                                 [ 36%]
test/contrib/sqla_test.py::TestSQLA::test_create_table PASSED                                                                                                                                                                        [ 37%]
test/contrib/sqla_test.py::TestSQLA::test_create_table_raises_no_columns PASSED                                                                                                                                                      [ 38%]
test/contrib/sqla_test.py::TestSQLA::test_multiple_engines PASSED                                                                                                                                                                    [ 39%]
test/contrib/sqla_test.py::TestSQLA::test_multiple_tasks PASSED                                                                                                                                                                      [ 39%]
test/contrib/sqla_test.py::TestSQLA::test_reflect PASSED                                                                                                                                                                             [ 40%]
test/contrib/sqla_test.py::TestSQLA::test_row_overload PASSED                                                                                                                                                                        [ 41%]
test/contrib/sqla_test.py::TestSQLA::test_rows PASSED                                                                                                                                                                                [ 42%]
test/contrib/sqla_test.py::TestSQLA::test_run PASSED                                                                                                                                                                                 [ 42%]
test/contrib/sqla_test.py::TestSQLA::test_run_with_chunk_size PASSED                                                                                                                                                                 [ 43%]
test/contrib/sqla_test.py::TestSQLA::test_touch PASSED                                                                                                                                                                               [ 44%]
test/contrib/sqla_test.py::TestSQLA::test_update_rows_test PASSED                                                                                                                                                                    [ 45%]
test/contrib/sqla_test.py::TestSQLA2::test_column_row_separator PASSED                                                                                                                                                               [ 45%]
test/contrib/sqla_test.py::TestSQLA2::test_create_marker_table PASSED                                                                                                                                                                [ 46%]
test/contrib/sqla_test.py::TestSQLA2::test_create_table PASSED                                                                                                                                                                       [ 47%]
test/contrib/sqla_test.py::TestSQLA2::test_create_table_raises_no_columns PASSED                                                                                                                                                     [ 48%]
test/contrib/sqla_test.py::TestSQLA2::test_multiple_engines PASSED                                                                                                                                                                   [ 48%]
test/contrib/sqla_test.py::TestSQLA2::test_multiple_tasks PASSED                                                                                                                                                                     [ 49%]
test/contrib/sqla_test.py::TestSQLA2::test_reflect PASSED                                                                                                                                                                            [ 50%]
test/contrib/sqla_test.py::TestSQLA2::test_row_overload PASSED                                                                                                                                                                       [ 51%]
test/contrib/sqla_test.py::TestSQLA2::test_rows PASSED                                                                                                                                                                               [ 51%]
test/contrib/sqla_test.py::TestSQLA2::test_run PASSED                                                                                                                                                                                [ 52%]
test/contrib/sqla_test.py::TestSQLA2::test_run_with_chunk_size PASSED                                                                                                                                                                [ 53%]
test/contrib/sqla_test.py::TestSQLA2::test_touch PASSED                                                                                                                                                                              [ 54%]
test/contrib/sqla_test.py::TestSQLA2::test_update_rows_test PASSED                                                                                                                                                                   [ 54%]
test/contrib/test_ssh.py::TestRemoteContext::test_check_output PASSED                                                                                                                                                                [ 55%]
test/contrib/test_ssh.py::TestRemoteContext::test_tunnel PASSED                                                                                                                                                                      [ 56%]
test/contrib/test_ssh.py::TestRemoteTarget::test_context_manager PASSED                                                                                                                                                              [ 57%]
test/contrib/test_ssh.py::TestRemoteTarget::test_exists PASSED                                                                                                                                                                       [ 57%]
test/contrib/test_ssh.py::TestRemoteTarget::test_open PASSED                                                                                                                                                                         [ 58%]
test/contrib/test_ssh.py::TestRemoteTarget::test_remove PASSED                                                                                                                                                                       [ 59%]
test/contrib/test_ssh.py::TestRemoteFilesystem::test_list PASSED                                                                                                                                                                     [ 60%]
test/contrib/test_ssh.py::TestRemoteFilesystem::test_mkdir PASSED                                                                                                                                                                    [ 60%]
test/contrib/test_ssh.py::TestGetAttrRecursion::test_recursion_on_delete PASSED                                                                                                                                                      [ 61%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_atomicity <- test/target_test.py PASSED                                                                                                                                    [ 62%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_binary_write <- test/target_test.py PASSED                                                                                                                                 [ 63%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_del <- test/target_test.py PASSED                                                                                                                                          [ 63%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_del_with_Text <- test/target_test.py PASSED                                                                                                                                [ 64%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_format_injection <- test/target_test.py PASSED                                                                                                                             [ 65%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_get PASSED                                                                                                                                                                 [ 66%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_gzip <- test/target_test.py PASSED                                                                                                                                         [ 66%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_gzip_works_and_cleans_up <- test/target_test.py PASSED                                                                                                                     [ 67%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_put PASSED                                                                                                                                                                 [ 68%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_read_iterator <- test/target_test.py PASSED                                                                                                                                [ 69%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_readback <- test/target_test.py PASSED                                                                                                                                     [ 69%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_text <- test/target_test.py PASSED                                                                                                                                         [ 70%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_unicode_obj <- test/target_test.py PASSED                                                                                                                                  [ 71%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_with_close <- test/target_test.py PASSED                                                                                                                                   [ 72%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_with_exception <- test/target_test.py PASSED                                                                                                                               [ 72%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_write_cleanup_no_close <- test/target_test.py PASSED                                                                                                                       [ 73%]
test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_writelines <- test/target_test.py PASSED                                                                                                                                   [ 74%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_atomicity <- test/target_test.py PASSED                                                                                                                            [ 75%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_binary_write <- test/target_test.py PASSED                                                                                                                         [ 75%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_del <- test/target_test.py PASSED                                                                                                                                  [ 76%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_del_with_Text <- test/target_test.py PASSED                                                                                                                        [ 77%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_format_injection <- test/target_test.py PASSED                                                                                                                     [ 78%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_get PASSED                                                                                                                                                         [ 78%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_gzip <- test/target_test.py PASSED                                                                                                                                 [ 79%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_gzip_works_and_cleans_up <- test/target_test.py PASSED                                                                                                             [ 80%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_put PASSED                                                                                                                                                         [ 81%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_read_iterator <- test/target_test.py PASSED                                                                                                                        [ 81%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_readback <- test/target_test.py PASSED                                                                                                                             [ 82%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_text <- test/target_test.py PASSED                                                                                                                                 [ 83%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_unicode_obj <- test/target_test.py PASSED                                                                                                                          [ 84%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_with_close <- test/target_test.py PASSED                                                                                                                           [ 84%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_with_exception <- test/target_test.py PASSED                                                                                                                       [ 85%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_write_cleanup_no_close <- test/target_test.py PASSED                                                                                                               [ 86%]
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_writelines <- test/target_test.py PASSED                                                                                                                           [ 87%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_atomicity <- test/target_test.py PASSED                                                                                                                                     [ 87%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_binary_write <- test/target_test.py PASSED                                                                                                                                  [ 88%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_del <- test/target_test.py PASSED                                                                                                                                           [ 89%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_del_with_Text <- test/target_test.py PASSED                                                                                                                                 [ 90%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_format_injection <- test/target_test.py PASSED                                                                                                                              [ 90%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_get PASSED                                                                                                                                                                  [ 91%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_gzip <- test/target_test.py PASSED                                                                                                                                          [ 92%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_gzip_works_and_cleans_up <- test/target_test.py PASSED                                                                                                                      [ 93%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_put PASSED                                                                                                                                                                  [ 93%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_read_iterator <- test/target_test.py PASSED                                                                                                                                 [ 94%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_readback <- test/target_test.py PASSED                                                                                                                                      [ 95%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_text <- test/target_test.py PASSED                                                                                                                                          [ 96%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_unicode_obj <- test/target_test.py PASSED                                                                                                                                   [ 96%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_with_close <- test/target_test.py PASSED                                                                                                                                    [ 97%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_with_exception <- test/target_test.py PASSED                                                                                                                                [ 98%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_write_cleanup_no_close <- test/target_test.py PASSED                                                                                                                        [ 99%]
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_writelines <- test/target_test.py PASSED                                                                                                                                    [100%]

============================================================================================================= warnings summary =============================================================================================================
luigi/__init__.py:84
  /n/nvme1/nstinus/src/luigi/luigi/__init__.py:84: DeprecationWarning: 
          Autoloading range tasks by default has been deprecated and will be removed in a future version.
          To get the behavior now add an option to luigi.cfg:
  
            [core]
              autoload_range: false
  
          Alternately set the option to true to continue with existing behaviour and suppress this warning.
      
    warnings.warn(warning_message, DeprecationWarning)

test/notifications_test.py:41
  /n/nvme1/nstinus/src/luigi/test/notifications_test.py:41: PytestCollectionWarning: cannot collect test class 'TestException' because it has a __init__ constructor (from: test/notifications_test.py)
    class TestException(Exception):

test/notifications_test.py:45
  /n/nvme1/nstinus/src/luigi/test/notifications_test.py:45: PytestCollectionWarning: cannot collect test class 'TestTask' because it has a __init__ constructor (from: test/notifications_test.py)
    class TestTask(luigi.Task):

test/target_test.py:27
  /n/nvme1/nstinus/src/luigi/test/target_test.py:27: PytestCollectionWarning: cannot collect test class 'TestException' because it has a __init__ constructor (from: test/target_test.py)
    class TestException(Exception):

test/visible_parameters_test.py:7
  /n/nvme1/nstinus/src/luigi/test/visible_parameters_test.py:7: PytestCollectionWarning: cannot collect test class 'TestTask1' because it has a __init__ constructor (from: test/visible_parameters_test.py)
    class TestTask1(luigi.Task):

test/visible_parameters_test.py:13
  /n/nvme1/nstinus/src/luigi/test/visible_parameters_test.py:13: PytestCollectionWarning: cannot collect test class 'TestTask2' because it has a __init__ constructor (from: test/visible_parameters_test.py)
    class TestTask2(luigi.Task):

test/visible_parameters_test.py:19
  /n/nvme1/nstinus/src/luigi/test/visible_parameters_test.py:19: PytestCollectionWarning: cannot collect test class 'TestTask3' because it has a __init__ constructor (from: test/visible_parameters_test.py)
    class TestTask3(luigi.Task):

test/visible_parameters_test.py:25
  /n/nvme1/nstinus/src/luigi/test/visible_parameters_test.py:25: PytestCollectionWarning: cannot collect test class 'TestTask4' because it has a __init__ constructor (from: test/visible_parameters_test.py)
    class TestTask4(luigi.Task):

test/worker_external_task_test.py:28
  /n/nvme1/nstinus/src/luigi/test/worker_external_task_test.py:28: PytestCollectionWarning: cannot collect test class 'TestExternalFileTask' because it has a __init__ constructor (from: test/worker_external_task_test.py)
    class TestExternalFileTask(luigi.ExternalTask):

test/worker_external_task_test.py:52
  /n/nvme1/nstinus/src/luigi/test/worker_external_task_test.py:52: PytestCollectionWarning: cannot collect test class 'TestTask' because it has a __init__ constructor (from: test/worker_external_task_test.py)
    class TestTask(luigi.Task):

test/contrib/beam_dataflow_test.py:48
  /n/nvme1/nstinus/src/luigi/test/contrib/beam_dataflow_test.py:48: PytestCollectionWarning: cannot collect test class 'TestRequires' because it has a __init__ constructor (from: test/contrib/beam_dataflow_test.py)
    class TestRequires(luigi.ExternalTask):

test/contrib/external_program_test.py:49
  /n/nvme1/nstinus/src/luigi/test/contrib/external_program_test.py:49: PytestCollectionWarning: cannot collect test class 'TestExternalProgramTask' because it has a __init__ constructor (from: test/contrib/external_program_test.py)
    class TestExternalProgramTask(ExternalProgramTask):

test/contrib/external_program_test.py:57
  /n/nvme1/nstinus/src/luigi/test/contrib/external_program_test.py:57: PytestCollectionWarning: cannot collect test class 'TestLogStderrOnFailureOnlyTask' because it has a __init__ constructor (from: test/contrib/external_program_test.py)
    class TestLogStderrOnFailureOnlyTask(TestExternalProgramTask):

test/contrib/external_program_test.py:61
  /n/nvme1/nstinus/src/luigi/test/contrib/external_program_test.py:61: PytestCollectionWarning: cannot collect test class 'TestTouchTask' because it has a __init__ constructor (from: test/contrib/external_program_test.py)
    class TestTouchTask(ExternalProgramTask):

test/contrib/external_program_test.py:71
  /n/nvme1/nstinus/src/luigi/test/contrib/external_program_test.py:71: PytestCollectionWarning: cannot collect test class 'TestEchoTask' because it has a __init__ constructor (from: test/contrib/external_program_test.py)
    class TestEchoTask(ExternalProgramTask):

test/contrib/external_program_test.py:288
  /n/nvme1/nstinus/src/luigi/test/contrib/external_program_test.py:288: PytestCollectionWarning: cannot collect test class 'TestExternalPythonProgramTask' because it has a __init__ constructor (from: test/contrib/external_program_test.py)
    class TestExternalPythonProgramTask(ExternalPythonProgramTask):

test/contrib/hadoop_jar_test.py:27
  /n/nvme1/nstinus/src/luigi/test/contrib/hadoop_jar_test.py:27: PytestCollectionWarning: cannot collect test class 'TestHadoopJarJob' because it has a __init__ constructor (from: test/contrib/hadoop_jar_test.py)
    class TestHadoopJarJob(HadoopJarJobTask):

test/contrib/hadoop_jar_test.py:34
  /n/nvme1/nstinus/src/luigi/test/contrib/hadoop_jar_test.py:34: PytestCollectionWarning: cannot collect test class 'TestMissingJarJob' because it has a __init__ constructor (from: test/contrib/hadoop_jar_test.py)
    class TestMissingJarJob(HadoopJarJobTask):

test/contrib/hadoop_jar_test.py:38
  /n/nvme1/nstinus/src/luigi/test/contrib/hadoop_jar_test.py:38: PytestCollectionWarning: cannot collect test class 'TestRemoteHadoopJarJob' because it has a __init__ constructor (from: test/contrib/hadoop_jar_test.py)
    class TestRemoteHadoopJarJob(TestHadoopJarJob):

test/contrib/hadoop_jar_test.py:43
  /n/nvme1/nstinus/src/luigi/test/contrib/hadoop_jar_test.py:43: PytestCollectionWarning: cannot collect test class 'TestRemoteMissingJarJob' because it has a __init__ constructor (from: test/contrib/hadoop_jar_test.py)
    class TestRemoteMissingJarJob(TestHadoopJarJob):

test/contrib/hadoop_jar_test.py:48
  /n/nvme1/nstinus/src/luigi/test/contrib/hadoop_jar_test.py:48: PytestCollectionWarning: cannot collect test class 'TestRemoteHadoopJarTwoParamJob' because it has a __init__ constructor (from: test/contrib/hadoop_jar_test.py)
    class TestRemoteHadoopJarTwoParamJob(TestRemoteHadoopJarJob):

test/contrib/hdfs_test.py:44
  /n/nvme1/nstinus/src/luigi/test/contrib/hdfs_test.py:44: PytestCollectionWarning: cannot collect test class 'TestException' because it has a __init__ constructor (from: test/contrib/hdfs_test.py)
    class TestException(Exception):

test/contrib/lsf_test.py:58
  /n/nvme1/nstinus/src/luigi/test/contrib/lsf_test.py:58: PytestCollectionWarning: cannot collect test class 'TestJobTask' because it has a __init__ constructor (from: test/contrib/lsf_test.py)
    class TestJobTask(LSFJobTask):

.tox/py39-contrib/lib/python3.8/site-packages/bson/codec_options.py:19
  /n/nvme1/nstinus/src/luigi/.tox/py39-contrib/lib/python3.8/site-packages/bson/codec_options.py:19: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
    from collections import MutableMapping, namedtuple

.tox/py39-contrib/lib/python3.8/site-packages/bson/__init__.py:58
  /n/nvme1/nstinus/src/luigi/.tox/py39-contrib/lib/python3.8/site-packages/bson/__init__.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
    from bson import _cbson

.tox/py39-contrib/lib/python3.8/site-packages/pymongo/monitoring.py:140
  /n/nvme1/nstinus/src/luigi/.tox/py39-contrib/lib/python3.8/site-packages/pymongo/monitoring.py:140: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
    from collections import namedtuple, Sequence

.tox/py39-contrib/lib/python3.8/site-packages/past/builtins/misc.py:45
  /n/nvme1/nstinus/src/luigi/.tox/py39-contrib/lib/python3.8/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    from imp import reload

test/contrib/salesforce_test.py:82
  /n/nvme1/nstinus/src/luigi/test/contrib/salesforce_test.py:82: PytestCollectionWarning: cannot collect test class 'TestQuerySalesforce' because it has a __init__ constructor (from: test/contrib/salesforce_test.py)
    class TestQuerySalesforce(QuerySalesforce):

test/contrib/sge_test.py:64
  /n/nvme1/nstinus/src/luigi/test/contrib/sge_test.py:64: PytestCollectionWarning: cannot collect test class 'TestJobTask' because it has a __init__ constructor (from: test/contrib/sge_test.py)
    class TestJobTask(SGEJobTask):

test/contrib/spark_test.py:50
  /n/nvme1/nstinus/src/luigi/test/contrib/spark_test.py:50: PytestCollectionWarning: cannot collect test class 'TestSparkSubmitTask' because it has a __init__ constructor (from: test/contrib/spark_test.py)
    class TestSparkSubmitTask(SparkSubmitTask):

test/contrib/spark_test.py:82
  /n/nvme1/nstinus/src/luigi/test/contrib/spark_test.py:82: PytestCollectionWarning: cannot collect test class 'TestDefaultSparkSubmitTask' because it has a __init__ constructor (from: test/contrib/spark_test.py)
    class TestDefaultSparkSubmitTask(SparkSubmitTask):

test/contrib/spark_test.py:89
  /n/nvme1/nstinus/src/luigi/test/contrib/spark_test.py:89: PytestCollectionWarning: cannot collect test class 'TestPySparkTask' because it has a __init__ constructor (from: test/contrib/spark_test.py)
    class TestPySparkTask(PySparkTask):

test/contrib/spark_test.py:101
  /n/nvme1/nstinus/src/luigi/test/contrib/spark_test.py:101: PytestCollectionWarning: cannot collect test class 'TestPySparkSessionTask' because it has a __init__ constructor (from: test/contrib/spark_test.py)
    class TestPySparkSessionTask(PySparkTask):

test/contrib/external_program_test.py::ExternalProgramTaskTest::test_handle_failed_job
  /n/nvme1/nstinus/src/luigi/.tox/py39-contrib/lib/python3.8/site-packages/mock/mock.py:1979: ResourceWarning: unclosed file <_io.BufferedRandom name=14>
    these_magics = these_magics - set(type(self).__dict__)

test/contrib/lsf_test.py::TestSGEJob::test_run_job_with_dump
  /n/nvme1/nstinus/src/luigi/luigi/contrib/lsf.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/0592ab08fd61d850TestJobTask__1__69e545f261/job-instance.pickle' mode='w' encoding='UTF-8'>
    pickle.dump(self, open(self.job_file, "w"))

test/contrib/scalding_test.py::ScaldingTest::test_scalding
  /n/nvme1/nstinus/src/luigi/luigi/contrib/scalding.py:132: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/scalding-033683821/my_source.scala' mode='r' encoding='UTF-8'>
    for line in open(source).readlines():

test/contrib/sge_test.py::TestSGEJob::test_run_job_with_dump
  /n/nvme1/nstinus/src/luigi/luigi/parameter.py:287: UserWarning: Parameter "job_name_format" with value "None" is not of type string.
    warnings.warn('Parameter "{}" with value "{}" is not of type string.'.format(param_name, param_value))

test/contrib/sge_test.py::TestSGEJob::test_run_job_with_dump
  /n/nvme1/nstinus/src/luigi/luigi/parameter.py:287: UserWarning: Parameter "job_name" with value "None" is not of type string.
    warnings.warn('Parameter "{}" with value "{}" is not of type string.'.format(param_name, param_value))

test/contrib/test_ssh.py::TestGetAttrRecursion::test_recursion_on_delete
  /n/nvme1/nstinus/src/luigi/.tox/py39-contrib/lib/python3.8/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <function AtomicRemoteFileWriter.__del__ at 0x7f56db9715e0>
  
  luigi.contrib.ssh.RemoteCalledProcessError: Command '['mkdir', '-p', '/etc/this/does/not']' on host localhost returned non-zero exit status 1
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/n/nvme1/nstinus/src/luigi/luigi/format.py", line 233, in __getattr__
      return getattr(self._process.stdin, name)
    File "/n/nvme1/nstinus/src/luigi/luigi/format.py", line 231, in __getattr__
      raise AttributeError(name)
  AttributeError: _process
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/n/nvme1/nstinus/src/luigi/luigi/contrib/ssh.py", line 293, in __del__
      super(AtomicRemoteFileWriter, self).__del__()
    File "/n/nvme1/nstinus/src/luigi/luigi/format.py", line 206, in __del__
      if not self.closed:
    File "/n/nvme1/nstinus/src/luigi/luigi/format.py", line 235, in __getattr__
      return getattr(self._output_pipe, name)
    File "/n/nvme1/nstinus/src/luigi/luigi/format.py", line 231, in __getattr__
      raise AttributeError(name)
  AttributeError: _output_pipe
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

test/contrib/test_ssh.py::TestRemoteTargetAtomicity::test_get
test/contrib/test_ssh.py::TestRemoteTargetCreateDirectories::test_get
test/contrib/test_ssh.py::TestRemoteTargetRelative::test_get
  /spare/local/condacem/.conda/latour/1c2e83718b2d043421fda68d16d02dfc/lib/python3.8/unittest/case.py:633: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/local_luigi_remote_atomic_test.txt' mode='r' encoding='UTF-8'>
    method()

-- Docs: https://docs.pytest.org/en/stable/warnings.html

---------- coverage: platform linux, python 3.8.10-final-0 -----------
Name                                       Stmts   Miss  Cover
--------------------------------------------------------------
luigi/__main__.py                              3      3     0%
luigi/__meta__.py                              6      0   100%
luigi/batch_notifier.py                      137    101    26%
luigi/cmdline.py                              26     20    23%
luigi/cmdline_parser.py                       69      4    94%
luigi/configuration/base_parser.py            16      1    94%
luigi/configuration/cfg_parser.py            108     31    71%
luigi/configuration/core.py                   42      9    79%
luigi/configuration/toml_parser.py            57     35    39%
luigi/contrib/azureblob.py                   144     97    33%
luigi/contrib/batch.py                        84     53    37%
luigi/contrib/beam_dataflow.py               257    151    41%
luigi/contrib/bigquery.py                    351    199    43%
luigi/contrib/bigquery_avro.py                55     38    31%
luigi/contrib/datadog_metric.py               81     54    33%
luigi/contrib/dataproc.py                    124    124     0%
luigi/contrib/docker_runner.py               118     82    31%
luigi/contrib/dropbox.py                     183    183     0%
luigi/contrib/ecs.py                          70     43    39%
luigi/contrib/esindex.py                     150     91    39%
luigi/contrib/external_daily_snapshot.py      29     18    38%
luigi/contrib/external_program.py            136      3    98%
luigi/contrib/ftp.py                         227    227     0%
luigi/contrib/gcp.py                          18     11    39%
luigi/contrib/gcs.py                         267    192    28%
luigi/contrib/hadoop.py                      585    422    28%
luigi/contrib/hadoop_jar.py                   77     46    40%
luigi/contrib/hdfs/abstract_client.py         38     12    68%
luigi/contrib/hdfs/clients.py                 28     11    61%
luigi/contrib/hdfs/config.py                  42     21    50%
luigi/contrib/hdfs/error.py                    8      5    38%
luigi/contrib/hdfs/format.py                 116     71    39%
luigi/contrib/hdfs/hadoopcli_clients.py      169    132    22%
luigi/contrib/hdfs/target.py                  97     71    27%
luigi/contrib/hdfs/webhdfs_client.py          79     45    43%
luigi/contrib/hive.py                        282    190    33%
luigi/contrib/kubernetes.py                  175    115    34%
luigi/contrib/lsf.py                         158     98    38%
luigi/contrib/lsf_runner.py                   39     26    33%
luigi/contrib/mongodb.py                      64     40    38%
luigi/contrib/mrrunner.py                     42     28    33%
luigi/contrib/mssqldb.py                      48     48     0%
luigi/contrib/mysqldb.py                      99     78    21%
luigi/contrib/opener.py                       83      2    98%
luigi/contrib/pai.py                         148     83    44%
luigi/contrib/pig.py                         116     83    28%
luigi/contrib/postgres.py                    192    135    30%
luigi/contrib/presto.py                      160     84    48%
luigi/contrib/prometheus_metric.py            28      1    96%
luigi/contrib/pyspark_runner.py               66     66     0%
luigi/contrib/rdbms.py                       136     60    56%
luigi/contrib/redis_store.py                  30     30     0%
luigi/contrib/redshift.py                    291    182    37%
luigi/contrib/s3.py                          375    274    27%
luigi/contrib/salesforce.py                  335    208    38%
luigi/contrib/scalding.py                    155     26    83%
luigi/contrib/sge.py                         133     29    78%
luigi/contrib/sge_runner.py                   40     30    25%
luigi/contrib/simulate.py                     41     25    39%
luigi/contrib/spark.py                       239    134    44%
luigi/contrib/sparkey.py                      20     20     0%
luigi/contrib/sqla.py                        127      7    94%
luigi/contrib/ssh.py                         206     27    87%
luigi/contrib/target.py                       32      0   100%
luigi/contrib/webhdfs.py                      51     51     0%
luigi/date_interval.py                       142     84    41%
luigi/db_task_history.py                     143     89    38%
luigi/event.py                                13      0   100%
luigi/execution_summary.py                   271     96    65%
luigi/format.py                              314    102    68%
luigi/freezing.py                             32     18    44%
luigi/interface.py                            90     10    89%
luigi/local_target.py                        113     52    54%
luigi/lock.py                                 78     67    14%
luigi/metrics.py                              62     21    66%
luigi/mock.py                                 97     25    74%
luigi/notifications.py                       165     94    43%
luigi/parameter.py                           485    198    59%
luigi/process.py                              64     64     0%
luigi/retcodes.py                             39     25    36%
luigi/rpc.py                                 102     63    38%
luigi/scheduler.py                          1071    463    57%
luigi/server.py                              205    141    31%
luigi/setup_logging.py                        97     50    48%
luigi/target.py                              100     33    67%
luigi/task.py                                337     90    73%
luigi/task_history.py                         33      9    73%
luigi/task_register.py                       122     32    74%
luigi/task_status.py                           9      0   100%
luigi/tools/deps.py                           58     58     0%
luigi/tools/deps_tree.py                      34     34     0%
luigi/tools/luigi_grep.py                     58     58     0%
luigi/tools/range.py                         331    219    34%
luigi/util.py                                113     58    49%
luigi/worker.py                              697    253    64%
--------------------------------------------------------------
TOTAL                                      13383   7292    46%

================================================================================ 133 passed, 11 skipped, 1693 deselected, 42 warnings in 192.06s (0:03:12) =================================================================================
_________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________
  py39-contrib: commands succeeded
  congratulations :)

@nstinus nstinus requested review from dlstadther and a team as code owners May 9, 2022 21:35
@dlstadther
Copy link
Collaborator

The impact here would be to the contrib test package. I'm not sure that is auto-ran by Github Actions. I may need to pull this branch and check on the local execution of those unittests (which might actually have more broken. We don't run 100% of the tests by default for speed reasons.

It may be worth revisiting that all tests are at least run through CI on the latest supported python version (a future improvement).

dlstadther
dlstadther previously approved these changes May 10, 2022
Copy link
Collaborator

@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Local test results of py39-contrib using this branch resulted in 100% unittest success, including the prometheus_metric_test.py cases.

tox installed prometheus-client==0.14.1 for these tests.

~/code > git clone git@github.com:nstinus/luigi.git tmp-luigi
Cloning into 'tmp-luigi'...
remote: Enumerating objects: 20469, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 20469 (delta 2), reused 9 (delta 2), pack-reused 20458
Receiving objects: 100% (20469/20469), 10.36 MiB | 16.50 MiB/s, done.
Resolving deltas: 100% (14245/14245), done.

~/code > cd tmp-luigi

~/code/tmp-luigi (tmp-luigi@master) > ~/venv/luigi-3.9/bin/python -m tox -e py39-contrib
py39-contrib create: /home/dillon/code/tmp-luigi/.tox/py39-contrib
py39-contrib installdeps: pytest<7.0, pytest-cov>=2.0,<3.0, mock<2.0, moto>=1.3.10, HTTPretty==0.8.10, docker>=2.1.0, boto>=2.42,<3.0, boto3>=1.11.0, pyhive[presto]==0.6.1, s3transfer>=0.3,<4.0, sqlalchemy<1.4, elasticsearch>=1.0.0,<2.0.0, psutil<4.0, mysql-connector-python>=8.0.12, avro-python3, google-compute-engine, coverage>=5.0,<6, codecov>=1.4.0, requests>=2.20.0,<3.0, pygments, hypothesis>=6.7.0,<7.0.0, selenium==3.0.2, pymongo==3.4.0, toml<2.0.0, responses<1.0.0, azure-storage<=0.36, datadog==0.22.0, prometheus-client>=0.5.0<0.15
py39-contrib develop-inst: /home/dillon/code/tmp-luigi
py39-contrib installed: attrs==21.4.0,avro-python3==1.10.2,azure-common==1.1.28,azure-nspkg==3.0.2,azure-storage==0.36.0,boto==2.49.0,boto3==1.22.10,botocore==1.25.10,certifi==2021.10.8,cffi==1.15.0,charset-normalizer==2.0.12,codecov==2.1.12,coverage==5.5,cryptography==37.0.2,datadog==0.22.0,decorator==5.1.1,distro==1.7.0,docker==5.0.3,docutils==0.18.1,elasticsearch==1.9.0,future==0.18.2,google-compute-engine==2.8.13,httpretty==0.8.10,hypothesis==6.46.2,idna==3.3,iniconfig==1.1.1,Jinja2==3.1.2,jmespath==1.0.0,lockfile==0.12.2,-e git+ssh://git@github.com/nstinus/luigi.git@c0162dabe63f2bb1282e22edec65ae50c28baab2#egg=luigi,MarkupSafe==2.1.1,mock==1.3.0,moto==3.1.8,mysql-connector-python==8.0.29,packaging==21.3,pbr==5.9.0,pluggy==1.0.0,prometheus-client==0.14.1,protobuf==3.20.1,psutil==3.4.2,py==1.11.0,pycparser==2.21,Pygments==2.12.0,PyHive==0.6.1,pymongo==3.4.0,pyparsing==3.0.8,pytest==6.2.5,pytest-cov==2.12.1,python-daemon==2.3.0,python-dateutil==2.8.2,pytz==2022.1,requests==2.27.1,responses==0.20.0,s3transfer==0.5.2,selenium==3.0.2,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,SQLAlchemy==1.3.24,tenacity==8.0.1,toml==0.10.2,tornado==6.1,urllib3==1.26.9,websocket-client==1.3.2,Werkzeug==2.1.2,xmltodict==0.13.0
py39-contrib run-test-pre: PYTHONHASHSEED='3482531086'
py39-contrib run-test: commands[0] | python --version
Python 3.9.11
py39-contrib run-test: commands[1] | python test/runtests.py -m contrib
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.9.11, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /home/dillon/code/tmp-luigi/.tox/py39-contrib/bin/python
cachedir: .tox/py39-contrib/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/dillon/code/tmp-luigi/.hypothesis/examples')
rootdir: /home/dillon/code/tmp-luigi, configfile: tox.ini, testpaths: test
plugins: cov-2.12.1, hypothesis-6.46.2
collected 1773 items / 1693 deselected / 11 skipped / 69 selected                                                                                                                           

test/contrib/cascading_test.py::CascadingClientTest::test_FileAlreadyExists_propagation PASSED                                                                                        [  1%]
test/contrib/cascading_test.py::CascadingClientTest::test_failings PASSED                                                                                                             [  2%]
test/contrib/cascading_test.py::CascadingClientTest::test_fallbacking PASSED                                                                                                          [  3%]
test/contrib/cascading_test.py::CascadingClientTest::test_method_names_kwarg PASSED                                                                                                   [  5%]
test/contrib/cascading_test.py::CascadingClientTest::test_successes PASSED                                                                                                            [  6%]
test/contrib/docker_runner_test.py::TestDockerTask::test_fail_job_container PASSED                                                                                                    [  7%]
test/contrib/docker_runner_test.py::TestDockerTask::test_fail_job_image_not_found PASSED                                                                                              [  8%]
test/contrib/docker_runner_test.py::TestDockerTask::test_local_file_mount PASSED                                                                                                      [ 10%]
test/contrib/docker_runner_test.py::TestDockerTask::test_multiple_jobs PASSED                                                                                                         [ 11%]
test/contrib/docker_runner_test.py::TestDockerTask::test_multiple_jobs2 PASSED                                                                                                        [ 12%]
test/contrib/docker_runner_test.py::TestDockerTask::test_success_job PASSED                                                                                                           [ 13%]
test/contrib/docker_runner_test.py::TestDockerTask::test_temp_dir_creation PASSED                                                                                                     [ 15%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_always_log_stderr_on_failure PASSED                                                                              [ 16%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_app_interruption PASSED                                                                                          [ 17%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_capture_output_set_to_false_writes_output_to_stdout PASSED                                                       [ 18%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_dont_log_stderr_on_success_if_disabled PASSED                                                                    [ 20%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_handle_failed_job PASSED                                                                                         [ 21%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_log_stderr_on_success_by_default PASSED                                                                          [ 22%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_no_url_searching_is_performed_if_pattern_is_not_set PASSED                                                       [ 23%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_non_mocked_task_run PASSED                                                                                       [ 25%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_program_args_must_be_implemented PASSED                                                                          [ 26%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_run PASSED                                                                                                       [ 27%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_context_works_correctly_when_logs_output_pattern_to_url_is_not_default PASSED                       [ 28%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_context_works_without_capture_output PASSED                                                         [ 30%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_pattern_works_with_capture_output_disabled PASSED                                                   [ 31%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_pattern_works_with_capture_output_enabled PASSED                                                    [ 32%]
test/contrib/external_program_test.py::ExternalProgramTaskTest::test_tracking_url_pattern_works_with_stderr PASSED                                                                    [ 33%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_original_environment_is_kept_intact PASSED                                                                 [ 35%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_pythonpath_is_prepended_if_not_empty PASSED                                                                [ 36%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_pythonpath_is_set_if_empty PASSED                                                                          [ 37%]
test/contrib/external_program_test.py::ExternalPythonProgramTaskTest::test_venv_is_set_and_prepended_to_path PASSED                                                                   [ 38%]
test/contrib/lsf_test.py::TestSGEJob::test_run_job PASSED                                                                                                                             [ 40%]
test/contrib/lsf_test.py::TestSGEJob::test_run_job_with_dump PASSED                                                                                                                   [ 41%]
test/contrib/opener_test.py::TestOpenerTarget::test_binary_support PASSED                                                                                                             [ 42%]
test/contrib/opener_test.py::TestOpenerTarget::test_default_target PASSED                                                                                                             [ 43%]
test/contrib/opener_test.py::TestOpenerTarget::test_invalid_target PASSED                                                                                                             [ 45%]
test/contrib/opener_test.py::TestOpenerTarget::test_local_target PASSED                                                                                                               [ 46%]
test/contrib/opener_test.py::TestOpenerTarget::test_local_tmp_target PASSED                                                                                                           [ 47%]
test/contrib/opener_test.py::TestOpenerTarget::test_mock_target PASSED                                                                                                                [ 48%]
test/contrib/opener_test.py::TestOpenerTarget::test_mock_target_root PASSED                                                                                                           [ 50%]
test/contrib/opener_test.py::TestOpenerTarget::test_s3_parse PASSED                                                                                                                   [ 51%]
test/contrib/opener_test.py::TestOpenerTarget::test_s3_parse_param PASSED                                                                                                             [ 52%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_configure_http_handler PASSED                                                                                      [ 53%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_disabled PASSED                                                                                        [ 55%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_done PASSED                                                                                            [ 56%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_failed PASSED                                                                                          [ 57%]
test/contrib/prometheus_metric_test.py::PrometheusMetricTest::test_handle_task_started PASSED                                                                                         [ 58%]
test/contrib/salesforce_test.py::TestSalesforceAPI::test_deprecated_results_warning PASSED                                                                                            [ 60%]
test/contrib/salesforce_test.py::TestSalesforceAPI::test_result_ids PASSED                                                                                                            [ 61%]
test/contrib/salesforce_test.py::TestSalesforceQuery::test_multi_csv_download PASSED                                                                                                  [ 62%]
test/contrib/scalding_test.py::ScaldingTest::test_scalding PASSED                                                                                                                     [ 63%]
test/contrib/sge_test.py::TestSGEWrappers::test_track_job PASSED                                                                                                                      [ 65%]
test/contrib/sge_test.py::TestSGEJob::test_run_job PASSED                                                                                                                             [ 66%]
test/contrib/sge_test.py::TestSGEJob::test_run_job_with_dump PASSED                                                                                                                   [ 67%]
test/contrib/sqla_test.py::TestSQLA::test_column_row_separator PASSED                                                                                                                 [ 68%]
test/contrib/sqla_test.py::TestSQLA::test_create_marker_table PASSED                                                                                                                  [ 70%]
test/contrib/sqla_test.py::TestSQLA::test_create_table PASSED                                                                                                                         [ 71%]
test/contrib/sqla_test.py::TestSQLA::test_create_table_raises_no_columns PASSED                                                                                                       [ 72%]
test/contrib/sqla_test.py::TestSQLA::test_multiple_engines PASSED                                                                                                                     [ 73%]
test/contrib/sqla_test.py::TestSQLA::test_multiple_tasks PASSED                                                                                                                       [ 75%]
test/contrib/sqla_test.py::TestSQLA::test_reflect PASSED                                                                                                                              [ 76%]
test/contrib/sqla_test.py::TestSQLA::test_row_overload PASSED                                                                                                                         [ 77%]
test/contrib/sqla_test.py::TestSQLA::test_rows PASSED                                                                                                                                 [ 78%]
test/contrib/sqla_test.py::TestSQLA::test_run PASSED                                                                                                                                  [ 80%]
test/contrib/sqla_test.py::TestSQLA::test_run_with_chunk_size PASSED                                                                                                                  [ 81%]
test/contrib/sqla_test.py::TestSQLA::test_touch PASSED                                                                                                                                [ 82%]
test/contrib/sqla_test.py::TestSQLA::test_update_rows_test PASSED                                                                                                                     [ 83%]
test/contrib/sqla_test.py::TestSQLA2::test_column_row_separator PASSED                                                                                                                [ 85%]
test/contrib/sqla_test.py::TestSQLA2::test_create_marker_table PASSED                                                                                                                 [ 86%]
test/contrib/sqla_test.py::TestSQLA2::test_create_table PASSED                                                                                                                        [ 87%]
test/contrib/sqla_test.py::TestSQLA2::test_create_table_raises_no_columns PASSED                                                                                                      [ 88%]
test/contrib/sqla_test.py::TestSQLA2::test_multiple_engines PASSED                                                                                                                    [ 90%]
test/contrib/sqla_test.py::TestSQLA2::test_multiple_tasks PASSED                                                                                                                      [ 91%]
test/contrib/sqla_test.py::TestSQLA2::test_reflect PASSED                                                                                                                             [ 92%]
test/contrib/sqla_test.py::TestSQLA2::test_row_overload PASSED                                                                                                                        [ 93%]
test/contrib/sqla_test.py::TestSQLA2::test_rows PASSED                                                                                                                                [ 95%]
test/contrib/sqla_test.py::TestSQLA2::test_run PASSED                                                                                                                                 [ 96%]
test/contrib/sqla_test.py::TestSQLA2::test_run_with_chunk_size PASSED                                                                                                                 [ 97%]
test/contrib/sqla_test.py::TestSQLA2::test_touch PASSED                                                                                                                               [ 98%]
test/contrib/sqla_test.py::TestSQLA2::test_update_rows_test PASSED                                                                                                                    [100%]

@dlstadther
Copy link
Collaborator

dlstadther commented May 10, 2022

@nstinus, Now that we know unittests pass, we'll need to update the setup reference to actually create the installation dep version update:
https://github.com/spotify/luigi/blob/master/setup.py#L103

@dlstadther dlstadther dismissed their stale review May 10, 2022 02:10

not ready to merge yet; need to update installation dependency pinning

@nstinus
Copy link
Contributor Author

nstinus commented May 10, 2022

@nstinus, Now that we know unittests pass, we'll need to update the setup reference to actually create the installation dep version update: https://github.com/spotify/luigi/blob/master/setup.py#L103

Done: b51afed

setup.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dlstadther dlstadther merged commit 62d1672 into spotify:master May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants