Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Test runs for Python 3.7 and remove 3.4 - #5295

#5295
Merged
crwilcox merged 3 commits into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
crwilcox:drop-34-add-37crwilcox/google-cloud-python:drop-34-add-37Copy head branch name to clipboard
May 4, 2018
Merged

Add Test runs for Python 3.7 and remove 3.4#5295
crwilcox merged 3 commits into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
crwilcox:drop-34-add-37crwilcox/google-cloud-python:drop-34-add-37Copy head branch name to clipboard

Conversation

@crwilcox

@crwilcox crwilcox commented May 3, 2018

Copy link
Copy Markdown
Contributor

There are very few people using 3.4 and 3.7 is coming up. A few of the packages cannot use 3.7 yet

PubSub: #5292
Monitoring: #5293
BigQuery: #5294

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 3, 2018

@tswast tswast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@tseaver

tseaver commented May 3, 2018

Copy link
Copy Markdown
Contributor

Are you sure about the 3.4 bit? It is still the default python3 for LTS Linux versions, AFAIK.

@crwilcox

crwilcox commented May 3, 2018

Copy link
Copy Markdown
Contributor Author

@tseaver: @jonparrott looked up the stats and said ~4%. We can leave it if you have strong feelings about it. It seemed a convenient time to not elongate the test runs is all.

@theacodes

theacodes commented May 3, 2018 via email

Copy link
Copy Markdown
Contributor

@theacodes

Copy link
Copy Markdown
Contributor

Okay, looking over the last 6 months of download stats from BigQuery:


  SELECT
    details.python, COUNT(*) as total_downloads,
  FROM
    TABLE_DATE_RANGE(
      [the-psf:pypi.downloads],
      DATE_ADD(CURRENT_TIMESTAMP(), -6, "month"),
      CURRENT_TIMESTAMP()
    )
  WHERE
    file.project LIKE 'google-cloud%'
  GROUP BY details.python
  ORDER BY details.python DESC

Our packages have been installed a total of 54,568,855 times with 785,977 of those downloads originating from a Python 3.4 version. That means that Python 3.4 accounts for just 1.44% of our install base. By comparison, 3.4 accounts for 3.58% of the overall installs for all packages over the last 6 months.

Summoning @tswast to make sure I didn't do something stupid here.

@tswast

tswast commented May 3, 2018

Copy link
Copy Markdown
Contributor

Query looks right, though I'd filter out the "bandersnatch" installs with details.installer.name = 'pip' if I were you. In my experiments those are a significant percentage of downloads and don't actually count as installs since they mirror all of PyPI.

P.S. I could give you some help updating to standard SQL syntax if you'd like.

@theacodes

Copy link
Copy Markdown
Contributor

Thanks @tswast. Limiting to just pip installs made the Py 3.4 percentage even lower at 1.43%. ;)

@crwilcox
crwilcox merged commit 10cd5e5 into googleapis:master May 4, 2018
@tswast

tswast commented May 29, 2018

Copy link
Copy Markdown
Contributor

As pointed out by @tseaver in #5401, this also requires an update to all setup.py files.

atulep pushed a commit that referenced this pull request Apr 3, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
atulep pushed a commit that referenced this pull request Apr 18, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Jun 4, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Jun 4, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Jul 6, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Sep 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Sep 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Sep 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Sep 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Sep 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Sep 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Oct 21, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Oct 21, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Oct 21, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Oct 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Oct 22, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Oct 31, 2023
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 22, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Nov 24, 2025
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Mar 2, 2026
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
parthea pushed a commit that referenced this pull request Mar 9, 2026
* remove 3.4 from unit test runs

* add 3.7 to most packages. PubSub, Monitoring, BigQuery not enabled

* Fix #5292 by draining queue in a way compatible with SimpleQueue and Queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.