-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
python-cx-freeze 7.2.7-2 build error #2753
Comments
Support for Python 3.13 in the next minor release (7.3.0). Duplicate of #2568 |
Tested both your 7.3.0-dev and the main/default and ran into the exact same
build errors.
…On Thu, Dec 26, 2024, 8:27 PM Marcelo Duarte ***@***.***> wrote:
Support for Python 3.13 in the next minor release (7.3.0).
You can test it:
pip install ***@***.***
Duplicate of #2568
<#2568>
—
Reply to this email directly, view it on GitHub
<#2753 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIC744MVI6AOUUBLKXBGDT2HSUIRAVCNFSM6AAAAABUH4YDISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGIYTMNJQGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
If you are using py313t you may get the same errors. But with py313 it works. |
Yeah. Really need to build it, in an Arch Linux environment, into an Arch
Linux package for my users. Can you point me to source code that builds,
please.
…On Thu, Dec 26, 2024, 10:17 PM Marcelo Duarte ***@***.***> wrote:
If you are using py313t you may get the same errors. But with py313 it
works.
I believe you can test it with
You can test the PR with:
pip install --extra-index-url https://test.pypi.org/simple/
cx-Freeze==7.3.0.dev1735263095
—
Reply to this email directly, view it on GitHub
<#2753 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIC743Y4UVWH6UMWOCTPZ32HTBDRAVCNFSM6AAAAABUH4YDISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGI3TCMBXGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The main branch works. |
I did end up sending you my PKGBUILD, but I'm not seeing it in the comments. Strange. I replied right away when you asked to see it. |
I didn't receive it. Please paste it. |
Never mind the version number. This was created to build main. The only
change from the original is the version number:
```
# Maintainer: envolution
# Contributor: Self Denial ***@***.***>
# Contributor: Brian Thompson ***@***.***>
# Contributor: Felix Yan ***@***.***>
# Contributor: Alexander Rødseth ***@***.***>
# Contributor: Ray Rashif ***@***.***>
# Contributor: Douglas Soares de Andrade ***@***.***>
# Contributor: Eric Belanger ***@***.***>
# Contributor: Roberto Alsina ***@***.***>
# Contributor: Julien Duponchelle ***@***.***>
pkgname=python-cx-freeze
pkgver=7.2.8
pkgrel=1
pkgdesc='Create standalone executables from Python scripts'
arch=('x86_64')
url='https://marcelotduarte.github.io/cx_Freeze'
license=('PSF-2.0')
depends=('glibc' 'patchelf' 'python' 'python-packaging' 'python-setuptools'
'python-filelock' 'python-pyqt6')
makedepends=('python-wheel' 'python-build' 'python-installer')
checkdepends=('python-pytest-mock' 'python-pytest-xdist'
'python-pytest-datafiles' 'python-pytest')
optdepends=('perl-alien-build: Alien support for rpm, dpkg, stampede slp,
and slackware tgz file formats'
'rpm-tools: RPM Package Manager RPM.org support')
replaces=('python-cx_freeze')
provides=('python-cx_freeze')
conflicts=('python-cx_freeze')
source=("
https://github.com/marcelotduarte/cx_Freeze/archive/$pkgver/$pkgname-$pkgver.tar.gz
")
sha512sums=('SKIP')
prepare() {
sed -e 's|75|80|g' -i cx_Freeze-$pkgver/pyproject.toml # Support
setuptools 75
sed -e '/patchelf/d' -i cx_Freeze-$pkgver/pyproject.toml # don't require
patchelf pip module
}
build() {
cd cx_Freeze-$pkgver
python -m build --wheel --no-isolation
}
check() {
echo "Removing the following directory for a clean install:
$PWD/cx_Freeze-$pkgver/test_dir"
rm -rf cx_Freeze-$pkgver/test_dir
local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
cd cx_Freeze-$pkgver
python -m installer --destdir=test_dir dist/*.whl
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
unset SOURCE_DATE_EPOCH # Workaround for 'FATAL ERROR:SOURCE_DATE_EPOCH'
(see https://github.com/AppImage/AppImageKit/issues/1202)
pytest -vv -k 'not pandas and not deb and not rpm' # Since deb and rpm
are optional, disable testing
}
package() {
cd cx_Freeze-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
```
…On Tue, Jan 7, 2025, 11:10 AM Marcelo Duarte ***@***.***> wrote:
I didn't receive it. Please paste it.
—
Reply to this email directly, view it on GitHub
<#2753 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIC744KTKK7FS2XJJDLHFT2JP4ABAVCNFSM6AAAAABUH4YDISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZVGY3TSNBZGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You can use:
|
@jghodd can you try this build? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-cx-freeze |
python3.13 compatibility is a prerequisite for a successful Debian sid build. |
To replicate, check out Arch Linux python-cx-freeze from the AUR, and run makepkg.
Build fails.
Build shouldn;t fail.
Not sure what else to add. Error message is listed below. Architecture is x86_64. All system and python software is up to date.
Please fix.
The text was updated successfully, but these errors were encountered: