forked from quantumlib/Cirq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve replace_version tool and development wheels (quantumlib#6626)
- Make `dev_tools/modules.py replace_version` update also the version expected in unit tests - Skip type check in the new test-only source files - Update `dev_tools/packaging/produce-package.sh` to use the `replace_version` utility when building development wheels
- Loading branch information
1 parent
d077532
commit 16de069
Showing
5 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# pylint: disable=wrong-or-nonexistent-copyright-notice | ||
import pack1._version # type: ignore | ||
|
||
|
||
def test_version(): | ||
assert pack1._version.__version__ == "1.2.3.dev" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# pylint: disable=wrong-or-nonexistent-copyright-notice | ||
import pack2._version # type: ignore | ||
|
||
|
||
def test_version(): | ||
assert pack2._version.__version__ == "1.2.3.dev" |
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