Hello Chris,
I do have similar "problems" and still try to get used to the "new way".
Other might correct me. I am not sure yet.
To my current understanding the way to go is to install Python
applications via "pipx". That make the application available in your
system but also isolate it in it
As you can see in the linked issue it seems it was an incompatibility
between the version of Python and PyFakeFS.
In the end it was a Fedora packaging bug because that pyfakefs version
was not compatible with Python 3.13.
Thanks in advance for helping out.
--
https://mail.python.org/mailman/list
Am 25.10.2024 09:06 schrieb Christian Buhtz via Python-list:
On a "regular" system all tests are running.
To clarify: "regular" does not exclude PyFakeFS. It means on my own
local development machine and on the TravsCI machines (Ubuntu 22 with
Python 3.9 up to 3.13) a
Hello Barry,
thank you for your reply and clarifying the Fedora aspects.
Am 25.10.2024 00:44 schrieb Barry:
What do you mean by the real file sustem?
You cannot write to the /usr file system. Is that what your tests do?
If so that needs changing.
Asking the right questions brings up to impor
Thank you very much for all your responses.
Am 24.10.2024 17:17 schrieb Left Right:
To investigate this, I'd edit the file with the assertion and make it
print the actual value found in os.lstat and func. My guess is that
they are both somehow "lstat", but with different memory addresses.
My
iner also has no clue how to solve it or why
it happens.
Can you please have a look (especially at the line "assert func is
os.lstat").
Maybe you have an idea what is the intention behind this error raised by
an "assert" statement inside "shutil.rmtree()".
T
What is the "command line" on your Windows 11?
On Windows 10 it usually is "cmd.exe" (Windows Command Prompt).
On Windows 11 it usually is the "Terminal" which is different from
cmd.exe.
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
I would like to point to my Python Packaging Tutorial explaining several
common use cases using minimal demo projects.
<https://codeberg.org/buhtz/tech-demo-python-packaging>
I am not an expert and assume that some of my solutions might not be the
best. So I would appreciate
Hello Dieter,
thanks for your reply.
Am 06.11.2023 19:11 schrieb Dieter Maurer:
One option is a test suite (--> Python's "unittest" package)
with a sufficiently high coverage (near 100 %).
Yes, that is the primary goal. But it is far away in the related
project.
I got a hint that "pylint"
Hello,
I would like to know how to detect (e.g. via a linter) typos in function
names imported from another module.
Let's assume this given Python code snippet.
import foo
foo.baR()
The package "foo" do contain a function named "bar()" (all lower case
letters). The function "baR()" does not
Thanks for the answer.
Am 05.05.2023 03:24 schrieb aapost:
pygettext is deprecated since xgettext supports python now, so using
xgettext is recommended.
If this is the official case then it should be mentioned in the python
docs. The 3.11 docs still tell about pygettext and xgettext and don't
Hello,
am I right to assume that "pygettext" is part of the official Python3
"package"? So it is OK to aks here?
I do use pygettext to handle po and pot files. In the manpage I'm not
able to find help about this.
I would like to modify the header that pygettext does create in each
po-file.
le-internal-agent', 'bitcli']
# See https://github.com/python/cpython/issues/39569
os.execvp(cmd[0], cmd)
Is there a better way to achiev this?
[1] -- <https://codeberg.org/buhtz/bit_demo>
--
https://mail.python.org/mailman/listinfo/python-list
Am 03.01.2023 17:51 schrieb r...@zedat.fu-berlin.de:
logging.getLogger().addHandler( logging.StreamHandler( sys.stdout ))
But I don't want to make all log levels go to stdout. Just DEBUG and
INFO. But this would be a workaround.
The main question here is why does Python deciecded to make all
Dear Chris,
thanks for asking back and my apologize for being to broad in my way of
asking (in a foreign language).
Am 19.12.2022 07:40 schrieb Chris Angelico:
Hmm, then I'm not sure what you're *losing* here. The problem, as I
understand it, is that the scripts are getting installed into
/usr
Dear Barry,
thanks for reply and asking back.
Am 18.12.2022 22:33 schrieb Barry:
Why are asking on this list and discuss.python.org?
To be exact I'm asking in the "Packaging" section of
"discuss.python.org". To my knowledge that section is the official
channel of "pypa/pip" project pointed t
Am 18.12.2022 22:37 schrieb Mats Wichmann:
the which command uses your PATH, so I'm not sure you're buying
anything new there
I'm using which before entering pkexec. ;)
I'll show a demonstrator project later.
--
https://mail.python.org/mailman/listinfo/python-list
Dear Chris,
thank you for your reply.
Am 18.12.2022 20:27 schrieb Chris Angelico:
Does it have to be in path? Can't you say
/usr/local/bin/entrypointname? Not sure what constitutes an elegant
solution here.
I asked that myself. My current solution do determine the full path of
the entrypoint
Dear Gerard,
thank you for your reply.
Am 18.12.2022 19:45 schrieb Weatherby,Gerard:
"sudo python3 -m pip
install -e ."
You’ve already started down a problematic road. I recommend installing
root level Python packages through your system package manager. (apt
for debian, or whatever RedHat is u
X-Post: https://stackoverflow.com/q/73814924/4865723
Hello,
I'm aware that there is a `logging` package that is more _modern_ then
[`syslog`](https://docs.python.org/3/library/syslog.html). But I have
old code here to deal with that does use `syslog`. So that question is
specific to `syslog`
Dear Mats,
thanks for the reply.
Am 19.09.2022 16:10 schrieb Mats Wichmann:
Kind of unrelated to the actual question, but if you start doing
anything serious under Travis you'll run out of free minutes rather
quickly. My project had to just give up on it after they changed
their licensing mode
in
When I install such a package via pip the result is a shell script in
/usr/bin/...
What happens when I install such a package with an entry point via "pip
install ." when an virtual environment is activated?
Kind
Christian
[1] --
<https://codeberg.org/buhtz/hyperorg/src/b
Hello,
I am not sure if I looked into the correct sources. I was looking in
"PEP 609 – Python Packaging Authority (PyPA) Governance" [1] and the
"PyPA specifications" [2].
My question in short: Is there an official document (e.g. a PEP) about a
recommended layout for project folders.
Looki
23 matches
Mail list logo