Giter Site home page Giter Site logo

Comments (5)

mtkennerly avatar mtkennerly commented on May 22, 2024 1

For now, I would prefer to maintain Python 3.5 compatibility. I do understand that it's officially end of life, but there will still be groups using it because of inertia. I'd like to maintain the compatibility until there's a true need to drop it (e.g., if it were a prerequisite for supporting a newer Python version).

from dunamai.

mtkennerly avatar mtkennerly commented on May 22, 2024 1

Actually, #29 just got rid of the dependency in a different way, although there's still a minor issue with it that needs to be investigated before I can make a new release with it.

from dunamai.

wwuck avatar wwuck commented on May 22, 2024 1

Just a quick note that the latest versions of pytest and mypy only support py36+. flake8 v4 released this week has also dropped support for python < 3.6.

I ran a quick query on the pypi public dataset https://packaging.python.org/guides/analyzing-pypi-package-downloads/ for dunamai showing downloads over the last 3 months, keeping in mind that the data is not 100% accurate as stated on that packaging webpage.

#standardSQL
SELECT
  REGEXP_EXTRACT(details.python, r"[0-9]+\.[0-9]+") AS python_version,
  COUNT(*) AS num_downloads,
FROM `bigquery-public-data.pypi.file_downloads`
WHERE
  file.project = 'dunamai'
  -- Only query the last 3 months of history
  AND DATE(timestamp)
    BETWEEN DATE_TRUNC(DATE_SUB(CURRENT_DATE(), INTERVAL 3 MONTH), MONTH)
    AND CURRENT_DATE()
GROUP BY `python_version`
ORDER BY `num_downloads` DESC
[
  {
    "python_version": "3.7",
    "num_downloads": "160579"
  },
  {
    "python_version": "3.8",
    "num_downloads": "105883"
  },
  {
    "python_version": null,
    "num_downloads": "49834"
  },
  {
    "python_version": "3.9",
    "num_downloads": "30326"
  },
  {
    "python_version": "3.6",
    "num_downloads": "4329"
  },
  {
    "python_version": "3.10",
    "num_downloads": "1099"
  },
  {
    "python_version": "3.5",
    "num_downloads": "214"
  },
  {
    "python_version": "2.7",
    "num_downloads": "4"
  }
]

and also for the last 30 days

#standardSQL
SELECT
  REGEXP_EXTRACT(details.python, r"[0-9]+\.[0-9]+") AS python_version,
  COUNT(*) AS num_downloads,
FROM `bigquery-public-data.pypi.file_downloads`
WHERE
  file.project = 'dunamai'
  -- Only query the last 3 months of history
  AND DATE(timestamp)
    BETWEEN DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
    AND CURRENT_DATE()
GROUP BY `python_version`
ORDER BY `num_downloads` DESC
[
  {
    "python_version": "3.7",
    "num_downloads": "37582"
  },
  {
    "python_version": "3.8",
    "num_downloads": "33851"
  },
  {
    "python_version": null,
    "num_downloads": "16848"
  },
  {
    "python_version": "3.9",
    "num_downloads": "10832"
  },
  {
    "python_version": "3.10",
    "num_downloads": "1081"
  },
  {
    "python_version": "3.6",
    "num_downloads": "1063"
  },
  {
    "python_version": "3.5",
    "num_downloads": "101"
  }
]

I'm not surprised to see the py36 usage declining too as it will reach EOL in December 2021. It would appear that dunamai is still used on py35, even if only a very small amount.

from dunamai.

wwuck avatar wwuck commented on May 22, 2024

No worries. I guess I’ll live with the setuptools dependency for now.

from dunamai.

wwuck avatar wwuck commented on May 22, 2024

Ahhh I see. I didn’t think to check older package versions for 3.5 compatibility.

from dunamai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.