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
test_install.py
not isolated properly
#119
Labels
enhancement
New feature or request
Comments
FlorianWilhelm
added a commit
that referenced
this issue
Nov 12, 2017
…6f0878 a6f0878 update changelog a1b59e6 Merge pull request #172 from anthrotype/fix-tox-ini f8e3afc tox.ini: don't pin py version; fixes #171 75897ba Merge pull request #168 from RonnyPfannschmidt/fix-167 a9a1bd5 acceptance test and changelog for issue #167 f9dd60a actually pass along preformatted 072c43c switch an assert for a trace 8d995d7 fix spelling of preformatted 26b4942 add forgotten attribute that i missed thanks to local state 8d9c073 try to fix #167 by introducing a preformated flag 00f3fbe Merge pull request #166 from RonnyPfannschmidt/enhanced-self-use f46e7d7 changelog 6699e5e allow unprepared self-use 34125b8 Merge pull request #165 from RonnyPfannschmidt/fix-164 a9aa2f9 fix python2.6 issue with the new test 3e5cc24 rectify flake8 issues a7ab513 add a regression test for issue #164 1cfcec1 iterate multiple entrypoints when looking for versions 5bd8bbb update default.nix, reindent a3bc80d Merge pull request #163 from RonnyPfannschmidt/fix-150 29fc011 strip local components off tags, fixes #150 10d75f6 Merge pull request #161 from jayvdb/patch-1 956334b .travis.yml: Use Python version '3.6' ee8ce47 Merge pull request #160 from sschuberth/per-scm-prefix 016d71f Use per-SCM node prefix letters instead of the general "n" 83b751c Merge pull request #159 from matejcik/master 15a4992 fix sys.executable failure on Windows 7a0b710 Merge pull request #158 from matejcik/master d1b9dec use sys.executable instead of 'python' for running regression tests 1b2ea95 Merge pull request #157 from sschuberth/node-g-fallback 6e40668 Fix the node for Git to be prefixed with 'g' also in the fallback a3d8d09 Merge pull request #156 from sschuberth/prefer-git-describe 9b4aaca Prefer to only use 'git describe' for all required info af581b0 Update README.rst (#155) 9bd1298 Merge pull request #153 from mehulkar/docs a5a4892 Add note about git describe b18c53e Merge pull request #151 from pombredanne/patch-1 7ee6a66 Ensure that LICENSE file is included in wheels 905fe1c Delete .hgtags e914842 Merge pull request #149 from pypa/appveyor a0290b0 fix tests for windows paths 05064f7 fix appveyor tox env name 81fce1f Merge pull request #148 from RonnyPfannschmidt/fix-138/pip-egg-info-fallback f51c6e3 fix #138 - add support for the pip-egg-info folder 8c06ee9 Merge pull request #147 from pypa/master_testscript 9c9fc79 Merge pull request #146 from RonnyPfannschmidt/setup/fix_version fd87aad fix operator typo and a merge mistake bac6f0b add extra comments to the travis test script 8c13dfc merge my 2 branches to fix the travis setup and selfinstall testing 8f4da52 fix the version check in the script dc91584 fix typo 2a24680 fix up ci setup for self-install 7493894 create a new test run script with selfinstall 46991be create a new test run script with selfinstall 809a929 repare v1.15.1 5f33027 fix up changelog 26953a6 ensure we find our own version in a sdist b0d17f1 Merge pull request #133 from reece/master 5338d77 closes #132: adds instructions for passing dict to use_scm_version 951ad9f Merge pull request #130 from pypa/fix-128 acf760b fix issue #128: return None from missmatched parse calls a91ac1d Merge pull request #127 from pypa/issue-126 4c8d3d1 Update changelog. Ref #126. fe4182c Strip any local part of the tag from the version when guessing the next version. Fixes #126. 7f31693 Update test to reflect canonical syntax. Ref #126. d17972e Extract functions for each bump technique. 2743575 Calculate the suffix in one place. 421fa88 Add test capturing failure. Ref #126. b84d2a4 Merge pull request #125 from majuscule/suggest-write-to-configuration 9c727ee handle uninstalled pkg in __version__ assignment 0e8739f suggest pkg_resources for __version__ export 4ab48a3 suggest write_to config for pkg distribution ffef94d Merge pull request #120 from mihaic/fix-sphinx-example 97423d0 Fix Sphinx usage example 9cf2009 Merge pull request #118 from RonnyPfannschmidt/git-shallow 79ddd09 address #93 - experimental tools for interacting with git shallow clones dccfea9 Merge pull request #119 from RonnyPfannschmidt/fix-81 a446485 fix flake8 transgressions 95de8a6 fix #81 - fail more nice if git/hg is not availiable 3a1f72f fix issue #84 - document sphinx using pkg_resources 5c9d94e update changelog c6c2bd6 Merge pull request #117 from pypa/dumb-sdist d75f2b2 Merge pull request #116 from RonnyPfannschmidt/trove 11cbc63 update trove classifiers with supported python versions 6b6c6cf stop being smart for sdist 7bf9e8f Merge pull request #115 from cclauss/patch-2 04c42c3 Simplify clean_scheme() 39aa912 Update changelog 63a122c Merge pull request #111 from petrem/master b037191 use tag's repr() in string format b8eb297 use --template instead of -T, the latter was added in mercurial 3.0 dfcebb2 fix mercurial for several tags on changeset and distance only consisting of tag commits 570f7f5 Merge pull request #110 from RonnyPfannschmidt/fix-109 de40adc add CHANGELOG entries 5515c95 fix tests after ensuring distance is 0 7307105 fix oversight - when git node is None, distance should be 0 812b80a ignore untracked files in worktree, fixes #109 f9747f4 add test for #109 7961046 Merge pull request #108 from RonnyPfannschmidt/git-distance-initial 388bd58 fix #107 - dont use node if it is none 5ef809f prepare travis publishing of bdist-egg git-subtree-dir: pyscaffold/contrib/setuptools_scm git-subtree-split: a6f0878a67e6c2eb91ba4db1bbeb5f6c759bca00
FlorianWilhelm
added a commit
that referenced
this issue
Nov 12, 2017
…5897ba 75897ba Merge pull request #168 from RonnyPfannschmidt/fix-167 a9a1bd5 acceptance test and changelog for issue #167 f9dd60a actually pass along preformatted 072c43c switch an assert for a trace 8d995d7 fix spelling of preformatted 26b4942 add forgotten attribute that i missed thanks to local state 8d9c073 try to fix #167 by introducing a preformated flag 00f3fbe Merge pull request #166 from RonnyPfannschmidt/enhanced-self-use f46e7d7 changelog 6699e5e allow unprepared self-use 34125b8 Merge pull request #165 from RonnyPfannschmidt/fix-164 a9aa2f9 fix python2.6 issue with the new test 3e5cc24 rectify flake8 issues a7ab513 add a regression test for issue #164 1cfcec1 iterate multiple entrypoints when looking for versions 5bd8bbb update default.nix, reindent a3bc80d Merge pull request #163 from RonnyPfannschmidt/fix-150 29fc011 strip local components off tags, fixes #150 10d75f6 Merge pull request #161 from jayvdb/patch-1 956334b .travis.yml: Use Python version '3.6' ee8ce47 Merge pull request #160 from sschuberth/per-scm-prefix 016d71f Use per-SCM node prefix letters instead of the general "n" 83b751c Merge pull request #159 from matejcik/master 15a4992 fix sys.executable failure on Windows 7a0b710 Merge pull request #158 from matejcik/master d1b9dec use sys.executable instead of 'python' for running regression tests 1b2ea95 Merge pull request #157 from sschuberth/node-g-fallback 6e40668 Fix the node for Git to be prefixed with 'g' also in the fallback a3d8d09 Merge pull request #156 from sschuberth/prefer-git-describe 9b4aaca Prefer to only use 'git describe' for all required info af581b0 Update README.rst (#155) 9bd1298 Merge pull request #153 from mehulkar/docs a5a4892 Add note about git describe b18c53e Merge pull request #151 from pombredanne/patch-1 7ee6a66 Ensure that LICENSE file is included in wheels 905fe1c Delete .hgtags e914842 Merge pull request #149 from pypa/appveyor a0290b0 fix tests for windows paths 05064f7 fix appveyor tox env name 81fce1f Merge pull request #148 from RonnyPfannschmidt/fix-138/pip-egg-info-fallback f51c6e3 fix #138 - add support for the pip-egg-info folder 8c06ee9 Merge pull request #147 from pypa/master_testscript 9c9fc79 Merge pull request #146 from RonnyPfannschmidt/setup/fix_version fd87aad fix operator typo and a merge mistake bac6f0b add extra comments to the travis test script 8c13dfc merge my 2 branches to fix the travis setup and selfinstall testing 8f4da52 fix the version check in the script dc91584 fix typo 2a24680 fix up ci setup for self-install 7493894 create a new test run script with selfinstall 46991be create a new test run script with selfinstall 809a929 repare v1.15.1 5f33027 fix up changelog 26953a6 ensure we find our own version in a sdist b0d17f1 Merge pull request #133 from reece/master 5338d77 closes #132: adds instructions for passing dict to use_scm_version 951ad9f Merge pull request #130 from pypa/fix-128 acf760b fix issue #128: return None from missmatched parse calls a91ac1d Merge pull request #127 from pypa/issue-126 4c8d3d1 Update changelog. Ref #126. fe4182c Strip any local part of the tag from the version when guessing the next version. Fixes #126. 7f31693 Update test to reflect canonical syntax. Ref #126. d17972e Extract functions for each bump technique. 2743575 Calculate the suffix in one place. 421fa88 Add test capturing failure. Ref #126. b84d2a4 Merge pull request #125 from majuscule/suggest-write-to-configuration 9c727ee handle uninstalled pkg in __version__ assignment 0e8739f suggest pkg_resources for __version__ export 4ab48a3 suggest write_to config for pkg distribution ffef94d Merge pull request #120 from mihaic/fix-sphinx-example 97423d0 Fix Sphinx usage example 9cf2009 Merge pull request #118 from RonnyPfannschmidt/git-shallow 79ddd09 address #93 - experimental tools for interacting with git shallow clones dccfea9 Merge pull request #119 from RonnyPfannschmidt/fix-81 a446485 fix flake8 transgressions 95de8a6 fix #81 - fail more nice if git/hg is not availiable 3a1f72f fix issue #84 - document sphinx using pkg_resources 5c9d94e update changelog c6c2bd6 Merge pull request #117 from pypa/dumb-sdist d75f2b2 Merge pull request #116 from RonnyPfannschmidt/trove 11cbc63 update trove classifiers with supported python versions 6b6c6cf stop being smart for sdist 7bf9e8f Merge pull request #115 from cclauss/patch-2 04c42c3 Simplify clean_scheme() 39aa912 Update changelog 63a122c Merge pull request #111 from petrem/master b037191 use tag's repr() in string format b8eb297 use --template instead of -T, the latter was added in mercurial 3.0 dfcebb2 fix mercurial for several tags on changeset and distance only consisting of tag commits 570f7f5 Merge pull request #110 from RonnyPfannschmidt/fix-109 de40adc add CHANGELOG entries 5515c95 fix tests after ensuring distance is 0 7307105 fix oversight - when git node is None, distance should be 0 812b80a ignore untracked files in worktree, fixes #109 f9747f4 add test for #109 7961046 Merge pull request #108 from RonnyPfannschmidt/git-distance-initial 388bd58 fix #107 - dont use node if it is none 5ef809f prepare travis publishing of bdist-egg git-subtree-dir: pyscaffold/contrib/setuptools_scm git-subtree-split: 75897ba511010efaabf628217d34b589d9299c8f
By the way, another thing preventing the usage of |
abravalheri
added a commit
to abravalheri/pyscaffold
that referenced
this issue
Jun 1, 2018
This makes tests easier to run in parallel (see pyscaffold#119)
Merged
FlorianWilhelm
pushed a commit
that referenced
this issue
Jun 3, 2018
This makes tests easier to run in parallel (see #119)
#168 fix this issue, everything now is isolated under a venv 😉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The test functions in this file install packages directly in the environment they run, therefore "sharing" state among themselves.
This makes this test not thread-safe and prevents the usage of pytest-xdist to speed up the local/manually triggered verification and CI.
(Maybe pytest-virtualenv can be used to create a separated env for each test?)
The text was updated successfully, but these errors were encountered: