-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix ipv4, ipv6, ethernet, and udpv4 tests for Python 3. #2
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jeamland
commented
Apr 19, 2015
- Switch to using integer division where appropriate.
- Replace deprecated assert_ calls with assertTrue/assertFalse as needed.
- Use bytes for expected packet payload rather than a string.
- Add bytes prefix to strings where needed.
- Switch to using integer division where appropriate. - Replace deprecated assert_ calls with assertTrue/assertFalse as needed. - Use bytes for expected packet payload rather than a string.
gvnn3
added a commit
that referenced
this pull request
Apr 30, 2015
Fix ipv4, ipv6, ethernet, and udpv4 tests for Python 3.
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this pull request
Aug 19, 2017
This version (0.6) of the upstream package version does not appear to intend to, or explicitly support Python 3. It also currently fails to build with Python 3.x with a SyntaxError: SyntaxError: Missing parentheses in call to 'print' This change limits the USES=python:<version-spec> support declaration to 2.7 accordingly. Note: A closed upstream PR [1] mentions fixing tests for Python 3 in 2015, so the version-specifier may change (be relaxed) upon future port/version updates, or at MAINTAINER's (also the package author) discretion to explicitly mark Python 3 as an intended supported version, *independent* to any build/run-time issues that may exist. While I'm here, pet portlint: - Strip shared libraries - Add LICENSE_FILE - Fix section order (*_DEPENDS) [1] gvnn3/PCS#2 PR: 219325 Reported by: Johannes Jost Meixner Approved by: portmgr (blanket) MFH: 2017Q3 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@448303 35697150-7ecd-e111-bb59-0022644237b5
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this pull request
Aug 19, 2017
net/py-pcs: Limit to Python 2.7 (Does not support Python 3) This version (0.6) of the upstream package version does not appear to intend to, or explicitly support Python 3. It also currently fails to build with Python 3.x with a SyntaxError: SyntaxError: Missing parentheses in call to 'print' This change limits the USES=python:<version-spec> support declaration to 2.7 accordingly. Note: A closed upstream PR [1] mentions fixing tests for Python 3 in 2015, so the version-specifier may change (be relaxed) upon future port/version updates, or at MAINTAINER's (also the package author) discretion to explicitly mark Python 3 as an intended supported version, *independent* to any build/run-time issues that may exist. While I'm here, pet portlint: - Strip shared libraries - Add LICENSE_FILE - Fix section order (*_DEPENDS) [1] gvnn3/PCS#2 PR: 219325 Reported by: Johannes Jost Meixner Approved by: portmgr (blanket) Approved by: ports-secteam (blanket)
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this pull request
Aug 19, 2017
This version (0.6) of the upstream package version does not appear to intend to, or explicitly support Python 3. It also currently fails to build with Python 3.x with a SyntaxError: SyntaxError: Missing parentheses in call to 'print' This change limits the USES=python:<version-spec> support declaration to 2.7 accordingly. Note: A closed upstream PR [1] mentions fixing tests for Python 3 in 2015, so the version-specifier may change (be relaxed) upon future port/version updates, or at MAINTAINER's (also the package author) discretion to explicitly mark Python 3 as an intended supported version, *independent* to any build/run-time issues that may exist. While I'm here, pet portlint: - Strip shared libraries - Add LICENSE_FILE - Fix section order (*_DEPENDS) [1] gvnn3/PCS#2 PR: 219325 Reported by: Johannes Jost Meixner Approved by: portmgr (blanket) MFH: 2017Q3
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this pull request
Apr 1, 2021
net/py-pcs: Limit to Python 2.7 (Does not support Python 3) This version (0.6) of the upstream package version does not appear to intend to, or explicitly support Python 3. It also currently fails to build with Python 3.x with a SyntaxError: SyntaxError: Missing parentheses in call to 'print' This change limits the USES=python:<version-spec> support declaration to 2.7 accordingly. Note: A closed upstream PR [1] mentions fixing tests for Python 3 in 2015, so the version-specifier may change (be relaxed) upon future port/version updates, or at MAINTAINER's (also the package author) discretion to explicitly mark Python 3 as an intended supported version, *independent* to any build/run-time issues that may exist. While I'm here, pet portlint: - Strip shared libraries - Add LICENSE_FILE - Fix section order (*_DEPENDS) [1] gvnn3/PCS#2 PR: 219325 Reported by: Johannes Jost Meixner Approved by: portmgr (blanket) Approved by: ports-secteam (blanket)
svmhdvn
pushed a commit
to svmhdvn/freebsd-ports
that referenced
this pull request
Jan 10, 2024
This version (0.6) of the upstream package version does not appear to intend to, or explicitly support Python 3. It also currently fails to build with Python 3.x with a SyntaxError: SyntaxError: Missing parentheses in call to 'print' This change limits the USES=python:<version-spec> support declaration to 2.7 accordingly. Note: A closed upstream PR [1] mentions fixing tests for Python 3 in 2015, so the version-specifier may change (be relaxed) upon future port/version updates, or at MAINTAINER's (also the package author) discretion to explicitly mark Python 3 as an intended supported version, *independent* to any build/run-time issues that may exist. While I'm here, pet portlint: - Strip shared libraries - Add LICENSE_FILE - Fix section order (*_DEPENDS) [1] gvnn3/PCS#2 PR: 219325 Reported by: Johannes Jost Meixner Approved by: portmgr (blanket) MFH: 2017Q3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.