Skip to content

Windows 11 Not Being Logged? #93

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

Closed
Chr0nicT opened this issue Sep 11, 2022 · 1 comment
Closed

Windows 11 Not Being Logged? #93

Chr0nicT opened this issue Sep 11, 2022 · 1 comment

Comments

@Chr0nicT
Copy link

Hello!

My apologies if this is the wrong place to file an issue. I use BigQuery to grab statistics, and one thing I noticed is Windows 11 never appears in the data. This can be seen with this query as en example:

SELECT REGEXP_EXTRACT(details.python, r"[0-9]+\.[0-9]+") AS python_version,
file.version AS file_version,
details.distro.name as distro_name,
details.distro.version as distro_version,
details.system.name as system_name,
details.system.release as system_release,
timestamp as time_stamp,
country_code as countrycode,
COUNT(*) AS num_downloads,
FROM `bigquery-public-data.pypi.file_downloads`
WHERE file.project="pip" and details.system.name='Windows' and details.system.release='11'
AND DATE(timestamp)
BETWEEN DATE_TRUNC(DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY), DAY)
AND CURRENT_DATE()
GROUP BY `python_version`, `countrycode`, `file_version`, `distro_name`, `distro_version`, `system_name`, `system_release`, `time_stamp`
ORDER BY `num_downloads` DESC

This happens with any project. Is it something that I'm doing wrong?

@di
Copy link
Member

di commented Sep 12, 2022

I think this is due to python/cpython#89545

TL;DR: Python will be unable to report Windows 11 until Python 3.12 it seems.

@di di closed this as completed Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants