tahoe --version or --version-and-path can show the wrong versions or paths #1287
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#1287
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?
Split from #1258.
At source:src/allmydata/init.py@4796#L227, the versions and paths obtained from
pkg_resources.require
take precedence over those obtained by importing modules. But in a case such as #1258 where the imported code is different from whatpkg_resources
attempted to put on thesys.path
, the result ofpkg_resources.require
is the wrong thing to use.This can cause the output of
tahoe --version
ortahoe --version-and-path
to be incorrect, and it can also cause tests based on that output (such astest_path
in source:src/allmydata/test/test_runner.py) to pass when they should fail.Although this change doesn't have its own test, it does cause
test_path
to start failing in the situation of #1258. A deterministic test that would provoke that situation is tricky, although zooko is working on one.The patch itself looks good. Now investigating what test we can use to judge this patch...
Attachment fix-1287.darcs.patch (11684 bytes) added
In [4936/ticket1306]:
In [4937/ticket1306]:
Auto-close on a branch again.
In [4959/ticket1306]:
In [4960/ticket1306]:
[20110116021421-93fa1-8d6a72b8f66c1b818b13bda1639d322e793f164a]/ticket1306, [20110116010606-93fa1-27445f74ad733c9cb8cd4b24a99788fa0eca6c49]/ticket1306, [20110101200502-93fa1-cc889abf8cbc3ce244a6b7fb599c1acaf17f47fb]/ticket1306 look good to me.
[20110101110141-93fa1-3557bc2136f970fae05c1d20e336c32fec8e3d6d]/ticket1306 looks good to me modulo my reservations expressed in comment:81149.
David-Sarah will merge into trunk.
In changeset:29336a09163cd3d5:
so, is that all the code that needs landing for this one? I can't quite tell from the comments on changeset:29336a09163cd3d5. If the only thing left is NEWS, let's close this.
In changeset:f84f2aa98777c10d: