
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
ImportPathMismatchError when on UNC path Β· Issue #7678 Β· pytest-dev/pytest
Description:
Windows: When running pytest on a directory mounted as UNC path, this fail with ImportPathMismatchError: c:\vagrant>pytest tests\\functional\\test_path_encodings.py pytest tests\\functional\\test_path_encodings.py Adding c:\python38\lib\...
Website Age:
17 years and 9 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Video & Online Content
- Graphic Design
Content Management System {π}
What CMS is github.com built with?
Github.com utilizes WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 5,013,426 paying customers.
The estimated monthly recurring revenue (MRR) is $21,056,387.
The estimated annual recurring revenues (ARR) are $252,676,649.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
file, line, pytest, problem, echarrod, nicoddemus, commented, config, htgoebel, pip, windows, install, error, modulefile, issue, pyignoreimportmismatch, return, cusersusernameappdatalocalprogramspythonpythonlibsitepackagespytestconfiginitpy, kwargs, cusersusernameappdatalocalprogramspythonpythonlibsitepackagespluggycallerspy, type, set, sign, path, member, call, fix, cusersusernameappdatalocalprogramspythonpythonlibsitepackagespluggymanagerpy, methods, lambda, multicall, projects, importpathmismatcherror, unc, running, testsfunctionaltestpathencodingspy, package, python, pyinstaller, vagrant, working, issame, raise, branch, navigation, code, pull, requests, actions, security,
Topics {βοΈ}
users\username\appdata\local\programs\python\python38-32\lib\site-packages\_pytest\config\__init__ users\username\appdata\local\programs\python\python38-32\lib\site-packages\pytest_cov\plugin users\username\appdata\local\programs\python\python38-32\lib\site-packages\pluggy\manager users\username\appdata\local\programs\python\python38-32\lib\site-packages\pluggy\callers users\username\appdata\local\programs\python\python38-32\lib\site-packages\_pytest\helpconfig users\username\appdata\local\programs\python\python38-32\lib\site-packages\pluggy\hooks users\username\appdata\local\programs\python\python38-32\lib\runpy users\username\appdata\local\programs\python\python38-32\scripts\pytest python38\lib\site-packages\pywin32_system32 /pyinstaller/pyinstaller/blob/develop/tests/requirements-tools users\username\repos pytest/src/_pytest/pathlib py pytest tests\\functional\\test_path_encodings pytest tests/functional/test_path_encodings vagrant\tests\functional\conftest vagrant\\tests\\functional\\conftest /vagrant/tests/functional/conftest install packages pip python 1 pytest-drop-dup-tests 0 tests/requirements-tools intall python 2 pluggy 0 huge package vagrant python 3 _pytest config file type assigned labels platform __init__ personal information importpathmismatcherror /nicoddemus/pytest/tree/ comment metadata assignees config related config handling pip install include pytest-cov save avoid installing versions working previously type projects projects milestone git clone https /pyinstaller/pyinstaller running tests provision step editable install raise importpathmismatcherror pytest-cov loading conftest ' running pytest 0 pytest-forked 1
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- You mean "it is a problem with pytest", correct?
- Com/nicoddemus/pytest/tree/same-path-unc-7678?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:ImportPathMismatchError when on UNC path
articleBody:Windows: When running pytest on a directory mounted as UNC path, this fail with ImportPathMismatchError:
```
c:\vagrant>pytest tests\\functional\\test_path_encodings.py
pytest tests\\functional\\test_path_encodings.py
Adding c:\python38\lib\site-packages\pywin32_system32 to sys.path
ImportError while loading conftest 'c:\vagrant\tests\functional\conftest.py'.
_pytest.pathlib.ImportPathMismatchError: ('conftest', 'c:\\vagrant\\tests\\functional\\conftest.py', WindowsPath('c:/vagrant/tests/functional/conftest.py'))
```
# How to reproduce
* Fire up a virtual maschine usine Vagrat and sharing the current directory (which contains the package)
* Intall Python, pytest and requiremnets
* Try running pytest
You can actually use the setup provided by PyInstaller:
```
git clone https://github.com/pyinstaller/pyinstaller.git
cd bootloader
# in Vagrantfile, line 434 (provision step "install packages") remove "vcbuildtools"
# β¦ to save avoid installing this huge package
vagrant up --no-provision windows10
vagrant ssh windows10 # password is "Passw0rd!"
pip install -U pip
python -m pip install --upgrade pip setuptools wheel
pip install -U -r tests/requirements-tools.txt
pip install -e .
pytest tests/functional/test_path_encodings.py
```
C:\Users\IEUser>pip list
Package Version Location
------------------------- --------- ------------------
altgraph 0.17
apipkg 1.5
atomicwrites 1.4.0
attrs 20.1.0
colorama 0.4.3
execnet 1.7.1
flake8 3.8.3
future 0.18.2
iniconfig 1.0.1
lxml 4.5.2
mccabe 0.6.1
more-itertools 8.4.0
packaging 20.4
pefile 2019.4.18
pip 20.2.2
pluggy 0.13.1
psutil 5.7.2
py 1.9.0
pycodestyle 2.6.0
pyflakes 2.2.0
pyinstaller 4.1.dev0 \\vboxsvr\vagrant\
pyinstaller-hooks-contrib 2020.7
pyparsing 2.4.7
pytest 6.0.1
pytest-drop-dup-tests 0.3.0
pytest-forked 1.3.0
pytest-timeout 1.4.2
pytest-xdist 2.0.0
pywin32 228
pywin32-ctypes 0.2.0
setuptools 47.1.0
six 1.15.0
tinyaes 1.0.1
toml 0.10.1
System: Windows10, Python 3.8.5
author:
url:https://github.com/htgoebel
type:Person
name:htgoebel
datePublished:2020-08-23T14:31:13.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:29
url:https://github.com/7678/pytest/issues/7678
context:https://schema.org
headline:ImportPathMismatchError when on UNC path
articleBody:Windows: When running pytest on a directory mounted as UNC path, this fail with ImportPathMismatchError:
```
c:\vagrant>pytest tests\\functional\\test_path_encodings.py
pytest tests\\functional\\test_path_encodings.py
Adding c:\python38\lib\site-packages\pywin32_system32 to sys.path
ImportError while loading conftest 'c:\vagrant\tests\functional\conftest.py'.
_pytest.pathlib.ImportPathMismatchError: ('conftest', 'c:\\vagrant\\tests\\functional\\conftest.py', WindowsPath('c:/vagrant/tests/functional/conftest.py'))
```
# How to reproduce
* Fire up a virtual maschine usine Vagrat and sharing the current directory (which contains the package)
* Intall Python, pytest and requiremnets
* Try running pytest
You can actually use the setup provided by PyInstaller:
```
git clone https://github.com/pyinstaller/pyinstaller.git
cd bootloader
# in Vagrantfile, line 434 (provision step "install packages") remove "vcbuildtools"
# β¦ to save avoid installing this huge package
vagrant up --no-provision windows10
vagrant ssh windows10 # password is "Passw0rd!"
pip install -U pip
python -m pip install --upgrade pip setuptools wheel
pip install -U -r tests/requirements-tools.txt
pip install -e .
pytest tests/functional/test_path_encodings.py
```
C:\Users\IEUser>pip list
Package Version Location
------------------------- --------- ------------------
altgraph 0.17
apipkg 1.5
atomicwrites 1.4.0
attrs 20.1.0
colorama 0.4.3
execnet 1.7.1
flake8 3.8.3
future 0.18.2
iniconfig 1.0.1
lxml 4.5.2
mccabe 0.6.1
more-itertools 8.4.0
packaging 20.4
pefile 2019.4.18
pip 20.2.2
pluggy 0.13.1
psutil 5.7.2
py 1.9.0
pycodestyle 2.6.0
pyflakes 2.2.0
pyinstaller 4.1.dev0 \\vboxsvr\vagrant\
pyinstaller-hooks-contrib 2020.7
pyparsing 2.4.7
pytest 6.0.1
pytest-drop-dup-tests 0.3.0
pytest-forked 1.3.0
pytest-timeout 1.4.2
pytest-xdist 2.0.0
pywin32 228
pywin32-ctypes 0.2.0
setuptools 47.1.0
six 1.15.0
tinyaes 1.0.1
toml 0.10.1
System: Windows10, Python 3.8.5
author:
url:https://github.com/htgoebel
type:Person
name:htgoebel
datePublished:2020-08-23T14:31:13.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:29
url:https://github.com/7678/pytest/issues/7678
Person:
url:https://github.com/htgoebel
name:htgoebel
url:https://github.com/htgoebel
name:htgoebel
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:29
interactionType:https://schema.org/CommentAction
userInteractionCount:29
External Links {π}(2)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- GSAP
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net