rename tests of packaging and improve them to avoid spurious system-dependent test failures #1342
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1342
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
This is a ticket for me to manage small clean-up patches which I would like to see applied but not before 1.8.2.
Attachment tighter-catch.darcs.patch (1738 bytes) added
please review: tighter-catch.darcs.patch
Attachment improved-package-tests.darcs.patch (8096 bytes) added
please review: improved-package-tests.darcs.patch
Attachment default-alias-cleanup.darcs.patch (30025 bytes) added
scripts/common.py: don't assume that the default alias is always 'tahoe' (it is, but the API of get_alias doesn't say so). refs #1342
+1 on tighter-catch.darcs.patch
Reviewing improved-package-tests.darcs.patch :
test-dont-install-newer-dep-when-you-already-have-sufficiently-new-one.py
is way too long a filename. Also the test is about which dist is ''built'' and tested (bysetup.py test
) when an existing one is installed, not about whether the new dist is installed. (It should be "dist", not "dep", since we're talking about a particular version/build.)How about
test-be-satisfied-with-new-enough-dist.py
?test-dont-use-too-old-dep.py
(which should betest-dont-use-too-old-dist.py
) has this:which I think is a stale comment from a different test.
Attachment docs-running-no-install.darcs.patch (30761 bytes) added
docs/running.html: reference quickstart.html instead of install.html, and don't refer to 'installing' Tahoe-LAFS (which is not what the quickstart instructions say to do). refs #1342
Given that #1355 is a potential regression, we probably shouldn't apply these quite yet.
Attachment relnotes.darcs.patch (30631 bytes) added
relnotes.txt: forseeable -> foreseeable. Don't claim to work on Cygwin (which has been untested for some time).
Attachment docfix.darcs.patch (3927 bytes) added
please review: docfix.darcs.patch
+1 on attachment:relnotes.darcs.patch,
attachment:docfix.darcs.patch,
attachment:tighter-catch.darcs.patch,
docs-running-no-install.darcs.patch and
default-alias-cleanup.darcs.patch
Please review improved-package-tests.darcs.patch - I didn't fully grasp that one ;)
In changeset:16a2f71eea022c92:
In changeset:2dd742b24808d54a:
M-x whitespace-cleanup
in changeset:f251bbece5f8f188Replying to ChosenOne:
I saw the
test-with-fake-dists.py
test, that this patch is based on, looking for a package "fakedependency" on PyPI. Maybe we should split this out into a separate ticket and think more carefully about how to do it.Review still needed for default-alias-cleanup.darcs.patch.
+1 on default-alias-cleanup.darcs.patch
Oh look: ChosenOne went back and edited his earlier comment to add +1's for default-alias-cleanup.darcs.patch and docs-running-no-install.darcs.patch . :-)
ChosenOne: next time please add a new comment instead of editing your old one so that people who are just checking new comments will notice. :-)
docs-running-no-install.darcs.patch is obsoleted by changeset:299e8ad5795d3c22 (which deletes source:docs/running.html and changes source:docs/running.rst to point to source:docs/quickstart.rst).
In changeset:49fd2e6e564a0e01:
If I understand correctly, the only patch that hasn't been reviewed and committed or else superceded is attachment:improved-package-tests.darcs.patch. Changing the name of this ticket!
post-1.8.2 clean-upto rename tests of packaging and improve them to avoid spurious system-dependent test failuresIn changeset:d86776560411accc:
In changeset:d86776560411accc:
The original improved-package-tests.darcs.patch renamed some files, and that change hasn't been applied. However, I think the new names (e.g.
misc/build_helpers/test-dont-install-newer-dep-when-you-already-have-sufficiently-new-one.py
) were excessively long.Also I don't really understand what improvement this patch is trying to make. AFAICS it hasn't been reviewed, and I was waiting for Zooko to answer comment:12.
Actually I landed a patch just before changeset:d86776560411accc (probably changeset:533e4bc813d299e7) that did the renames, but I forgot to include a "refs #1342", so it didn't get mentioned here. (I split the patch into two pieces, a file-move followed by file-modify, because I had to land it via git (since darcs went into an O(N!) death spiral trying to apply the dpatch) and I wanted to avoid problems in the git/darcs bridge).
I agree that the new names are excessively long, but they're in a fairly obscure corner of the tree so I decided I'd let it go. I skimmed over the changes and they seemed ok. But I did miss that you were asking zooko for something in comment:12 .. sorry about that!
In the buildbot run just now, it didn't look like it was trying to get "fakedependency" from pypi, but I might be missing something. Could you take a look at that run and see if you're still seeing the problem you observed earlier?
In changeset:488b6f8ccdd50eb3:
In changeset:488b6f8ccdd50eb3:
Replying to warner:
Will do.