
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Numpy dtype support breaks between pydantic 1.7 to 1.8 Β· Issue #2483 Β· pydantic/pydantic
Description:
Checks I added a descriptive title to this issue I have searched (google, github) for similar issues and couldn't find anything I have read and followed the docs and still think this is a bug B...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Education
- Video & Online Content
Content Management System {π}
What CMS is github.com built with?
Github.com is based on 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 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
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 {π}
pydantic, numpy, bug, version, python, import, sign, dtype, support, issue, type, breaks, description, github, navigation, issues, pull, requests, actions, security, closed, dazzacodes, added, docs, poetry, show, data, typingextensions, pydanticutils, printpydanticutilsversioninfo, true, class, float, pydanticfieldspy, related, projects, milestone, footer, skip, content, menu, product, solutions, resources, open, source, enterprise, pricing, search, jump,
Topics {βοΈ}
/opt/conda/envs/jupiter-gis/lib/python3 support arbitrary types similar issues comment metadata assignees data validation pydantic v1 numpy version conda-forge type projects dtype = field import pydantic added docs numpy dtype pydantic version class config type pydantic versions issue descriptive title settings management fundamental package array computing 0-136-generic-x86_64 interpret 'pydanticundefined' prettywood mentioned custom __eq__ projects milestone milestone relationships pydantic/fields default=np import 1 description ['dotenv' github pydantic 1 pydantic version = +version = python 3 python python $ python np default fields field sign skip
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Numpy dtype support breaks between pydantic 1.7 to 1.8
articleBody:### Checks
* [x] I added a descriptive title to this issue
* [x] I have searched (google, github) for similar issues and couldn't find anything
* [x] I have read and followed [the docs](https://pydantic-docs.helpmanual.io/) and still think this is a bug
# Bug
Numpy dtype support breaks between pydantic versions:
```
-version = "1.7.3"
+version = "1.8.1"
```
```
$ poetry show pydantic
name : pydantic
version : 1.8.1
description : Data validation and settings management using python 3.6 type hinting
dependencies
- python-dotenv >=0.10.4
- typing-extensions >=3.7.4.3
$ poetry show numpy
name : numpy
version : 1.20.1
description : NumPy is the fundamental package for array computing with Python.
```
Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"`:
```
$ python -c "import pydantic.utils; print(pydantic.utils.version_info())"
pydantic version: 1.8.1
pydantic compiled: True
install path: /opt/conda/envs/jupiter-gis/lib/python3.7/site-packages/pydantic
python version: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 16:07:37) [GCC 9.3.0]
platform: Linux-4.15.0-136-generic-x86_64-with-debian-buster-sid
optional deps. installed: ['dotenv', 'typing-extensions']
```
```py
import pydantic
import numpy as np
class Bin(BaseModel):
lower: float
upper: float
dtype: np.dtype = Field(default=np.dtype("uint8"))
class Config:
allow_mutation = False
# this is required for numpy.dtype
arbitrary_types_allowed = True
```
While loading pytest root `conftest.py` there is an error on import like:
```
pydantic/fields.py:249: in pydantic.fields.Field
???
pydantic/fields.py:172: in pydantic.fields.FieldInfo._validate
???
E TypeError: Cannot interpret 'PydanticUndefined' as a data type
```
author:
url:https://github.com/dazza-codes
type:Person
name:dazza-codes
datePublished:2021-03-05T17:03:42.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:0
url:https://github.com/2483/pydantic/issues/2483
context:https://schema.org
headline:Numpy dtype support breaks between pydantic 1.7 to 1.8
articleBody:### Checks
* [x] I added a descriptive title to this issue
* [x] I have searched (google, github) for similar issues and couldn't find anything
* [x] I have read and followed [the docs](https://pydantic-docs.helpmanual.io/) and still think this is a bug
# Bug
Numpy dtype support breaks between pydantic versions:
```
-version = "1.7.3"
+version = "1.8.1"
```
```
$ poetry show pydantic
name : pydantic
version : 1.8.1
description : Data validation and settings management using python 3.6 type hinting
dependencies
- python-dotenv >=0.10.4
- typing-extensions >=3.7.4.3
$ poetry show numpy
name : numpy
version : 1.20.1
description : NumPy is the fundamental package for array computing with Python.
```
Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"`:
```
$ python -c "import pydantic.utils; print(pydantic.utils.version_info())"
pydantic version: 1.8.1
pydantic compiled: True
install path: /opt/conda/envs/jupiter-gis/lib/python3.7/site-packages/pydantic
python version: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 16:07:37) [GCC 9.3.0]
platform: Linux-4.15.0-136-generic-x86_64-with-debian-buster-sid
optional deps. installed: ['dotenv', 'typing-extensions']
```
```py
import pydantic
import numpy as np
class Bin(BaseModel):
lower: float
upper: float
dtype: np.dtype = Field(default=np.dtype("uint8"))
class Config:
allow_mutation = False
# this is required for numpy.dtype
arbitrary_types_allowed = True
```
While loading pytest root `conftest.py` there is an error on import like:
```
pydantic/fields.py:249: in pydantic.fields.Field
???
pydantic/fields.py:172: in pydantic.fields.FieldInfo._validate
???
E TypeError: Cannot interpret 'PydanticUndefined' as a data type
```
author:
url:https://github.com/dazza-codes
type:Person
name:dazza-codes
datePublished:2021-03-05T17:03:42.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:0
url:https://github.com/2483/pydantic/issues/2483
Person:
url:https://github.com/dazza-codes
name:dazza-codes
url:https://github.com/dazza-codes
name:dazza-codes
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:0
interactionType:https://schema.org/CommentAction
userInteractionCount:0
External Links {π}(3)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- 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