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

Build and packaging fixes #5733

Merged
merged 4 commits into from
Jul 24, 2023

Commits on Jul 18, 2023

  1. requirements-dev.txt: remove aexpect

    Aexpect was last used in a selftests before a640bf4.
    
    Signed-off-by: Cleber Rosa <[email protected]>
    clebergnu committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    380f89f View commit details
    Browse the repository at this point in the history
  2. Development/build requirements: remove elementpath

    In 847d536, elementpath and xmlschema were added to the build
    requirements with the reasoning that coverage was expanded (the tests
    that relied on "them" would be enable at build time).  But, in fact,
    only xmlschema was being used at the time, and that remains today.
    
    Let's remove elementpath for a cleaner set of build requirements.
    
    Signed-off-by: Cleber Rosa <[email protected]>
    clebergnu committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    af38c50 View commit details
    Browse the repository at this point in the history
  3. Builds eggs and upload them at release time

    Commit 033e522 enabled the building of plugins' eggs as a pre-merge
    check.  This adds the building and uploading of plugins' eggs as part
    of the release process.
    
    Signed-off-by: Cleber Rosa <[email protected]>
    clebergnu committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    f47ea05 View commit details
    Browse the repository at this point in the history
  4. optional_plugins/varianter_pict: include README.rst in packages

    While building wheels, the following condition was caught:
    
    * Getting build dependencies for wheel...
    Traceback (most recent call last):
      File "/home/cleber/.local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
        main()
      File "/home/cleber/.local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/cleber/.local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
        return hook(config_settings)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/build-env-3g7hr9m7/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
        return self._get_build_requires(config_settings, requirements=['wheel'])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/build-env-3g7hr9m7/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
        self.run_setup()
      File "/tmp/build-env-3g7hr9m7/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup
        self).run_setup(setup_script=setup_script)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/build-env-3g7hr9m7/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
        exec(code, locals())
      File "<string>", line 43, in <module>
      File "<string>", line 34, in get_long_description
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/build-via-sdist-gu1zghmm/avocado-framework-plugin-varianter-pict-102.0/README.rst'
    
    Which revealed a mistake introduced in 2e0591d that missed the
    README.rst for the pict plugin.
    
    Signed-off-by: Cleber Rosa <[email protected]>
    clebergnu committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    00a2dc8 View commit details
    Browse the repository at this point in the history