Skip to content

Conversation

@fedelibre
Copy link
Collaborator

No description provided.

@fedelibre
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.frescobaldi.Frescobaldi.

@flathubbot
Copy link
Contributor

Started test build 190853

@flathubbot
Copy link
Contributor

Build 190853 failed

@fedelibre
Copy link
Collaborator Author

Strange, the test build 190853 is empty.

I'll try to run a new build.

@fedelibre
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.frescobaldi.Frescobaldi.

@flathubbot
Copy link
Contributor

Started test build 190880

@flathubbot
Copy link
Contributor

Build 190880 failed

@fedelibre
Copy link
Collaborator Author

Ok, Buildbot is just extremely slow to build the page.

Here's the tail of the log:

Processing /run/build/qpageview
  Installing build dependencies ... �[?25l-
 
\
 
|
 
/
 
-
 
error
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f448c27baa0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/hatchling/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f448bc51970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/hatchling/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f448b78a4b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/hatchling/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f448b78a6c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/hatchling/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f448b78a450>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/hatchling/
      ERROR: Could not find a version that satisfies the requirement hatchling (from versions: none)
      ERROR: No matching distribution found for hatchling
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
�[?25hFB: host_command_exited_cb 2289068 256
�]2;flatpak-builder: Cleanup qpageview�Error: module qpageview: Child process exited with code 1
FB: Unmounting read-only fs: fusermount -uz /srv/buildbot/worker/build-x86_64/build/.flatpak-builder/rofiles/rofiles-2w68O8
program finished with exit code 1
elapsedTime=2411.317423

@fedelibre
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.frescobaldi.Frescobaldi.

@flathubbot
Copy link
Contributor

Started test build 190908

@flathubbot
Copy link
Contributor

Started test build 190910

@flathubbot
Copy link
Contributor

Build 190910 was cancelled

@flathubbot
Copy link
Contributor

Build 190908 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/174178/org.frescobaldi.Frescobaldi.flatpakref

@flathubbot
Copy link
Contributor

Started test build 190934

@flathubbot
Copy link
Contributor

Build 190934 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/174208/org.frescobaldi.Frescobaldi.flatpakref

@fedelibre
Copy link
Collaborator Author

The .mo files are now present, but not the .md files of the user guide.
I don't think I had this problem when running from source.

  File "/app/lib/python3.12/site-packages/frescobaldi/userguide/read.py", line 57, in document
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] File o directory non esistente: '/app/lib/python3.12/site-packages/frescobaldi/userguide/404.md'

I guess I had to add them as well (as the .mo files) in pyproject.toml

@hfiguiere
Copy link
Collaborator

that's a python deprecation.... which is an error in 3.12

maybe if you are "running from source" you use an older version of Python?

@hfiguiere
Copy link
Collaborator

or not. I think I misread it (error message not in english)

@fedelibre
Copy link
Collaborator Author

I used python 3.13.2 to make and test this upstream PR. The generated wheel contains the .md files.

I used the same patch here, but the .md files are not present in the flatpak installation.
I guess it's because I should install setuptools-scm. Let's try

@fedelibre
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.frescobaldi.Frescobaldi.

@flathubbot
Copy link
Contributor

Started test build 190979

@flathubbot
Copy link
Contributor

Build 190979 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/174254/org.frescobaldi.Frescobaldi.flatpakref

@fedelibre
Copy link
Collaborator Author

I used the same patch here, but the .md files are not present in the flatpak installation.
I guess it's because I should install setuptools-scm. Let's try

Nope, still the same problem: the .md files are not copied.

I've read again the python docs and I can't understand why it's not working here. These .md files are tracked in git and setuptools-scm should be able to recognize them.

Not only the .md files, also some icons are missing. Here three preferences sections are without icon:

image

@fedelibre
Copy link
Collaborator Author

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.frescobaldi.Frescobaldi.

@flathubbot
Copy link
Contributor

Started test build 191048

@flathubbot
Copy link
Contributor

Build 191048 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/174322/org.frescobaldi.Frescobaldi.flatpakref

@fedelibre
Copy link
Collaborator Author

The previous tarball was a bit clumsy and I have to update it.

In the last build the .md files are still not present in the flatpak installation:

[📦 org.frescobaldi.Frescobaldi org.frescobaldi.Frescobaldi]$ ls /app/lib/python3.12/site-packages/frescobaldi/userguide/
browser.py  __init__.py  __pycache__  resolve.py  whatsthis.py
export.py   page.py	 read.py      util.py

I can easily verify it by running pip install . in the unpacked tarball.
This means that I need a slightly modified version of the patch I used early.
The next commits should hopefully fix it.

@flathubbot
Copy link
Contributor

Started test build 191185

@flathubbot
Copy link
Contributor

Build 191185 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/174456/org.frescobaldi.Frescobaldi.flatpakref

@fedelibre
Copy link
Collaborator Author

Ok, everything works correctly now.

But I'll have to make a final adjustment to patches/frescobaldi-package-data.patch as in PR 1901.

@flathubbot
Copy link
Contributor

Started test build 191244

@flathubbot
Copy link
Contributor

Build 191244 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/174515/org.frescobaldi.Frescobaldi.flatpakref

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.

4 participants