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
behave: 1.2.5 -> 1.2.6 #36359
behave: 1.2.5 -> 1.2.6 #36359
Conversation
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.
Also please change to commit messages to have the same format as the pull request title (that I changed).
@@ -6,21 +6,13 @@ | |||
|
|||
buildPythonPackage rec { | |||
pname = "parse_type"; | |||
version = "0.3.4"; | |||
version = "0.4.2"; |
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.
Can you make this a separate commit?
@@ -3,22 +3,14 @@ | |||
}: | |||
buildPythonPackage rec { | |||
pname = "parse"; | |||
version = "1.6.6"; | |||
version = "1.8.2"; |
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.
Can you make this a separate commit?
I cleaned up those commits and made sure each package was separate. Let me know if there is anything else that needs to be changed. |
@GrahamcOfBorg build python27Packages.parse python36Packages.parse-type python27Packages.pyparser python36Packages.parse python36Packages.pyparser python27Packages.behave papis python27Packages.parse-type |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Looks like |
Since behave is designed to be a standalone executable, I've disabled py27. This should resolve the build issues that came up. Let me know if there is anything else. |
name = "${pname}-${version}"; | ||
|
||
disabled = pythonAtLeast "3.6"; | ||
disabled = isPy27; |
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.
So this is not supposed to be executed with the python version one wants to run the tests with? https://github.com/behave/behave
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.
You are correct and I'll add python27 back in. Thanks for pointing out a bad solution.
On a slightly tangential note, how much longer will python27 be the default python installation and available on NixOS?
I've fixed the unacceptable build error and have verified that python27 does build correctly now. |
@GrahamcOfBorg build python27Packages.parse python36Packages.parse-type python27Packages.pyparser python36Packages.parse python36Packages.pyparser python27Packages.behave papis python27Packages.parse-type |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Was this $ nix-shell -p papis
...
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/bibtexparser
copying build/lib/bibtexparser/bwriter.py -> build/bdist.linux-x86_64/wheel/bibtexparser
copying build/lib/bibtexparser/bparser.py -> build/bdist.linux-x86_64/wheel/bibtexparser
copying build/lib/bibtexparser/bibdatabase.py -> build/bdist.linux-x86_64/wheel/bibtexparser
copying build/lib/bibtexparser/__init__.py -> build/bdist.linux-x86_64/wheel/bibtexparser
copying build/lib/bibtexparser/latexenc.py -> build/bdist.linux-x86_64/wheel/bibtexparser
copying build/lib/bibtexparser/customization.py -> build/bdist.linux-x86_64/wheel/bibtexparser
copying build/lib/bibtexparser/bibtexexpression.py -> build/bdist.linux-x86_64/wheel/bibtexparser
running install_egg_info
running egg_info
writing bibtexparser.egg-info/PKG-INFO
writing dependency_links to bibtexparser.egg-info/dependency_links.txt
writing requirements to bibtexparser.egg-info/requires.txt
writing top-level names to bibtexparser.egg-info/top_level.txt
reading manifest file 'bibtexparser.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.md'
writing manifest file 'bibtexparser.egg-info/SOURCES.txt'
Copying bibtexparser.egg-info to build/bdist.linux-x86_64/wheel/bibtexparser-1.0.1-py3.6.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/bibtexparser-1.0.1.dist-info/WHEEL
creating '/build/bibtexparser-1.0.1/dist/bibtexparser-1.0.1-py3-none-any.whl' and adding '.' to it
adding 'bibtexparser/__init__.py'
adding 'bibtexparser/bibdatabase.py'
adding 'bibtexparser/bibtexexpression.py'
adding 'bibtexparser/bparser.py'
adding 'bibtexparser/bwriter.py'
adding 'bibtexparser/customization.py'
adding 'bibtexparser/latexenc.py'
adding 'bibtexparser-1.0.1.dist-info/DESCRIPTION.rst'
adding 'bibtexparser-1.0.1.dist-info/metadata.json'
adding 'bibtexparser-1.0.1.dist-info/top_level.txt'
adding 'bibtexparser-1.0.1.dist-info/WHEEL'
adding 'bibtexparser-1.0.1.dist-info/METADATA'
adding 'bibtexparser-1.0.1.dist-info/RECORD'
installing
/build/bibtexparser-1.0.1/dist /build/bibtexparser-1.0.1
Processing ./bibtexparser-1.0.1-py3-none-any.whl
Collecting pyparsing (from bibtexparser==1.0.1)
Could not find a version that satisfies the requirement pyparsing (from bibtexparser==1.0.1) (from versions: )
No matching distribution found for pyparsing (from bibtexparser==1.0.1)
builder for '/nix/store/axil5yxwcvapd4nirvnb8bbajp8865lq-python3.6-bibtexparser-1.0.1.drv' failed with exit code 1
cannot build derivation '/nix/store/h0q3lz09kdjyc9mw8l6aj76ypb88m8gc-papis-0.5.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/h0q3lz09kdjyc9mw8l6aj76ypb88m8gc-papis-0.5.3.drv' failed Looks like an easy fix given we already have pyparsing though. |
Failure on aarch64-linux (full log) Partial log (click to expand)
|
@Mic92 I don't think the bibtexparser issue was there before. Let me know if you'd like me to take a crack at fixing that in this branch. |
I would be glad, if you could take a look at it @alunduil |
@Mic92 I've fixed the bibtexparser build issues (verified with a |
Finally got a moment to resolve the conflicts. Let me know if any of my choices should be different. |
Thanks! |
Motivation for this change
Simple package bump of behave. This also includes bumps of parse-type and parse to preserve
dependencies of behave.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)