Skip to content
Failed

Console Output

Started by user score
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/pkgbuilds/python-dephell-setuptools
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/pkgbuilds/python-dephell-setuptools/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://aur.archlinux.org/python-dephell-setuptools.git # timeout=10
Fetching upstream changes from https://aur.archlinux.org/python-dephell-setuptools.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
 > git fetch --tags --force --progress -- https://aur.archlinux.org/python-dephell-setuptools.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 1fe34249916e3a795e7c75b06dfbd41ac0355ce3 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1fe34249916e3a795e7c75b06dfbd41ac0355ce3 # timeout=10
Commit message: "Patch pyproject.toml to fix wheel version being 0.0.0"
 > git rev-list --no-walk 1fe34249916e3a795e7c75b06dfbd41ac0355ce3 # timeout=10
[python-dephell-setuptools] $ /bin/sh -xe /tmp/jenkins14353908827083993833.sh
+ '[' -e PKGBUILD ']'
+ '[' -n 'pkgrel=$pkgrel.1' ']'
+ trap 'mv -v PKGBUILD.real PKGBUILD' EXIT
+ mv PKGBUILD PKGBUILD.real
+ cat PKGBUILD.real
+ printf '\n%s\n' 'pkgrel=$pkgrel.1'
+ rm -vf python-dephell-setuptools-0.2.5-1-any.pkg.tar.zst python-dephell-setuptools-0.2.5-1-any.pkg.tar.zst.sig
removed 'python-dephell-setuptools-0.2.5-1-any.pkg.tar.zst'
removed 'python-dephell-setuptools-0.2.5-1-any.pkg.tar.zst.sig'
+ sudo /usr/local/sbin/build-chroot-pkg python-dephell-setuptools
==> Synchronizing chroot copy [/var/lib/jenkins/chroots/root1/root] -> [build-0002]...done
==> Making package: python-dephell-setuptools 0.2.5-1.1 (Thu May 11 01:59:29 2023)
==> Retrieving sources...
-> Found python-dephell-setuptools-0.2.5.tar.gz
==> Validating source files with sha256sums...
python-dephell-setuptools-0.2.5.tar.gz ... Passed
==> Making package: python-dephell-setuptools 0.2.5-1.1 (Thu May 11 01:59:36 2023)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (18) libnsl-2.0.0-3 python-3.11.3-1 python-autocommand-2.2.2-4
python-fastjsonschema-2.16.3-4 python-inflect-6.0.4-2
python-jaraco.context-4.3.0-3 python-jaraco.functools-3.6.0-3
python-jaraco.text-3.11.1-3 python-more-itertools-9.1.1-4
python-ordered-set-4.1.0-4 python-packaging-23.0-3
python-platformdirs-3.5.0-2 python-pydantic-1.10.7-4
python-tomli-2.0.1-3 python-trove-classifiers-2023.4.22-1
python-typing_extensions-4.5.0-4
python-validate-pyproject-0.12.2-4 python-setuptools-1:67.7.0-1
Total Installed Size: 90.87 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libnsl...
installing python...
Optional dependencies for python
python-setuptools [pending]
python-pip
sqlite [installed]
mpdecimal: for decimal
xz: for lzma [installed]
tk: for tkinter
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-typing_extensions...
installing python-pydantic...
Optional dependencies for python-pydantic
python-dotenv: for .env file support
python-email-validator: for email validation
installing python-inflect...
installing python-jaraco.text...
installing python-ordered-set...
installing python-packaging...
installing python-platformdirs...
installing python-tomli...
installing python-fastjsonschema...
installing python-trove-classifiers...
installing python-validate-pyproject...
installing python-setuptools...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (7) python-iniconfig-2.0.0-4 python-pluggy-1.0.0-4
python-pyproject-hooks-1.0.0-5 python-build-0.10.0-4
python-installer-0.7.0-3 python-pytest-7.3.1-4
python-wheel-0.40.0-3
Total Installed Size: 6.01 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing python-pyproject-hooks...
installing python-build...
Optional dependencies for python-build
python-virtualenv: Use virtualenv for build isolation
installing python-installer...
installing python-wheel...
Optional dependencies for python-wheel
python-keyring: for wheel.signatures
python-xdg: for wheel.signatures
installing python-iniconfig...
installing python-pluggy...
installing python-pytest...
==> Retrieving sources...
-> Found python-dephell-setuptools-0.2.5.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting python-dephell-setuptools-0.2.5.tar.gz with bsdtar
==> Starting prepare()...
patching file pyproject.toml
==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.11/site-packages/setuptools/dist.py:754: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2023-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema
validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema
running egg_info
creating dephell_setuptools.egg-info
writing dephell_setuptools.egg-info/PKG-INFO
writing dependency_links to dephell_setuptools.egg-info/dependency_links.txt
writing top-level names to dephell_setuptools.egg-info/top_level.txt
writing manifest file 'dephell_setuptools.egg-info/SOURCES.txt'
reading manifest file 'dephell_setuptools.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'dephell_setuptools.egg-info/SOURCES.txt'
* Building wheel...
/usr/lib/python3.11/site-packages/setuptools/dist.py:754: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2023-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema
validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/dephell_setuptools
copying dephell_setuptools/__init__.py -> build/lib/dephell_setuptools
copying dephell_setuptools/__main__.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_base.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_cached_property.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_cfg.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_cli.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_cmd.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_constants.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_manager.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_pkginfo.py -> build/lib/dephell_setuptools
copying dephell_setuptools/_static.py -> build/lib/dephell_setuptools
copying dephell_setuptools/distutils_cmd.py -> build/lib/dephell_setuptools
running egg_info
writing dephell_setuptools.egg-info/PKG-INFO
writing dependency_links to dephell_setuptools.egg-info/dependency_links.txt
writing top-level names to dephell_setuptools.egg-info/top_level.txt
reading manifest file 'dephell_setuptools.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'dephell_setuptools.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/__init__.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/__main__.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_base.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_cached_property.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_cfg.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_cli.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_cmd.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_constants.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_manager.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_pkginfo.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/_static.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
copying build/lib/dephell_setuptools/distutils_cmd.py -> build/bdist.linux-x86_64/wheel/dephell_setuptools
running install_egg_info
Copying dephell_setuptools.egg-info to build/bdist.linux-x86_64/wheel/dephell_setuptools-0.2.5-py3.11.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/dephell_setuptools-0.2.5.dist-info/WHEEL
creating '/build/python-dephell-setuptools/src/dephell_setuptools-v.0.2.5/dist/.tmp-kgzdv9_i/dephell_setuptools-0.2.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'dephell_setuptools/__init__.py'
adding 'dephell_setuptools/__main__.py'
adding 'dephell_setuptools/_base.py'
adding 'dephell_setuptools/_cached_property.py'
adding 'dephell_setuptools/_cfg.py'
adding 'dephell_setuptools/_cli.py'
adding 'dephell_setuptools/_cmd.py'
adding 'dephell_setuptools/_constants.py'
adding 'dephell_setuptools/_manager.py'
adding 'dephell_setuptools/_pkginfo.py'
adding 'dephell_setuptools/_static.py'
adding 'dephell_setuptools/distutils_cmd.py'
adding 'dephell_setuptools-0.2.5.dist-info/LICENSE'
adding 'dephell_setuptools-0.2.5.dist-info/METADATA'
adding 'dephell_setuptools-0.2.5.dist-info/WHEEL'
adding 'dephell_setuptools-0.2.5.dist-info/top_level.txt'
adding 'dephell_setuptools-0.2.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built dephell_setuptools-0.2.5-py3-none-any.whl
==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0
rootdir: /build/python-dephell-setuptools/src/dephell_setuptools-v.0.2.5
collected 5 items
tests/test_cfg.py F [ 20%]
tests/test_cmd.py . [ 40%]
tests/test_static.py ... [100%]
=================================== FAILURES ===================================
___________________________________ test_cfg ___________________________________
def test_cfg():
path = Path(__file__).parent / 'setups' / 'setup.cfg'
> actual = CfgReader(path).content
tests/test_cfg.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dephell_setuptools/_cached_property.py:17: in __get__
value = obj.__dict__[self.func.__name__] = self.func(obj)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dephell_setuptools._cfg.CfgReader object at 0x7f79fe571050>
@cached_property
def content(self) -> Dict[str, Any]:
path = self.path
if path.name == 'setup.py':
path = path.parent / 'setup.cfg'
if not path.exists():
raise FileNotFoundError(str(path))
parser = ConfigParser()
parser.read(str(path))
options = deepcopy(parser._sections) # type: ignore
for section, content in options.items():
for k, v in content.items():
options[section][k] = ('', v)
container = type('container', (), dict.fromkeys(FIELDS))()
> ConfigOptionsHandler(container, options).parse()
E TypeError: ConfigOptionsHandler.__init__() missing 2 required positional arguments: 'ignore_option_errors' and 'ensure_discovered'
dephell_setuptools/_cfg.py:42: TypeError
=========================== short test summary info ============================
FAILED tests/test_cfg.py::test_cfg - TypeError: ConfigOptionsHandler.__init__...
========================= 1 failed, 4 passed in 0.25s ==========================
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Build failed, check /var/lib/jenkins/chroots/root1/build-0002/build
+ mv -v PKGBUILD.real PKGBUILD
renamed 'PKGBUILD.real' -> 'PKGBUILD'
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful
Publishing build last changes...
Last changes from revision 1fe3424 (current) to 1fe3424 (previous) published successfully!
Finished: FAILURE