-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
certbot: 0.31.0 -> ... -> 0.35.0 #61203
Conversation
That could be squashed into one commit |
Yes, haha :3. It definitely should be squashed. |
ec0094c
to
959cc26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-review builds fine, but I'm getting an import module failure
# ./certbot
Fatal Python error: initsite: Failed to import the site module
Traceback (most recent call last):
File "/nix/store/yf4i32dx953p2dv2agfdyxdwg6ba0l61-python3.7-setuptools-41.0.1/lib/python3.7/site-packages/site.py", line 73, in <module>
__boot()
File "/nix/store/yf4i32dx953p2dv2agfdyxdwg6ba0l61-python3.7-setuptools-41.0.1/lib/python3.7/site-packages/site.py", line 26, in __boot
import imp # Avoid import loop in Python 3
File "/nix/store/s5f3vpmig33nk4zyk228q55wdydd3pc2-python3-3.7.3/lib/python3.7/imp.py", line 27, in <module>
import tokenize
File "/nix/store/s5f3vpmig33nk4zyk228q55wdydd3pc2-python3-3.7.3/lib/python3.7/tokenize.py", line 33, in <module>
import re
File "/nix/store/s5f3vpmig33nk4zyk228q55wdydd3pc2-python3-3.7.3/lib/python3.7/re.py", line 143, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
(also python3Packages.acme, same source) Notes for releases I've used along the way, FWIW: https://github.com/certbot/certbot/blob/v0.32.0/CHANGELOG.md https://github.com/certbot/certbot/blob/v0.33.1/CHANGELOG.md https://github.com/certbot/certbot/blob/v0.34.0/CHANGELOG.md https://github.com/certbot/certbot/blob/v0.34.1/CHANGELOG.md https://github.com/certbot/certbot/blob/v0.34.2/CHANGELOG.md * add pytest dep * add pyyaml dep * disable tests, failure trying to invoke 'docker'
f7b4fd5
to
f43b5d4
Compare
Can't reproduce import problem, and seems to work fine in deployments (unless we've decoupled it from nginx module's enableACME). Not sure how to resolve-- any thoughts? If I get a chance I'll see if our acme test does indeed include executing this, which would at least give some positive indicator things are okay :). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's odd, fresh NixOS installation and
|
@mmahut I've checked again and it appears that when I run the executable from |
@aanderse oh, you are right. This is good to go. |
@@ -40,7 +40,8 @@ python3Packages.buildPythonApplication rec { | |||
done | |||
''; | |||
|
|||
doCheck = !stdenv.isDarwin; # On Hydra Darwin tests fail with "Too many open files". | |||
checkInputs = with python3Packages; [ pytest pyyaml ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dtzWill if doCheck
is false
why are you adding checkInputs
?
ping @dtzWill |
Obsolete after #71291 |
Motivation for this change
Whoops, I guess I haven't been sending these for a while :3.
Tests disabled because they require docker (integration testing),
dunno if there's a way to run non-docker tests or such, suggestions
welcome :).
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)