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

fresh fedora installation report #872

Open
ilippert opened this issue Dec 15, 2023 · 4 comments
Open

fresh fedora installation report #872

ilippert opened this issue Dec 15, 2023 · 4 comments

Comments

@ilippert
Copy link
Contributor

ilippert commented Dec 15, 2023

Hi there,

here are some exceptions the install_fedora script produced:

DEPRECATION: Loading egg at /usr/local/lib/python3.12/site-packages/xmlschema-2.5.0-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation..


/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************


!!
  self.initialize_options()
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************



/usr/lib/python3.12/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'qualcoder.GUI.__pycache__' is absent from the `packages` configuration.
!!

        ********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'qualcoder.GUI.__pycache__' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to distribute this
        package, please make sure that 'qualcoder.GUI.__pycache__' is explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'qualcoder.GUI.__pycache__' to be distributed and are
        already explicitly excluding 'qualcoder.GUI.__pycache__' via
        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        ********************************************************************************

!!
  check.warn(importable)
/usr/lib/python3.12/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'qualcoder.locale.__pycache__' is absent from the `packages` configuration.
!!

        ********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'qualcoder.locale.__pycache__' as an importable package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to distribute this
        package, please make sure that 'qualcoder.locale.__pycache__' is explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'qualcoder.locale.__pycache__' to be distributed and are
        already explicitly excluding 'qualcoder.locale.__pycache__' via
        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
        you can try to use `exclude_package_data`, or `include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        ********************************************************************************

!!
  check.warn(importable)


build/bdist.linux-x86_64/egg/qualcoder/refi.py:2852: SyntaxWarning: invalid escape sequence '\['
  mmss1 = "\[[0-9]?[0-9]:[0-9][0-9]\]"
build/bdist.linux-x86_64/egg/qualcoder/refi.py:2853: SyntaxWarning: invalid escape sequence '\['
  hhmmss1 = "\[[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\]"
build/bdist.linux-x86_64/egg/qualcoder/refi.py:2854: SyntaxWarning: invalid escape sequence '\['
  mmss2 = "\[[0-9]?[0-9]\.[0-9][0-9]\]"
build/bdist.linux-x86_64/egg/qualcoder/refi.py:2855: SyntaxWarning: invalid escape sequence '\['
  hhmmss2 = "\[[0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]\]"
build/bdist.linux-x86_64/egg/qualcoder/refi.py:2856: SyntaxWarning: invalid escape sequence '\.'
  hhmmss_sss = "#[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.[0-9]{1,3}#"  # allow for 1 to 3 msecs digits
build/bdist.linux-x86_64/egg/qualcoder/refi.py:2857: SyntaxWarning: invalid escape sequence '\s'
  srt = "[0-9][0-9]:[0-9][0-9]:[0-9][0-9],[0-9][0-9][0-9]\s-->\s[0-9][0-9]:[0-9][0-9]:[0-9][0-9],[0-9][0-9][0-9]"
build/bdist.linux-x86_64/egg/qualcoder/refi.py:3134: SyntaxWarning: invalid escape sequence '\{'


build/bdist.linux-x86_64/egg/qualcoder/vlc.py:1146: SyntaxWarning: invalid escape sequence '\w'
  '''Viewpoint
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:1915: SyntaxWarning: invalid escape sequence '\d'
  '''Backward compatibility stub. Do not use in new code.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:1923: SyntaxWarning: invalid escape sequence '\d'
  '''Backward compatibility stub. Do not use in new code.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:1931: SyntaxWarning: invalid escape sequence '\d'
  '''Backward compatibility stub. Do not use in new code.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:1939: SyntaxWarning: invalid escape sequence '\d'
  '''\deprecated Use L{media_discoverer_new}() and L{media_discoverer_start}().
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2528: SyntaxWarning: invalid escape sequence '\d'
  '''Parse a media.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2541: SyntaxWarning: invalid escape sequence '\d'
  '''Parse a media.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2559: SyntaxWarning: invalid escape sequence '\d'
  '''Return true is the media descriptor object is parsed
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2569: SyntaxWarning: invalid escape sequence '\d'
  '''Get media descriptor's elementary streams description
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2683: SyntaxWarning: invalid escape sequence '\l'
  '''Get the current statistics about the media.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2835: SyntaxWarning: invalid escape sequence '\d'
  '''Get media service discover object its localized name.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2844: SyntaxWarning: invalid escape sequence '\d'
  '''Get event manager from media service discover object.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:2886: SyntaxWarning: invalid escape sequence '\l'
  '''Query if media service discover object is running.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3053: SyntaxWarning: invalid escape sequence '\l'
  '''This indicates if this media list is read-only from a user point of view.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3173: SyntaxWarning: invalid escape sequence '\l'
  '''Is media list playing?
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3392: SyntaxWarning: invalid escape sequence '\d'
  '''Get movie fps rate
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3403: SyntaxWarning: invalid escape sequence '\d'
  '''\deprecated Use L{set_nsobject}() instead.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3409: SyntaxWarning: invalid escape sequence '\d'
  '''\deprecated Use L{get_nsobject}() instead.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3430: SyntaxWarning: invalid escape sequence '\d'
  '''Set new video subtitle file.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3439: SyntaxWarning: invalid escape sequence '\d'
  '''Toggle teletext transparent status on video output.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3485: SyntaxWarning: invalid escape sequence '\l'
  '''is_playing.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3589: SyntaxWarning: invalid escape sequence '\@'
  '''Set the NSView handler where the media player should render its video output.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3792: SyntaxWarning: invalid escape sequence '\l'
  '''Is the player able to play.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3871: SyntaxWarning: invalid escape sequence '\l'
  '''Is this media player seekable?
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3878: SyntaxWarning: invalid escape sequence '\l'
  '''Can this media player be paused?
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3885: SyntaxWarning: invalid escape sequence '\l'
  '''Check if the current program is scrambled.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:3950: SyntaxWarning: invalid escape sequence '\l'
  '''Get current fullscreen status.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4550: SyntaxWarning: invalid escape sequence '\d'
  '''Get movie fps rate
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4564: SyntaxWarning: invalid escape sequence '\d'
  '''\deprecated Use L{libvlc_media_player_set_nsobject}() instead.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4572: SyntaxWarning: invalid escape sequence '\d'
  '''\deprecated Use L{libvlc_media_player_get_nsobject}() instead.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4580: SyntaxWarning: invalid escape sequence '\d'
  '''\deprecated Use L{libvlc_track_description_list_release}() instead.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4588: SyntaxWarning: invalid escape sequence '\d'
  '''Get current video height.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4599: SyntaxWarning: invalid escape sequence '\d'
  '''Get current video width.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4631: SyntaxWarning: invalid escape sequence '\d'
  '''Set new video subtitle file.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4643: SyntaxWarning: invalid escape sequence '\d'
  '''Toggle teletext transparent status on video output.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4653: SyntaxWarning: invalid escape sequence '\d'
  '''Backward compatibility stub. Do not use in new code.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4663: SyntaxWarning: invalid escape sequence '\d'
  '''Backward compatibility stub. Do not use in new code.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4673: SyntaxWarning: invalid escape sequence '\d'
  '''Backward compatibility stub. Do not use in new code.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4683: SyntaxWarning: invalid escape sequence '\d'
  '''Parse a media.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4699: SyntaxWarning: invalid escape sequence '\d'
  '''Parse a media.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4720: SyntaxWarning: invalid escape sequence '\d'
  '''Return true is the media descriptor object is parsed
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4733: SyntaxWarning: invalid escape sequence '\d'
  '''Get media descriptor's elementary streams description
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4748: SyntaxWarning: invalid escape sequence '\d'
  '''\deprecated Use L{libvlc_media_discoverer_new}() and L{libvlc_media_discoverer_start}().
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4756: SyntaxWarning: invalid escape sequence '\d'
  '''Get media service discover object its localized name.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:4768: SyntaxWarning: invalid escape sequence '\d'
  '''Get event manager from media service discover object.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:5501: SyntaxWarning: invalid escape sequence '\l'
  '''Get the current statistics about the media.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:5790: SyntaxWarning: invalid escape sequence '\l'
  '''Query if media service discover object is running.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6001: SyntaxWarning: invalid escape sequence '\l'
  '''This indicates if this media list is read-only from a user point of view.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6143: SyntaxWarning: invalid escape sequence '\l'
  '''Is media list playing?
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6298: SyntaxWarning: invalid escape sequence '\l'
  '''is_playing.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6429: SyntaxWarning: invalid escape sequence '\@'
  '''Set the NSView handler where the media player should render its video output.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6701: SyntaxWarning: invalid escape sequence '\l'
  '''Is the player able to play.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6813: SyntaxWarning: invalid escape sequence '\l'
  '''Is this media player seekable?
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6823: SyntaxWarning: invalid escape sequence '\l'
  '''Can this media player be paused?
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6833: SyntaxWarning: invalid escape sequence '\l'
  '''Check if the current program is scrambled.
build/bdist.linux-x86_64/egg/qualcoder/vlc.py:6928: SyntaxWarning: invalid escape sequence '\l'
  '''Get current fullscreen status.
byte-compiling build/bdist.linux-x86_64/egg/qualcoder/xsd.py to xsd.cpython-312.pyc
build/bdist.linux-x86_64/egg/qualcoder/xsd.py:37: SyntaxWarning: invalid escape sequence '\{'
  xsd_codebook = '<?xml version="1.0" encoding="UTF-8"?>\n\
build/bdist.linux-x86_64/egg/qualcoder/xsd.py:97: SyntaxWarning: invalid escape sequence '\{'
  xsd_project = '<?xml version="1.0" encoding="UTF-8"?>\n\


build/bdist.linux-x86_64/egg/qualcoder/helpers.py:831: SyntaxWarning: invalid escape sequence '\*'
  self.highlighting_rules += [(QtCore.QRegularExpression("\*.*\*"), italic_format)]
build/bdist.linux-x86_64/egg/qualcoder/helpers.py:835: SyntaxWarning: invalid escape sequence '\*'
  self.highlighting_rules += [(QtCore.QRegularExpression("\*\*.*\*\*"), bold_format)]
byte-compiling build/bdist.linux-x86_64/egg/qualcoder/journals.py to journals.cpython-312.pyc
build/bdist.linux-x86_64/egg/qualcoder/journals.py:662: SyntaxWarning: invalid escape sequence '\ '
  reg_exp = QtCore.QRegularExpression("^[\ \w-]+$")
build/bdist.linux-x86_64/egg/qualcoder/journals.py:668: SyntaxWarning: invalid escape sequence '\ '
  '''# Check for unusual characters in filename that would affect exporting
build/bdist.linux-x86_64/egg/qualcoder/journals.py:771: SyntaxWarning: invalid escape sequence '\ '
  valid = re.match('^[\ \w-]+$', new_name) is not None


/usr/local/lib/python3.12/site-packages/Qualcoder-3.4-py3.12.egg/qualcoder/vlc.py:1923: SyntaxWarning: invalid escape sequence '\d'
  '''Backward compatibility stub. Do not use in new code.

There are plenty more SyntaxWarnings.

@ccbogel
Copy link
Owner

ccbogel commented Dec 15, 2023

I pulled the request. can I close this now?
I will remove xmlschema - it is not used. As I had some problems with it.

@ilippert
Copy link
Contributor Author

sorry, the problems reported in this issue are independent from #873

@ccbogel
Copy link
Owner

ccbogel commented Dec 15, 2023

Those syntax warnings can be ignored. They look like Regex expressions - the backslash is needed in regex expressions. In the files for the vlc module and refi.py.
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet
And I am removing xmlschema (done this just now).

@ccbogel
Copy link
Owner

ccbogel commented Jul 29, 2024

to close this issue?

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

No branches or pull requests

2 participants