mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-24 22:56:01 +03:00
[GH-ISSUE #195] mock classes missing from PyPI archive #108
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @einsibjarni on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/195
I'm the maintainer of the proxmoxer port in FreeBSD.
I was asked to add support for running tests on the port, but after much head scratching, I realized that the archive from PyPI (which ports in FreeBSD are encouraged to use instead of fetching from Github) is missing the tests/api_mock.py and tests/file_mock.py files.
Are they deliberately left out of the archive? If so, why these files but not the test_*.py files?
@morph027 commented on GitHub (Dec 16, 2024):
Duplicate of #126
@einsibjarni commented on GitHub (Dec 16, 2024):
I had actually forgotten about that issue, but since then, you've added the tests/ directory to the pypi archive, either deliberately or accidentally. If it was accidental, then so be it, but if it was deliberate, then it's missing the *_mock.py files and the tools/ directory
@jhollowe commented on GitHub (Feb 18, 2025):
We did not intentionally change the files that were added to the archives. However, I'm planning to rework the build workflow for proxmoxer so I'll try to include all the test files in the source dist tar that is uploaded to PyPI